Commit graph

5141 commits

Author SHA1 Message Date
Bill Currie
0f94dd95d2 make @class foo work when foo is already defined 2004-02-03 07:29:20 +00:00
Bill Currie
888ff5f571 make the math functions Grievre provided available 2004-02-03 06:24:43 +00:00
Bill Currie
a4bcf2dab6 hopefully better library arrangement 2004-02-03 06:00:16 +00:00
Bill Currie
1542268d40 use casts rather than ftoi and itof 2004-02-03 05:59:51 +00:00
Bill Currie
389ff5be1c finally found the correct way to handle generated source 2004-02-03 05:30:11 +00:00
Ragnvald Maartmann-Moe IV
3dff32a314 Rename some functions. Now have IN_DownPress instead of IN_DownDown.
Slightly more obvious at a glance what is going on, without rooting around in
source.
2004-02-03 05:16:22 +00:00
Bill Currie
4f9a24d94d and another one 2004-02-03 03:38:51 +00:00
Bill Currie
9df4a7948e make dist fixes 2004-02-03 03:22:48 +00:00
Bill Currie
9784ba5954 Grievre's gamedir callback patch to fix mangled sounds on gamedir change
plus a couple minor tweaks I notcied needed doing.
2004-02-03 03:01:06 +00:00
Bill Currie
c16fc91328 update with qfprogs 2004-02-03 02:40:00 +00:00
Ragnvald Maartmann-Moe IV
cb94d50500 Improvements in time accounting. Accurate to +-0.5ms, instead of -1,0 like
others.

Based on Grievre's and zquake's code.
2004-02-02 21:18:11 +00:00
Bill Currie
f8bc0ba9e2 fix a misplaced reference to zpak 2004-02-02 06:15:22 +00:00
Bill Currie
371a0b8e75 support old-style portal files again 2004-02-02 05:44:46 +00:00
Bill Currie
4472f943c5 minor cleanups and use escapes when printing strings 2004-01-31 08:34:01 +00:00
Bill Currie
2ac0f40f7a fix an uninitialized variable 2004-01-31 07:29:11 +00:00
Bill Currie
24294c8778 make printing of global contents in PR_PrintStatement optional so
disassembly output is cleaner
2004-01-31 04:26:01 +00:00
Bill Currie
f05be31cae fix for perc = itof (perc_val) / (100 / itof (size));
ie, better detection of function calls in binary expressions
2004-01-31 04:11:45 +00:00
Bill Currie
718c708cec make global printing a little more robust 2004-01-30 08:46:14 +00:00
Bill Currie
e1afa3221c minor cleanup 2004-01-30 07:55:32 +00:00
Bill Currie
fb49b06c2c remove debug info 2004-01-30 07:29:04 +00:00
Bill Currie
394e83e419 perform relocations so disassembly dumps of qfo files make sense 2004-01-30 07:17:28 +00:00
Bill Currie
16e4964a31 fix a couple struct forward ref issues 2004-01-30 07:16:48 +00:00
Bill Currie
f87a5d14e2 convert the debug info, too. seems to work 2004-01-30 05:35:30 +00:00
Bill Currie
a2e8080a03 init entity info 2004-01-29 08:22:59 +00:00
Bill Currie
2e87490f3b pr_stringsize hasn't reflected static strings size for a while... 2004-01-29 08:11:04 +00:00
Bill Currie
206a15ef14 while not yet perfect, qfprogs now works with qfo files 2004-01-29 07:43:05 +00:00
Timothy C. McGrath
74404b229d Another patch from Grievre, this prevents a bad ogg tracklist.cfg from crashing
the game, since that event is already handled correctly.

Timothy C. McGrath
(Hikaru)
2004-01-28 10:25:49 +00:00
Timothy C. McGrath
53f8424912 Patch from Grievre to fix cd_file so it does not cause the game to segmentation
fault when snd_output is set to null. Also some debugging stuff added just in
case.

This was tested only with making sure that it works when snd_output is null and
non null. Whoever authored this might want to go test this and make sure it
still works :)

Timothy C. McGrath
(Hikaru)
2004-01-28 10:07:31 +00:00
Bill Currie
7beee0fa47 bah, dust hiding under the rug... 2004-01-28 05:36:35 +00:00
Bill Currie
b2ccb50b81 move qfpreqcc in with qfcc for relationship reasons 2004-01-28 05:34:23 +00:00
Bill Currie
518143bec3 move graph-timeframes and qfgl_gen.pl into misc. general tidy up 2004-01-28 05:31:03 +00:00
Bill Currie
77122c7802 move zpak in with pak since they're intimately related 2004-01-28 05:29:47 +00:00
Bill Currie
d3018dd79b move qfprogs in with qfcc (it's going to need to share code) 2004-01-28 05:23:43 +00:00
Ragnvald Maartmann-Moe IV
0e6681a069 Add QFGL_WANT, and ability to handle non-required extensions. 2004-01-28 02:49:57 +00:00
Bill Currie
9abe3b29e0 start of my properties work. doesn't seem to have broken anything :) 2004-01-27 08:31:34 +00:00
Bill Currie
2ea155dc53 make "havoc" map to the correct attenuation type 2004-01-27 08:12:59 +00:00
Bill Currie
59101d3272 don't allow non-set commands to be executed outside _Host_Frame because
they can call Host_Error which calls longjmp and it's _Host_Frame that
calls setjmp... fixes the segfault when +connect foo fails
2004-01-27 06:02:41 +00:00
Bill Currie
c1a43705da fix auto-addition of -dedictated 2004-01-27 05:38:34 +00:00
Bill Currie
7ff1534e9d bah, fix one, create another... 2004-01-27 05:23:36 +00:00
Bill Currie
080f6779d4 correct a couple of falsehoods 2004-01-27 05:08:21 +00:00
Bill Currie
ba901863d2 fix a missing ; 2004-01-27 04:41:20 +00:00
Ragnvald Maartmann-Moe IV
09bdd3487b Compile fixes, plus a couple of minor optimizations. 2004-01-26 20:07:04 +00:00
Bill Currie
5ee1b1d9ca bring in OpenQuartz's extentions (except -ikmap: got tired:)
go back to id's lighting model being default. LordHavoc's is selectable
via --attentuation havoc. Also selectable on a per-light basis.
2004-01-26 07:39:29 +00:00
Ragnvald Maartmann-Moe IV
31aca31d17 Warn users if their system doesn't support GL_ATI_pn_triangles. 2004-01-26 03:58:19 +00:00
Bill Currie
e763507c71 segfault fix from ashridah 2004-01-26 01:21:06 +00:00
Ragnvald Maartmann-Moe IV
767b0c61db Fix help for gl_tessellate cvar. 2004-01-26 00:40:31 +00:00
Ragnvald Maartmann-Moe IV
e1146a541c TruForm support. Controlled by gl_tessellate 2004-01-26 00:13:47 +00:00
Bill Currie
897b49140a initialized locals are a little trickier... 2004-01-25 22:08:08 +00:00
Bill Currie
f8ed454547 warn on if (a = b) 2004-01-25 21:45:07 +00:00
Bill Currie
7423ee389d better timing for constant folding 2004-01-25 21:36:44 +00:00