btb/d2x.git
15 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)

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

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

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

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

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

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

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

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

15 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

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

15 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

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

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

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

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

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

15 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

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

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

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

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

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

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

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

15 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

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

15 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

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

15 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

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

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

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

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

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

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

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

15 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

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

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

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

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

15 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

15 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

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

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

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

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

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

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

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

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

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

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

15 years agoallow arbitrary (custom) resolution entry in change_res menu (d1x r1.14)
Bradley Bell [Thu, 20 May 2004 01:44:09 +0000 (01:44 +0000)]
allow arbitrary (custom) resolution entry in change_res menu (d1x r1.14)

15 years agoinserted d1x-style res change menu (mostly works)
Bradley Bell [Thu, 20 May 2004 01:29:19 +0000 (01:29 +0000)]
inserted d1x-style res change menu (mostly works)

15 years agouse strnicmp instead of strncasecmp
Bradley Bell [Wed, 19 May 2004 22:28:08 +0000 (22:28 +0000)]
use strnicmp instead of strncasecmp

15 years agoadd -gl_trilinear OGL command-line option (d1x r1.27)
Bradley Bell [Wed, 19 May 2004 22:16:38 +0000 (22:16 +0000)]
add -gl_trilinear OGL command-line option (d1x r1.27)

15 years agochangelog fixes
Bradley Bell [Wed, 19 May 2004 22:10:05 +0000 (22:10 +0000)]
changelog fixes

15 years agorestore inferno.c initialization of screen_compatible and use_double_buffer to 'norma...
Bradley Bell [Wed, 19 May 2004 21:47:50 +0000 (21:47 +0000)]
restore inferno.c initialization of screen_compatible and use_double_buffer to 'normal' values, broken long long ago in one of the high res menu patches (d1x r1.30)

15 years agoallow arbitrary resolutions to be specified on command line (d1x r1.2, r1.29, r1...
Bradley Bell [Wed, 19 May 2004 21:20:09 +0000 (21:20 +0000)]
allow arbitrary resolutions to be specified on command line (d1x r1.2, r1.29, r1.4) -- doesn't work yet

15 years agoneeds to include args.h now (d1x r1.9)
Bradley Bell [Wed, 19 May 2004 19:20:16 +0000 (19:20 +0000)]
needs to include args.h now (d1x r1.9)

15 years agoimplement -nomusic for linux hmiplay (d1x r1.8)
Bradley Bell [Wed, 19 May 2004 19:15:05 +0000 (19:15 +0000)]
implement -nomusic for linux hmiplay (d1x r1.8)

15 years agocorrect linux hmiplay handling of midi 0 volume song stop/starting (d1x r1.7)
Bradley Bell [Wed, 19 May 2004 19:04:41 +0000 (19:04 +0000)]
correct linux hmiplay handling of midi 0 volume song stop/starting (d1x r1.7)

15 years agoremove needless sleep on linux hmiplay startup (d1x r1.6)
Bradley Bell [Wed, 19 May 2004 07:00:57 +0000 (07:00 +0000)]
remove needless sleep on linux hmiplay startup (d1x r1.6)

15 years agofix off by .5 errors in ogl_upixelc and ogl_ulinec (d1x r1.29)
Bradley Bell [Wed, 19 May 2004 03:47:03 +0000 (03:47 +0000)]
fix off by .5 errors in ogl_upixelc and ogl_ulinec (d1x r1.29)

15 years agofix ogl gr_ucircle (d1x r1.29)
Bradley Bell [Wed, 19 May 2004 03:41:58 +0000 (03:41 +0000)]
fix ogl gr_ucircle (d1x r1.29)

15 years agofix off-by-one error in ogl_urect, right and bottom are inclusive not exclusive ...
Bradley Bell [Wed, 19 May 2004 03:35:48 +0000 (03:35 +0000)]
fix off-by-one error in ogl_urect, right and bottom are inclusive not exclusive (d1x r1.28)

15 years agofix briefing spinning robot display in OGL (d1x r1.28, r1.20, r1.2)
Bradley Bell [Wed, 19 May 2004 03:29:04 +0000 (03:29 +0000)]
fix briefing spinning robot display in OGL (d1x r1.28, r1.20, r1.2)

15 years agofix typo
Bradley Bell [Wed, 19 May 2004 03:13:44 +0000 (03:13 +0000)]
fix typo

15 years agofix savegame thumbnail saving in OGL (d1x r1.6)
Bradley Bell [Wed, 19 May 2004 02:47:49 +0000 (02:47 +0000)]
fix savegame thumbnail saving in OGL (d1x r1.6)

15 years agomove win32 window creation code from arch_init_start to arch_init to fix weirdness...
Bradley Bell [Wed, 19 May 2004 02:39:21 +0000 (02:39 +0000)]
move win32 window creation code from arch_init_start to arch_init to fix weirdness with --help (d1x r1.5, r1.6)

15 years agoapply patch from bluecow to fix hmiplay sync issues and lack of midi reset (d1x r1.5)
Bradley Bell [Wed, 19 May 2004 02:30:05 +0000 (02:30 +0000)]
apply patch from bluecow to fix hmiplay sync issues and lack of midi reset (d1x r1.5)

15 years agofix crash on exit if sounds are still playing (d1x r1.8)
Bradley Bell [Wed, 19 May 2004 02:23:56 +0000 (02:23 +0000)]
fix crash on exit if sounds are still playing (d1x r1.8)

15 years agoFix mismatched arg types in the win32 code (d1x r1.2)
Bradley Bell [Wed, 19 May 2004 02:20:34 +0000 (02:20 +0000)]
Fix mismatched arg types in the win32 code (d1x r1.2)

15 years agoFix mismatched arg types in the win32 code (d1x r1.7)
Bradley Bell [Wed, 19 May 2004 02:18:19 +0000 (02:18 +0000)]
Fix mismatched arg types in the win32 code (d1x r1.7)

15 years agoFix mismatched arg types in the win32 code (d1x r1.12)
Bradley Bell [Wed, 19 May 2004 02:14:17 +0000 (02:14 +0000)]
Fix mismatched arg types in the win32 code (d1x r1.12)

15 years agofix problems with msgbuf struct not being defined (d1x r1.4)
Bradley Bell [Wed, 19 May 2004 02:02:42 +0000 (02:02 +0000)]
fix problems with msgbuf struct not being defined (d1x r1.4)

15 years agoupdated SDL include path (d1x r1.3)
Bradley Bell [Wed, 19 May 2004 01:59:14 +0000 (01:59 +0000)]
updated SDL include path (d1x r1.3)

15 years agocomments/formatting
Bradley Bell [Wed, 19 May 2004 01:47:24 +0000 (01:47 +0000)]
comments/formatting

15 years agoadd -no-cpp-precomp when compiling on Mac OS X
Martin Schaffner [Tue, 18 May 2004 01:52:28 +0000 (01:52 +0000)]
add -no-cpp-precomp when compiling on Mac OS X

15 years agoreplace wildcards in ChangeLog with list of files for grepability
Martin Schaffner [Tue, 18 May 2004 00:56:12 +0000 (00:56 +0000)]
replace wildcards in ChangeLog with list of files for grepability

15 years agoinclude/*.bat, include/test.*: remove unnecessary files
Martin Schaffner [Mon, 17 May 2004 23:04:21 +0000 (23:04 +0000)]
include/*.bat, include/test.*: remove unnecessary files

15 years agotook care of switches triggering single-sided walls (don't try to access the nonexist...
Bradley Bell [Mon, 17 May 2004 21:16:28 +0000 (21:16 +0000)]
took care of switches triggering single-sided walls (don't try to access the nonexistent adjacent wall via NULL pointers or negative array indices)

15 years agofix invalid memory access for d1 levels which don't have a corresponding wall behind.
Martin Schaffner [Sun, 16 May 2004 11:04:32 +0000 (11:04 +0000)]
fix invalid memory access for d1 levels which don't have a corresponding wall behind.

15 years agomove ogl-internal stuff from ogl interface header to new file internal.h
Martin Schaffner [Sun, 16 May 2004 00:45:25 +0000 (00:45 +0000)]
move ogl-internal stuff from ogl interface header to new file internal.h

15 years agofix endless loop in some levels with a certain (complicated) structure
Martin Schaffner [Sat, 15 May 2004 18:07:12 +0000 (18:07 +0000)]
fix endless loop in some levels with a certain (complicated) structure

15 years agoimplement repair centers
Martin Schaffner [Sat, 15 May 2004 17:24:17 +0000 (17:24 +0000)]
implement repair centers

15 years agoimplement repair centers
Martin Schaffner [Sat, 15 May 2004 17:16:34 +0000 (17:16 +0000)]
implement repair centers

15 years agofix joystick_read_raw_axis(), define and use gr_remap_mono_font(),
Martin Schaffner [Sat, 15 May 2004 16:25:35 +0000 (16:25 +0000)]
fix joystick_read_raw_axis(), define and use gr_remap_mono_font(),
limit homing missile turn rate

15 years agoupdated project files for SDL 1.2.7
Bradley Bell [Thu, 13 May 2004 20:57:04 +0000 (20:57 +0000)]
updated project files for SDL 1.2.7

15 years agoadd VisualC, VisualCE dirs to tarball
Bradley Bell [Thu, 13 May 2004 20:39:36 +0000 (20:39 +0000)]
add VisualC, VisualCE dirs to tarball

15 years agoformatting
Martin Schaffner [Thu, 13 May 2004 12:31:34 +0000 (12:31 +0000)]
formatting
----------------------------------------------------------------------

15 years agoremoved unused, redundaant files
Bradley Bell [Wed, 12 May 2004 22:11:08 +0000 (22:11 +0000)]
removed unused, redundaant files

15 years agoadded function to create blend tables
Bradley Bell [Wed, 12 May 2004 22:06:02 +0000 (22:06 +0000)]
added function to create blend tables

15 years agoformatting
Bradley Bell [Wed, 12 May 2004 07:32:50 +0000 (07:32 +0000)]
formatting

15 years agoformatting
Bradley Bell [Wed, 12 May 2004 07:31:37 +0000 (07:31 +0000)]
formatting

15 years agofix alpha calculation in g3_draw_poly, again
Bradley Bell [Tue, 11 May 2004 23:15:55 +0000 (23:15 +0000)]
fix alpha calculation in g3_draw_poly, again

15 years agohmm, g3_draw_transp_poly had the fade level backwards, decided to just fix g3_draw_po...
Bradley Bell [Tue, 11 May 2004 03:35:20 +0000 (03:35 +0000)]
hmm, g3_draw_transp_poly had the fade level backwards, decided to just fix g3_draw_poly so it behaves correctly, transparency or not, reverted changes to render_face

15 years agoproperly render cloaked walls in OpenGL (fixes #1608)
Bradley Bell [Tue, 11 May 2004 01:53:34 +0000 (01:53 +0000)]
properly render cloaked walls in OpenGL (fixes #1608)