Commit graph

344 commits

Author SHA1 Message Date
Bill Currie
85c9e0ab1e more externs cleaned up 2001-10-29 17:46:03 +00:00
Bill Currie
8071e8398a put a couple externs back for win32. they need a bit more thought on how to
arrange things.
2001-10-29 16:45:03 +00:00
Bill Currie
1d442c496f setup the colormap /before/ calling Vid_InitGamma so VID_SetPalette gets
called with a valid colormap to update.
2001-10-29 06:46:46 +00:00
Bill Currie
78a3e398d5 * taniwha gets medieval on extern 2001-10-28 04:23:37 +00:00
Ragnvald Maartmann-Moe IV
5afce455df Undo taniwha's debugging insanity.
If you want to test for injecting more particles than can fit in the list, particle_new is the right place for the test. It's even there already, just commented out.
2001-10-28 00:47:21 +00:00
Bill Currie
10d83e090a externs in .c files are evil, evil evil (ok, so I haven't cleaned these ones
out yet:P). This fixes the recent GL crash.
2001-10-27 22:27:32 +00:00
Bill Currie
3601b5ba35 fix the minor breakage were /no/ particles were being generated 2001-10-27 21:39:58 +00:00
Bill Currie
74d3499f74 fix a seg caused by my changes from last night 2001-10-27 20:52:33 +00:00
Bill Currie
014785a9f2 lots of error checking for our phantom particle bug, but I was unable to
trigger it after 2h of play using the previous changes
2001-10-27 08:32:52 +00:00
Bill Currie
d9fd8dc29f make r_particles truely a flag and call R_MaxParticlesCheck when r_particles
changes
2001-10-27 08:31:45 +00:00
Bill Currie
1fab17ab33 d'oh. must read the clode closer :P 2001-10-26 05:31:39 +00:00
Adam Olsen
3bba5398ba - audit malloc usage. now everything checks the return value :) 2001-10-24 22:50:06 +00:00
Bill Currie
552a486d87 fix the libQFrenderer_sw.lai installation error. libtool requires -rpath
for /any/ installed lib, static or not.
2001-10-24 17:54:56 +00:00
Adam Olsen
dd19f7b500 - convert svc_deltapacketentities
- add a Host_NetError that dumps a packet log and disconnects, and use
  it instead of Host_EndGame in most cases
- fix a couple multiply-defined vars
2001-10-24 15:23:02 +00:00
Bill Currie
8e9505c100 /finally/ get asm in the sw renderer when not using --disable-shared. libtool
was using the wrong objects.
2001-10-23 18:48:49 +00:00
Bill Currie
bf309fb554 split the sprite and alias model rendering code out from gl_rmain.c into
their own files.
2001-10-23 17:20:56 +00:00
Bill Currie
6a5e3edcf7 and extern fixes for the windows side 2001-10-23 17:11:48 +00:00
Bill Currie
b5341f0d13 we now compile and link with -fno-common. this cleans up the multiple,
uninitialized declarations of variables.
2001-10-23 16:55:23 +00:00
Bill Currie
fa95bd35aa fix a really stupid brainfart that caused shift states to not work 2001-10-23 01:53:51 +00:00
Bill Currie
b6ad2223d2 attempt to handle the byte swapping of screenshots seen on voodoo2s in
windows
2001-10-22 19:46:34 +00:00
Bill Currie
1d697dc90d give in_win keyboard shift states for ascii conversions 2001-10-22 16:07:26 +00:00
Bill Currie
3252ee3eb6 fix the mangled key codes 2001-10-22 05:07:15 +00:00
Bill Currie
52252616ff pull the input code out of vid_wgl into in_win 2001-10-22 04:13:56 +00:00
Bill Currie
82aa0fde58 fix -wgl's keyboard input 2001-10-22 02:33:19 +00:00
Bill Currie
9a5ec9c187 ok, qw-client-wgl.exe works now (helps if scr_width and scr_height are set) 2001-10-22 02:15:30 +00:00
Chris Ison
2467671c72 removal of tdfx_brighten in preparation for gl_brighten 2001-10-21 21:29:54 +00:00
Bill Currie
e1fc77dd2b fix a crasher in win32. I don't know if linux crashed, but it should have. 2001-10-21 03:48:02 +00:00
Bill Currie
b3914eeaaa elimination of bare printf (with some exceptions) from libs: Sys_Printf is
used instead
2001-10-18 16:42:14 +00:00
Bill Currie
e765321452 wgl funcs are likely GLAPIENTRY type too :) 2001-10-16 22:37:11 +00:00
Bill Currie
2d068c0745 massive windows.h and WIN32 cleanup. 2001-10-16 21:40:45 +00:00
Jeff Teunissen
ce740fb4ec Joystick target fixed. 2001-10-16 05:06:31 +00:00
Bill Currie
8417d23a94 fix a nasty seg on gl startup causes by looped function pointers 2001-10-16 04:11:25 +00:00
Bill Currie
376a9105fa oops 2001-10-15 23:16:42 +00:00
Bill Currie
3402dfd51a libasm improvements 2001-10-15 23:09:03 +00:00
Jeff Teunissen
2e4d8d1473 Makefile fixes -- video driver libs are gone. 2001-10-15 22:32:28 +00:00
Jeff Teunissen
10424a5015 *** empty log message *** 2001-10-15 22:28:05 +00:00
Bill Currie
460a270a54 fix some init order issues brought up by the new gl_funcs.c code. 2001-10-15 19:06:22 +00:00
Bill Currie
fd25261ab3 hopefully better win32 dynamicly loaded gl support. if nothing else,
gl_funcs.c is easier to read :)
2001-10-15 18:24:30 +00:00
Bill Currie
41d01d54f9 put the INITGUID definition in the correct place 2001-10-15 17:32:43 +00:00
Bill Currie
f7b82bcb69 comment out the definition of INITGUID for now as it's causing linking problems 2001-10-15 16:30:15 +00:00
Bill Currie
62873d6980 diff snr -- 2001-10-11 17:31:41 +00:00
Bill Currie
49fe4e9f05 fix a misplaced s&r 2001-10-11 06:54:29 +00:00
Ragnvald Maartmann-Moe IV
1674e6a763 Clean up of models that are always fullbright. 2001-10-10 05:00:30 +00:00
Ragnvald Maartmann-Moe IV
db87121c2b Whitespace. 2001-10-10 04:59:43 +00:00
Ragnvald Maartmann-Moe IV
86a82b895d Whitespace. 2001-10-09 21:57:49 +00:00
Bill Currie
a65d98a35c r_dlight_max can now safely be 0 2001-10-09 21:50:51 +00:00
Ragnvald Maartmann-Moe IV
9cc671e6d2 Try #2.
Change r_maxparticles from short to unsigned int.
Make MAX_DLIGHTS into a cvar, r_dlight_max that sets the unsigned int r_maxdlights.
2001-10-09 20:35:17 +00:00
Bill Currie
757a0f690c fix a missing #ifdef HAVE_VIDMODE 2001-10-06 22:57:54 +00:00
Ragnvald Maartmann-Moe IV
24e80b21d4 Whitespace. Hiding commented out code is bad. 2001-10-06 01:14:23 +00:00
Ragnvald Maartmann-Moe IV
d657a590b5 Clean up extern functions, update noise_diamondsquare to match LordHavoc's fractalnoise. 2001-10-06 00:39:22 +00:00