]> icculus.org git repositories - btb/d2x.git/log
btb/d2x.git
19 years agoswap min and max size to correct places
Martin Schaffner [Sat, 28 Aug 2004 17:44:48 +0000 (17:44 +0000)]
swap min and max size to correct places

19 years agoadd mkdir for carbon, and support files ending in 0x0d
Martin Schaffner [Tue, 17 Aug 2004 19:36:50 +0000 (19:36 +0000)]
add mkdir for carbon, and support files ending in 0x0d

19 years agofix a bug introduced with change of 2004-06-26
Martin Schaffner [Tue, 17 Aug 2004 18:02:43 +0000 (18:02 +0000)]
fix a bug introduced with change of 2004-06-26

19 years agoon Mac OS 9 and X, define Int3 to be a Debugger
Martin Schaffner [Fri, 6 Aug 2004 21:28:27 +0000 (21:28 +0000)]
on Mac OS 9 and X, define Int3 to be a Debugger

19 years agodisable mprintf on carbon to avoid significant bloat
Martin Schaffner [Fri, 6 Aug 2004 20:52:49 +0000 (20:52 +0000)]
disable mprintf on carbon to avoid significant bloat

19 years agomake d2x compile (but not link) on MPW on Mac OS 9 (carbon)
Martin Schaffner [Fri, 6 Aug 2004 20:36:02 +0000 (20:36 +0000)]
make d2x compile (but not link) on MPW on Mac OS 9 (carbon)

19 years agod2x can now handle any line ending when reading d2x.ini
Martin Schaffner [Fri, 6 Aug 2004 20:28:57 +0000 (20:28 +0000)]
d2x can now handle any line ending when reading d2x.ini

19 years agoInclude glu.h for Mac OS X, it is sometimes necessary
Martin Schaffner [Tue, 3 Aug 2004 21:02:53 +0000 (21:02 +0000)]
Include glu.h for Mac OS X, it is sometimes necessary

19 years agoThis time, I correctly applied Chris Taylor's patch
Martin Schaffner [Tue, 3 Aug 2004 20:27:32 +0000 (20:27 +0000)]
This time, I correctly applied Chris Taylor's patch

19 years agoavoid assigments between unsigned and signed char, MPW does not like these
Martin Schaffner [Sun, 1 Aug 2004 16:28:33 +0000 (16:28 +0000)]
avoid assigments between unsigned and signed char, MPW does not like these

19 years agouse portable ffilelength in cfile_size
Martin Schaffner [Sun, 1 Aug 2004 14:32:07 +0000 (14:32 +0000)]
use portable ffilelength in cfile_size

19 years agouse portable CFILE instead of POSIX file in write_bmp
Martin Schaffner [Sun, 1 Aug 2004 14:22:54 +0000 (14:22 +0000)]
use portable CFILE instead of POSIX file in write_bmp

19 years agodo not seek while writing, carbon does not like it
Martin Schaffner [Sun, 1 Aug 2004 14:17:10 +0000 (14:17 +0000)]
do not seek while writing, carbon does not like it

19 years agoadd str(n)icmp for carbon
Martin Schaffner [Sun, 1 Aug 2004 14:01:23 +0000 (14:01 +0000)]
add str(n)icmp for carbon

19 years agoinclude/strutil.h, misc/strutil.c: add str(n)icmp for carbon
Martin Schaffner [Sun, 1 Aug 2004 13:28:32 +0000 (13:28 +0000)]
include/strutil.h, misc/strutil.c: add str(n)icmp for carbon

19 years agoNew file for supporting compilation with MPW for carbon (Mac OS 9)
Martin Schaffner [Sun, 1 Aug 2004 13:08:34 +0000 (13:08 +0000)]
New file for supporting compilation with MPW for carbon (Mac OS 9)

19 years agoadd "#ifdef macintosh" for carbon target
Martin Schaffner [Sun, 1 Aug 2004 13:01:39 +0000 (13:01 +0000)]
add "#ifdef macintosh" for carbon target

19 years agoremove some unneccesary globals
Martin Schaffner [Sat, 26 Jun 2004 16:27:17 +0000 (16:27 +0000)]
remove some unneccesary globals

19 years agocast malloc function pointer
Bradley Bell [Tue, 1 Jun 2004 07:49:07 +0000 (07:49 +0000)]
cast malloc function pointer

19 years agoadded MVEPlayer target to XCode project
Bradley Bell [Tue, 1 Jun 2004 07:47:46 +0000 (07:47 +0000)]
added MVEPlayer target to XCode project

19 years agooops, this didn't belong in last commit
Bradley Bell [Tue, 1 Jun 2004 06:09:39 +0000 (06:09 +0000)]
oops, this didn't belong in last commit

19 years agofix accidental solaris breakage
Bradley Bell [Tue, 1 Jun 2004 06:00:32 +0000 (06:00 +0000)]
fix accidental solaris breakage

19 years agofix crash caused by death-cam
Bradley Bell [Mon, 31 May 2004 18:22:20 +0000 (18:22 +0000)]
fix crash caused by death-cam

19 years agoXCode project cleanups, network enabled
Bradley Bell [Mon, 31 May 2004 10:22:06 +0000 (10:22 +0000)]
XCode project cleanups, network enabled

19 years agoXCode project cleanups, network enabled
Bradley Bell [Mon, 31 May 2004 10:21:40 +0000 (10:21 +0000)]
XCode project cleanups, network enabled

19 years agoXCode compilability fixes
Bradley Bell [Mon, 31 May 2004 08:33:41 +0000 (08:33 +0000)]
XCode compilability fixes

19 years agoremove old OSX bundle stuff
Bradley Bell [Mon, 31 May 2004 08:20:44 +0000 (08:20 +0000)]
remove old OSX bundle stuff

19 years agoadded XCode project files
Bradley Bell [Mon, 31 May 2004 07:50:17 +0000 (07:50 +0000)]
added XCode project files

19 years agoadded XCode project files
Bradley Bell [Mon, 31 May 2004 07:45:26 +0000 (07:45 +0000)]
added XCode project files

19 years agomake libpng optional
Bradley Bell [Sun, 23 May 2004 00:21:06 +0000 (00:21 +0000)]
make libpng optional

19 years agoChanged descriptions
Bradley Bell [Sat, 22 May 2004 23:43:06 +0000 (23:43 +0000)]
Changed descriptions

19 years agoadd opengl replacement texture support (requires libpng and zlib) (d1x r1.42, r1...
Bradley Bell [Sat, 22 May 2004 23:41:29 +0000 (23:41 +0000)]
add opengl replacement texture support (requires libpng and zlib) (d1x r1.42, r1.1, r1.10, r1.4, r1.1)

19 years agofix compile when GL_NV_register_combiners isn't defined (d1x r1.40)
Bradley Bell [Sat, 22 May 2004 23:06:58 +0000 (23:06 +0000)]
fix compile when GL_NV_register_combiners isn't defined (d1x r1.40)

19 years agofix strict-aliasing errors (d1x r1.13)
Bradley Bell [Sat, 22 May 2004 23:01:20 +0000 (23:01 +0000)]
fix strict-aliasing errors (d1x r1.13)

19 years agoFix mismatched arg types in the win32 code (d1x r1.8, key_arch.c r1.2)
Bradley Bell [Sat, 22 May 2004 22:58:09 +0000 (22:58 +0000)]
Fix mismatched arg types in the win32 code (d1x r1.8, key_arch.c r1.2)

19 years agomade opengl use 32bpp screen mode by default, add option to use 16bpp (d1x r1.4,...
Bradley Bell [Sat, 22 May 2004 22:43:56 +0000 (22:43 +0000)]
made opengl use 32bpp screen mode by default, add option to use 16bpp (d1x r1.4, r1.16, r1.34)

19 years agoallow for texture dimensions of 1, and fix ogl replacement texture paletted->rgb...
Bradley Bell [Sat, 22 May 2004 22:29:20 +0000 (22:29 +0000)]
allow for texture dimensions of 1, and fix ogl replacement texture paletted->rgb conversion alpha problem (d1x r1.43)

19 years agoadd opengl replacement texture support (requires libpng and zlib) (d1x r1.42, r1...
Bradley Bell [Sat, 22 May 2004 22:24:32 +0000 (22:24 +0000)]
add opengl replacement texture support (requires libpng and zlib) (d1x r1.42, r1.1, r1.10, r1.4, r1.1)

19 years agofix win32 GL_NV_register_combiners build stuff (d1x r1.39, r1.7)
Bradley Bell [Sat, 22 May 2004 21:55:33 +0000 (21:55 +0000)]
fix win32 GL_NV_register_combiners build stuff (d1x r1.39, r1.7)

19 years agoopengl hardware super-transparency support using GL_NV_register_combiners (d1x r1...
Bradley Bell [Sat, 22 May 2004 21:48:48 +0000 (21:48 +0000)]
opengl hardware super-transparency support using GL_NV_register_combiners (d1x r1.38, r1.41, r1.6, r1.26, r1.7)

19 years agofunction prototypes
Bradley Bell [Sat, 22 May 2004 09:21:24 +0000 (09:21 +0000)]
function prototypes

19 years agouse GL_RGB for non-transparent textures, and fix fonts not having transparent flag...
Bradley Bell [Sat, 22 May 2004 09:15:28 +0000 (09:15 +0000)]
use GL_RGB for non-transparent textures, and fix fonts not having transparent flag set (wouldn't get paletted) (d1x r1.15, r1.37, r1.40, r1.25)

19 years agodon't try to use paletted textures with mipmapping since gluBuild2DMipmaps can't...
Bradley Bell [Sat, 22 May 2004 08:47:14 +0000 (08:47 +0000)]
don't try to use paletted textures with mipmapping since gluBuild2DMipmaps can't handle it (d1x r1.39)

19 years agoadd ogl paletted texture support (d1x r1.36, r1.38, r1.5, r1.24)
Bradley Bell [Sat, 22 May 2004 08:43:11 +0000 (08:43 +0000)]
add ogl paletted texture support (d1x r1.36, r1.38, r1.5, r1.24)

19 years agomemset ogl font bitmap data since the copy function leaves some (unused) parts uninit...
Bradley Bell [Sat, 22 May 2004 08:10:26 +0000 (08:10 +0000)]
memset ogl font bitmap data since the copy function leaves some (unused) parts uninitialized, which aggravates valgrind (d1x r1.14)

19 years agofix phantom hat when used with a joystick without one, since the code ignored the...
Bradley Bell [Sat, 22 May 2004 08:00:04 +0000 (08:00 +0000)]
fix phantom hat when used with a joystick without one, since the code ignored the JOYCAPS_HASPOV flag (d1x r1.5)

19 years agofix possibility of saving incomplete .tga screenshots if the entire thing wasn't...
Bradley Bell [Sat, 22 May 2004 07:55:34 +0000 (07:55 +0000)]
fix possibility of saving incomplete .tga screenshots if the entire thing wasn't written in one call to write() (d1x r1.35)

19 years agofix persistent sounds (fans, etc) volume/pan info not being updated on win32 (d1x...
Bradley Bell [Sat, 22 May 2004 07:51:33 +0000 (07:51 +0000)]
fix persistent sounds (fans, etc) volume/pan info not being updated on win32 (d1x r1.11)

19 years agoremove some redundancy by not needing to do SoundSlots[i].playing = 0; in addition...
Bradley Bell [Sat, 22 May 2004 07:42:18 +0000 (07:42 +0000)]
remove some redundancy by not needing to do SoundSlots[i].playing = 0; in addition to DS_release_slot.  Also clean up some indenting of DS_release_slot calls. And make DS_release_slot return 1 when a sound is already not playing, in addition to when a sound was killed. (d1x r1.10)

19 years agofix crash/hang when using -nojoystick in linux version (d1x r1.5)
Bradley Bell [Sat, 22 May 2004 07:31:38 +0000 (07:31 +0000)]
fix crash/hang when using -nojoystick in linux version (d1x r1.5)

19 years agomake next axis config key skip currently allocated axes (d1x r1.11)
Bradley Bell [Sat, 22 May 2004 07:27:29 +0000 (07:27 +0000)]
make next axis config key skip currently allocated axes (d1x r1.11)

19 years agojoy configuration next axis key from WraithX (d1x r1.10)
Bradley Bell [Sat, 22 May 2004 07:20:54 +0000 (07:20 +0000)]
joy configuration next axis key from WraithX (d1x r1.10)

19 years agotypo
Bradley Bell [Sat, 22 May 2004 07:16:04 +0000 (07:16 +0000)]
typo

19 years agotypo
Bradley Bell [Sat, 22 May 2004 07:14:59 +0000 (07:14 +0000)]
typo

19 years agomake rear view leave_time variable with -rearviewleavetime argument (d1x r1.25, r1...
Bradley Bell [Sat, 22 May 2004 06:56:41 +0000 (06:56 +0000)]
make rear view leave_time variable with -rearviewleavetime argument (d1x r1.25, r1.5, r1.27)

19 years agochange -udp documentation to d2x behaviour
Martin Schaffner [Sat, 22 May 2004 02:31:48 +0000 (02:31 +0000)]
change -udp documentation to d2x behaviour

19 years agofile-line for segfault info (d1x r1.3, r1.5, r1.3, r1.4, r1.3, r1.5, r1.2)
Bradley Bell [Sat, 22 May 2004 02:05:51 +0000 (02:05 +0000)]
file-line for segfault info (d1x r1.3, r1.5, r1.3, r1.4, r1.3, r1.5, r1.2)

19 years agoadded missing define for menu fullscreen toggle
Bradley Bell [Sat, 22 May 2004 02:01:34 +0000 (02:01 +0000)]
added missing define for menu fullscreen toggle

19 years agouse JOY_NUM_AXES instead of 4 in joy_(get|set)_cal_vals (d1x r1.3, r1.4)
Bradley Bell [Sat, 22 May 2004 01:40:14 +0000 (01:40 +0000)]
use JOY_NUM_AXES instead of 4 in joy_(get|set)_cal_vals (d1x r1.3, r1.4)

19 years agopatch from Steven Mueller for using more than 4 joystick devices in linux (d1x r1...
Bradley Bell [Sat, 22 May 2004 01:32:13 +0000 (01:32 +0000)]
patch from Steven Mueller for using more than 4 joystick devices in linux (d1x r1.3, r1.3, r1.3)

19 years agofile-line for segfault info (d1x r1.3, r1.5, r1.3, r1.4, r1.3, r1.5, r1.2)
Bradley Bell [Sat, 22 May 2004 01:06:29 +0000 (01:06 +0000)]
file-line for segfault info (d1x r1.3, r1.5, r1.3, r1.4, r1.3, r1.5, r1.2)

19 years agodigisound fixes (d1x r1.7)
Bradley Bell [Sat, 22 May 2004 00:50:42 +0000 (00:50 +0000)]
digisound fixes (d1x r1.7)

19 years agoadded -udp documentation from d1x
Bradley Bell [Sat, 22 May 2004 00:26:25 +0000 (00:26 +0000)]
added -udp documentation from d1x

19 years agodon't need texmappers for OpenGL
Bradley Bell [Fri, 21 May 2004 02:56:22 +0000 (02:56 +0000)]
don't need texmappers for OpenGL

19 years agodeath-cam from WraithX (d1x r1.3, game.c r1.21, r1.6, r1.4, r1.3)
Bradley Bell [Fri, 21 May 2004 02:46:24 +0000 (02:46 +0000)]
death-cam from WraithX (d1x r1.3, game.c r1.21, r1.6, r1.4, r1.3)

19 years agodocument -ihaveabrokenmouse
Bradley Bell [Fri, 21 May 2004 01:54:39 +0000 (01:54 +0000)]
document -ihaveabrokenmouse

19 years agodos gcc 2.95 asm fixes (d1x r1.2)
Bradley Bell [Fri, 21 May 2004 01:31:49 +0000 (01:31 +0000)]
dos gcc 2.95 asm fixes (d1x r1.2)

19 years agoadded new arg and printfs for mouse driver problems (d1x r1.2, r1.2)
Bradley Bell [Fri, 21 May 2004 00:48:14 +0000 (00:48 +0000)]
added new arg and printfs for mouse driver problems (d1x r1.2, r1.2)

19 years agoincreased MESSAGEBOX_TEXT_SIZE to fix netgame join list score crash (d1x r1.8)
Bradley Bell [Fri, 21 May 2004 00:33:03 +0000 (00:33 +0000)]
increased MESSAGEBOX_TEXT_SIZE to fix netgame join list score crash (d1x r1.8)

19 years agoadded debug info for illegal side type (d1x r1.2, r1.4, r1.2, r1.2)
Bradley Bell [Fri, 21 May 2004 00:02:38 +0000 (00:02 +0000)]
added debug info for illegal side type (d1x r1.2, r1.4, r1.2, r1.2)

19 years agofix a couple of defines
Bradley Bell [Thu, 20 May 2004 23:38:20 +0000 (23:38 +0000)]
fix a couple of defines

19 years agointegrated some niceautomap stuff from d1x
Bradley Bell [Thu, 20 May 2004 23:36:16 +0000 (23:36 +0000)]
integrated some niceautomap stuff from d1x

19 years agofixed the config bug where it'd always put in some weird axis (d1x r1.3)
Bradley Bell [Thu, 20 May 2004 23:10:17 +0000 (23:10 +0000)]
fixed the config bug where it'd always put in some weird axis (d1x r1.3)

19 years agoset win32 icon to icon from resource file
Bradley Bell [Thu, 20 May 2004 23:06:24 +0000 (23:06 +0000)]
set win32 icon to icon from resource file

19 years agowin32: fixed space key not working in messages (d1x r1.2)
Bradley Bell [Thu, 20 May 2004 22:53:53 +0000 (22:53 +0000)]
win32: fixed space key not working in messages (d1x r1.2)

19 years agodon't need texmappers for OpenGL
Bradley Bell [Thu, 20 May 2004 22:31:03 +0000 (22:31 +0000)]
don't need texmappers for OpenGL

19 years agodocument -gl_refresh (d1x r1.20)
Bradley Bell [Thu, 20 May 2004 19:10:25 +0000 (19:10 +0000)]
document -gl_refresh (d1x r1.20)

19 years agow32: check -no(mouse|joystick) within respective _init() funcs (d1x r1.2, r1.6)
Bradley Bell [Thu, 20 May 2004 19:02:58 +0000 (19:02 +0000)]
w32: check -no(mouse|joystick) within respective _init() funcs (d1x r1.2, r1.6)

19 years agofixed win32 gr_*_mode funcs that I forgot to change the arg type for (d1x r1.5)
Bradley Bell [Thu, 20 May 2004 18:48:44 +0000 (18:48 +0000)]
fixed win32 gr_*_mode funcs that I forgot to change the arg type for (d1x r1.5)

19 years agoaltsounds (d1x r1.6)
Bradley Bell [Thu, 20 May 2004 09:17:18 +0000 (09:17 +0000)]
altsounds (d1x r1.6)

19 years agofixed a major memory leak and removed a bit of redundancy (d1x r1.5)
Bradley Bell [Thu, 20 May 2004 08:29:58 +0000 (08:29 +0000)]
fixed a major memory leak and removed a bit of redundancy (d1x r1.5)

19 years agocall digi_reset_digi_sounds in digi_close to fix crashing (d1x r1.4)
Bradley Bell [Thu, 20 May 2004 08:23:08 +0000 (08:23 +0000)]
call digi_reset_digi_sounds in digi_close to fix crashing (d1x r1.4)

19 years agowin32's digi_start_sound was not calling DS_release_slot after setting .playing=0...
Bradley Bell [Thu, 20 May 2004 08:07:44 +0000 (08:07 +0000)]
win32's digi_start_sound was not calling DS_release_slot after setting .playing=0, resulting in a memleak. Thanks to Stefan Ring for catching this (d1x r1.9)

19 years agoremove joySetCapture in win32 joystick code, apparently it was somehow causing some...
Bradley Bell [Thu, 20 May 2004 08:03:39 +0000 (08:03 +0000)]
remove joySetCapture in win32 joystick code, apparently it was somehow causing some joysticks (Sidewinder Precision 2) to only turn when the stick was moving, but not when at turned but held stationary.  And it was completely unused anyway.  Thanks to Stefan Ring for (somehow) finding this

19 years agoadd alt+enter to toggle fullscreen (in addition to previous key combos (d1x r1.29)
Bradley Bell [Thu, 20 May 2004 07:54:47 +0000 (07:54 +0000)]
add alt+enter to toggle fullscreen (in addition to previous key combos (d1x r1.29)

19 years agominor cleanup, use same for loop for filling r, g, and b values (d1x r1.15)
Bradley Bell [Thu, 20 May 2004 07:49:21 +0000 (07:49 +0000)]
minor cleanup, use same for loop for filling r, g, and b values (d1x r1.15)

19 years agofix funky ogl gammaramp palette when getting hit sometimes (didn't handle negative...
Bradley Bell [Thu, 20 May 2004 07:47:28 +0000 (07:47 +0000)]
fix funky ogl gammaramp palette when getting hit sometimes (didn't handle negative palette steps) (d1x r1.34)

19 years agoadd caching of weapon inner models, screen shatter effects, robot explosions and...
Bradley Bell [Thu, 20 May 2004 07:43:57 +0000 (07:43 +0000)]
add caching of weapon inner models, screen shatter effects, robot explosions and weapons, and some more always present stuff.  Also clean up ogl_cache_weapon_textures calling. (d1x r1.37)

19 years agomove gr_renderstats and gr_badtexture back to game.c
Bradley Bell [Thu, 20 May 2004 07:42:41 +0000 (07:42 +0000)]
move gr_renderstats and gr_badtexture back to game.c

19 years agomove gr_renderstats and gr_badtexture back to game.c
Bradley Bell [Thu, 20 May 2004 07:29:11 +0000 (07:29 +0000)]
move gr_renderstats and gr_badtexture back to game.c

19 years agoadd -renderstats command-line arg to activate RENDERSTATS (d1x r1.36, r1.15, r1.33)
Bradley Bell [Thu, 20 May 2004 07:25:22 +0000 (07:25 +0000)]
add -renderstats command-line arg to activate RENDERSTATS (d1x r1.36, r1.15, r1.33)

19 years agofix last commit (d1x r1.35)
Bradley Bell [Thu, 20 May 2004 07:16:53 +0000 (07:16 +0000)]
fix last commit (d1x r1.35)

19 years agoadd RENDERSTATS counter for number of textures loaded after texture caching stage...
Bradley Bell [Thu, 20 May 2004 07:13:20 +0000 (07:13 +0000)]
add RENDERSTATS counter for number of textures loaded after texture caching stage (d1x r1.34)

19 years agouse GL_INDEX_BITS to get bpp for color buffer for renderstats (d1x r1.33)
Bradley Bell [Thu, 20 May 2004 07:02:54 +0000 (07:02 +0000)]
use GL_INDEX_BITS to get bpp for color buffer for renderstats (d1x r1.33)

19 years agoadd anisotropic texture filtering suport (d1x r1.33, r1.32, r1.23, r1.32)
Bradley Bell [Thu, 20 May 2004 05:16:21 +0000 (05:16 +0000)]
add anisotropic texture filtering suport (d1x r1.33, r1.32, r1.23, r1.32)

19 years agomake RENDERSTATS show size of color/depth buffer too (d1x r1.31)
Bradley Bell [Thu, 20 May 2004 05:02:53 +0000 (05:02 +0000)]
make RENDERSTATS show size of color/depth buffer too (d1x r1.31)

19 years agoutilize hardware multitexturing support if possible (requires GL_NV_texture_env_combi...
Bradley Bell [Thu, 20 May 2004 03:31:36 +0000 (03:31 +0000)]
utilize hardware multitexturing support if possible (requires GL_NV_texture_env_combine4 extension) (d1x r1.32, r1.30, r1.4, 1.22)

19 years agoadd ogl_setbrightness_internal stub for glx (d1x r1.17)
Bradley Bell [Thu, 20 May 2004 02:15:15 +0000 (02:15 +0000)]
add ogl_setbrightness_internal stub for glx (d1x r1.17)

19 years agoimplement SetGammaRamp on WGL (d1x r1.14)
Bradley Bell [Thu, 20 May 2004 02:13:13 +0000 (02:13 +0000)]
implement SetGammaRamp on WGL (d1x r1.14)

19 years agoimplement brightness/palette effects in OGL using SetGammaRamp, much faster than...
Bradley Bell [Thu, 20 May 2004 02:04:30 +0000 (02:04 +0000)]
implement brightness/palette effects in OGL using SetGammaRamp, much faster than the hack that was being used.  currently SDL only (though not too hard to add to WGL, not as easy as sdl) (d1x r1.31, r1.3, r1.13, r1.21)