]> icculus.org git repositories - btb/d2x.git/log
btb/d2x.git
20 years agofix bugfix of 2004-05-15
Martin Schaffner [Sun, 5 Sep 2004 12:07:01 +0000 (12:07 +0000)]
fix bugfix of 2004-05-15

20 years agocfgets now always copies the terminating character to the dest buffer.
Martin Schaffner [Sun, 29 Aug 2004 17:57:23 +0000 (17:57 +0000)]
cfgets now always copies the terminating character to the dest buffer.
This fixes a bug that occured when reading cmd line args from d2x.ini

20 years agochange macify_dospath to macify_posix_path for carbon
Martin Schaffner [Sun, 29 Aug 2004 17:39:33 +0000 (17:39 +0000)]
change macify_dospath to macify_posix_path for carbon

20 years agomove more old change logs into ChangeLog-old
Martin Schaffner [Sun, 29 Aug 2004 14:03:51 +0000 (14:03 +0000)]
move more old change logs into ChangeLog-old

20 years agomove old per-file change logs into new file ChangeLog-old
Martin Schaffner [Sat, 28 Aug 2004 23:37:35 +0000 (23:37 +0000)]
move old per-file change logs into new file ChangeLog-old

20 years agomove old per-file change logs into new file ChangeLog-old
Martin Schaffner [Sat, 28 Aug 2004 23:17:46 +0000 (23:17 +0000)]
move old per-file change logs into new file ChangeLog-old

20 years agoimplement findfile for Mac OS Carbon
Martin Schaffner [Sat, 28 Aug 2004 19:47:07 +0000 (19:47 +0000)]
implement findfile for Mac OS Carbon

20 years agoenable -gl_mipmap switch
Martin Schaffner [Sat, 28 Aug 2004 18:11:19 +0000 (18:11 +0000)]
enable -gl_mipmap switch

20 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

20 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

20 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

20 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

20 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

20 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)

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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)

20 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

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

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

20 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

20 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

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

20 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

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

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

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

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

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

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

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

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

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

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

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

20 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)

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

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

20 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)

20 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

20 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)

20 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

20 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)

20 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)

20 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)

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

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

20 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

20 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)

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

20 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)

20 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)

20 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)

20 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)

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

20 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

20 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)

20 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

20 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)

20 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

20 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)

20 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)

20 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)

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

20 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)

20 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)

20 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)

20 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

20 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)

20 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)

20 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)

20 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)

20 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

20 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

20 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)

20 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)