Commit Graph

2166 Commits

Author SHA1 Message Date
Bill Currie 5c9ffad6a1 oops, fix the line number doubling the /right/ way 2004-02-10 04:42:17 +00:00
Bill Currie a371af75ab don't double the source line number when on the function's first line 2004-02-10 01:54:33 +00:00
Ragnvald Maartmann-Moe IV 88c5d21ece Whitespace, slight code reorder in gl_rmain.c 2004-02-09 04:13:44 +00:00
Ragnvald Maartmann-Moe IV 372b763704 Inconsequential changes. 2004-02-09 04:11:13 +00:00
Ragnvald Maartmann-Moe IV 654cc35482 Mysteriously uncommitted. Fixed. 2004-02-09 04:02:08 +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
Ragnvald Maartmann-Moe IV 6880b42182 More improvements from ashridah. 2004-02-08 02:39:44 +00:00
Bill Currie 8ea7690530 serious cleanup of refdef calculations. 2004-02-08 00:37:11 +00:00
Bill Currie f6cac11478 another tidy-up patch from ashridah 2004-02-07 07:50:11 +00:00
Bill Currie 893d3ec290 hash.[ch]:
add Hash_NumElements to get the number of elements in the hash table
qfplist.[ch]:
	add PL_A_NumObjects and PL_D_NumKeys, to get the number of objects or
	number of keys in the array or dictionary, respectively
2004-02-07 07:47:23 +00:00
Bill Currie 85cd891d8c loop cleanup patch from ashridah 2004-02-07 07:00:25 +00:00
Bill Currie 6342a9bdd7 comment fixups 2004-02-07 06:21:57 +00:00
Bill Currie 6b2d5b6d64 implement pause properly. works for me, hopefully for others 2004-02-07 06:18:56 +00:00
Bill Currie 9038ae2be9 correct a couple function calls 2004-02-07 06:09:06 +00:00
Ragnvald Maartmann-Moe IV e4410cd914 Grr. 2004-02-07 05:56:49 +00:00
Bill Currie eee61d261c ashridah's cd info patch with some whitespace and string handling tweaks 2004-02-07 05:46:43 +00:00
Ragnvald Maartmann-Moe IV 7ae804b8cf Whitespace, codingstyle, clean out dead comments, redundant returns, and
generally sanitize the cd plugins.
2004-02-07 05:35:15 +00:00
Jeff Teunissen 5e3ea6c00c strip a couple of unnecessary braces 2004-02-07 04:48:36 +00:00
Jeff Teunissen 8811dd520e Misc. cleanups. 2004-02-07 04:47:38 +00:00
Bill Currie 432ae86cca don't seg if the field def can't be found 2004-02-07 01:57:31 +00:00
Bill Currie d1bf75d218 add Cvar_Toggle 2004-02-07 00:08:46 +00:00
Bill Currie ecf4eabe9d check return value... prevents segfault in menu code if menu.dat has issues 2004-02-07 00:04:00 +00:00
Jeff Teunissen cad6fedad8 Whitespace and coding style. 2004-02-06 15:16:50 +00:00
Jeff Teunissen 950a5b34c4 Updates from ashridah. 2004-02-06 14:59:29 +00:00
Bill Currie 080b973479 make globals without a def a lot easier to read (don't need to print the
address twice:)
2004-02-06 08:03:22 +00:00
Bill Currie 50f83f7701 cleanup patch from ashridah
basically, moves all the tracklist work into a single function, moves a few
functions around, cleans up a few issues with things like reset, and whatnot
2004-02-06 05:44:54 +00:00
Bill Currie a45981bc6a don't look up the gl functions until after the context has been setup, just
incase it affects which functions glGetProcAddress actually returns.
2004-02-06 00:58:35 +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 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 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
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
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 7ff1534e9d bah, fix one, create another... 2004-01-27 05:23:36 +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 c376982588 this should fix thuglife's segfault 2004-01-25 19:59:49 +00:00
Bill Currie 43f68ba10c d'oh 2004-01-22 06:27:56 +00:00
Bill Currie 4843d0adde implement the invers hyper trig functions locally because they're not
available everywhere.
2004-01-22 06:26:55 +00:00
Bill Currie bb31308953 ruamoko math functions from Grievre 2004-01-22 05:43:18 +00:00
Bill Currie 3a85dbda18 d'oh 2004-01-22 04:42:06 +00:00
Bill Currie d9a582a741 fix the print mangling of scrolled back screens (thought of this about 10s
after committing:P)
2004-01-22 04:28:24 +00:00
Bill Currie 62ef6f9549 scrollback 90% working. prints will mangle things, but ^L will clean it up 2004-01-22 04:07:39 +00:00
Chris Ison 47f16678ab win32 server console now works 2004-01-22 03:43:09 +00:00
Bill Currie db32c8394b export BoxOnPlaneSide properly in windows so it doesn't cause a segfault 2004-01-22 02:26:08 +00:00