Bill Currie
9f7018685e
a little easier to see what's expected
2007-09-23 04:07:39 +00:00
Bill Currie
0234b7ed93
nice little test of box clipping. doesn't get installed :)
2007-09-23 03:48:05 +00:00
Bill Currie
f7faad118b
didn't quite get that checkin right
2007-09-21 14:04:30 +00:00
Bill Currie
36f5edb9d3
still disabled, but it's mostly working now. serves me right for blindly following the q2 code :P (it be buggy)
2007-09-21 13:58:07 +00:00
Bill Currie
19f0d23f8b
it's disabled, but my box clipping is getting close
2007-09-21 12:44:19 +00:00
Bill Currie
37ad41ecb7
MOD_TraceLine doesn't need to return anything...
2007-09-17 11:24:42 +00:00
Bill Currie
2881b4b284
make MOD_TraceLine recursive again so I can work on box clipping without losing so much hair
2007-09-16 07:55:44 +00:00
Bill Currie
866eaa22f6
don't segfault when there are holes in the texture list
2007-05-16 09:23:54 +00:00
Bill Currie
ecaa002774
fix items in walls in hipnotic
2007-05-14 11:16:41 +00:00
Bill Currie
aca80a7baf
fix the gold-key/radiation-symbol bug in rock2
2007-05-09 10:55:02 +00:00
Bill Currie
b963665ad7
don't stop a trace on transition from solid to non-solid. this fixes the grapple problem in prozaccoop, but really the bug is in the progs but this is a faster fix for now until I decide whether I want to stop a trace on transition or not, or whether to make it optional.
2007-04-28 02:16:47 +00:00
Bill Currie
447a3e8254
fix some nasty catches I was experiencing. I don't know why my logic didn't work, but it definitely didn't.
2007-04-07 06:51:36 +00:00
Bill Currie
99c0954b47
the big dso visibility patch :). Sure, we have to have unique names for static builds, but with controlled visibitly we should get faster program loads (although this isn't C++, so it's not as bad) and complex plugins are cleaner.
2007-03-10 12:00:59 +00:00
Bill Currie
24ab92e68d
things seem to be working nicely in point mode
2006-12-25 01:21:52 +00:00
Bill Currie
9a7e4bc5e6
fix some comments
2006-12-24 08:01:39 +00:00
Bill Currie
8dce95b4ba
do some renaming of variables to save my sanity
2006-12-24 06:34:12 +00:00
Bill Currie
46a74c831a
don't go through the back side of walls
2006-12-24 05:05:27 +00:00
Bill Currie
bcdf710316
bah, missed those 0s
2006-12-24 04:34:08 +00:00
Bill Currie
7624f2eb87
still disabled, but put the box tracing code in the shared code
2006-12-24 03:46:12 +00:00
Bill Currie
45d467d748
box tracing (instead of point). Currently disabled because it doesn't work right just yet. However, when it is working, it will let us do things like crouching, crawling, arbitrary sized objects (including players), etc.
2006-12-24 03:13:29 +00:00
Bill Currie
b3a2759e5b
oops, missed that somehow
2006-12-24 03:03:41 +00:00
Bill Currie
a483f8670d
use the vector/plane macros to clean up the code a bit
2006-12-24 03:01:15 +00:00
Bill Currie
7d2784e1bc
whitespace
2006-07-23 01:34:14 +00:00
Bill Currie
3fb03fc2be
hah, should have been using __attribute__((used)) all that time (rather
...
than __attribute__((unused))). fixes the missing console in -x11
2005-08-04 15:27:09 +00:00
Bill Currie
10232acdfe
make droptofloor continue the trace if it starts solid. fixes the ceiling
...
hugging sng in e1m7.
2005-04-24 13:31:47 +00:00
Bill Currie
0bfac8dd88
win32 compile fixes
...
This is an imperfect revision of history.
2004-11-06 02:21:00 +00:00
Bill Currie
2cb81b37f9
move the *_RecursiveHullCheck functions from pmovetst.c and world.c to MOD_TraceLine in libs/models/trace.c, at the same time rewriting the code to work itteratively rather than recursively.
...
This is an imperfect revision of history.
2004-11-02 08:40:00 +00:00
Bill Currie
986dae9ec9
as discussed with fuh, hide the endian dependency of the checksum calcs
...
(evil way of using md4, but oh well).
2004-05-16 23:17:51 +00:00
Bill Currie
beb22957db
do some sanity checking on the header lumps in case of truncated file
2004-02-29 04:24:42 +00:00
Bill Currie
f9b95cee92
some micro-optimisations
2004-02-23 07:17:41 +00:00
Ragnvald Maartmann-Moe IV
c4402e07bd
Working towards merging q2 model, sprite, and map support. Check back in a few
...
years, might be finished. ;)
2004-02-08 02:49:38 +00:00
Bill Currie
77b2942982
several libs can now get built as dlls in windows: console, gamecode,
...
gamecode_builtins, gib, image, modules, object, ruamoko and util.
2004-01-19 07:47:41 +00:00
Bill Currie
7ba6756810
temporary hack to avoid crashing when s_explod.mdl isn't precached but
...
explosions are requested
2004-01-17 07:14:42 +00:00
Bill Currie
629e22aa61
fix a buffer overflow and an underflow
2004-01-17 05:11:34 +00:00
Ragnvald Maartmann-Moe IV
4597b44334
/, not // in paths. textures//foo.png is ugly. ;)
2004-01-08 03:33:45 +00:00
Ragnvald Maartmann-Moe IV
043c1ce466
Check for %s_luma as well as %s_glow. Also a bit of whitespace.
2004-01-04 01:20:20 +00:00
Bill Currie
40b8974c33
better external skin handling from Grievre
2003-12-28 05:25:06 +00:00
Ragnvald Maartmann-Moe IV
1be98dcf08
gl_external_textures -> gl_textures_external, plus whitespace & codingstyle.
2003-12-23 20:05:52 +00:00
Bill Currie
4b6b5135ac
more texture tweeks from Griever: gl_external_textures
2003-12-23 08:38:33 +00:00
Bill Currie
9f76665963
luma tweak (redundant code removal) from Grievre
2003-12-23 07:22:04 +00:00
Ragnvald Maartmann-Moe IV
12d3a137a1
Luma texture support for brush models (From Fuh, by way of Grievre).
2003-12-21 08:02:03 +00:00
Bill Currie
2b5a3753ca
nuke QF/texture.h moving it's contents into QF/image.h (yay, finally, a
...
real home for tex_t:)
2003-09-04 18:59:39 +00:00
Bill Currie
39ed540979
LoadImage is now used for all external textures giving almost transparent
...
.png and .tga support.
2003-09-04 18:46:59 +00:00
Bill Currie
ff43d61f81
use the correct bytes per pixel count
2003-09-04 16:26:14 +00:00
Bill Currie
4d1313d0c1
don't seg when using 1 component lightmaps
2003-08-30 22:39:27 +00:00
Bill Currie
7ead5a91f8
don't let gcc automaticly inline functions but make gcc inline bigger
...
functions when told to. also make gcc warn if it can't inline a function.
Explicitly inline several functions (including moving VectorNormalize to
mathlib.h so it /can/ be) resulting in a 5.5% speedup for spam2 (88 to 92
fps)
2003-08-11 06:05:07 +00:00
Bill Currie
6a94607d9d
rename VectorMA to VectorMultAdd, add VectorMultSub and use it in a few
...
places. Not certain how much speed difference it makes :/
2003-08-08 15:25:53 +00:00
Bill Currie
0cf0f710b7
remove some unneeded code
2003-07-09 15:34:58 +00:00
Bill Currie
4f66e1e9da
fix a bunch of the previous FIXMEs. needs a bit more work for win32
...
compiling
2003-07-08 22:39:45 +00:00
Bill Currie
5f3573143a
the beginnings of a jihad against buffer overflows
2003-05-08 23:24:02 +00:00