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

15 years agofix bug on Mac OS X where all sound, including that from other apps, had
Martin Schaffner [Sat, 8 May 2004 18:56:04 +0000 (18:56 +0000)]
fix bug on Mac OS X where all sound, including that from other apps, had
"static" distortions.

15 years agouse new GET_INTEL_* macros
Bradley Bell [Thu, 22 Apr 2004 21:07:32 +0000 (21:07 +0000)]
use new GET_INTEL_* macros

15 years agorewrite GET_INTEL_* macros, fix bugs in aligned version of PUT_INTEL_* macros
Bradley Bell [Thu, 22 Apr 2004 21:05:16 +0000 (21:05 +0000)]
rewrite GET_INTEL_* macros, fix bugs in aligned version of PUT_INTEL_* macros

15 years agocomment out unused checksum variable
Bradley Bell [Thu, 15 Apr 2004 07:34:28 +0000 (07:34 +0000)]
comment out unused checksum variable

15 years agouse portable rand function (fixes #1118)
Bradley Bell [Wed, 14 Apr 2004 08:54:35 +0000 (08:54 +0000)]
use portable rand function (fixes #1118)

15 years agofix redbook tracking problems (fixes #1028)
Bradley Bell [Wed, 14 Apr 2004 08:32:49 +0000 (08:32 +0000)]
fix redbook tracking problems (fixes #1028)

15 years agouncomment calls to RBAStop (fixes #473)
Bradley Bell [Wed, 14 Apr 2004 07:35:55 +0000 (07:35 +0000)]
uncomment calls to RBAStop (fixes #473)

15 years agofix MEM_OVERWRITE caused by not allocating enough mem for rle bitmaps
Martin Schaffner [Thu, 8 Jan 2004 20:31:35 +0000 (20:31 +0000)]
fix MEM_OVERWRITE caused by not allocating enough mem for rle bitmaps

15 years agofix (really) wierd SunOS bug
Martin Schaffner [Thu, 8 Jan 2004 19:02:53 +0000 (19:02 +0000)]
fix (really) wierd SunOS bug

15 years agoget rid of warnings (now compiles with -Werror on SunOS)
Martin Schaffner [Thu, 8 Jan 2004 16:48:35 +0000 (16:48 +0000)]
get rid of warnings (now compiles with -Werror on SunOS)

15 years agosun OS typedef fixes
Martin Schaffner [Tue, 6 Jan 2004 17:59:27 +0000 (17:59 +0000)]
sun OS typedef fixes
----------------------------------------------------------------------

15 years agofix 2nd part of bug 1067 (make d2x compatible with descent.pig of mac registered)
Martin Schaffner [Sun, 28 Dec 2003 14:05:12 +0000 (14:05 +0000)]
fix 2nd part of bug 1067 (make d2x compatible with descent.pig of mac registered)
----------------------------------------------------------------------

15 years agofix bugfix for 1067
Martin Schaffner [Sun, 28 Dec 2003 12:32:09 +0000 (12:32 +0000)]
fix bugfix for 1067

15 years agofix bug 1067
Martin Schaffner [Sun, 28 Dec 2003 00:35:16 +0000 (00:35 +0000)]
fix bug 1067

15 years agofixes for linux-native joystick
Bradley Bell [Thu, 18 Dec 2003 11:24:04 +0000 (11:24 +0000)]
fixes for linux-native joystick

15 years agobunch of fixes (esp. for non linux-native joystick)
Bradley Bell [Thu, 18 Dec 2003 10:32:57 +0000 (10:32 +0000)]
bunch of fixes (esp. for non linux-native joystick)

15 years agowhitespace/comments
Bradley Bell [Thu, 18 Dec 2003 09:56:13 +0000 (09:56 +0000)]
whitespace/comments

15 years agoadded FreeBSD defs
Bradley Bell [Wed, 10 Dec 2003 22:08:52 +0000 (22:08 +0000)]
added FreeBSD defs

15 years agoremove unused, redundant files
Bradley Bell [Mon, 8 Dec 2003 23:15:31 +0000 (23:15 +0000)]
remove unused, redundant files

15 years agofix FreeBSD compile errors
Bradley Bell [Mon, 8 Dec 2003 22:55:27 +0000 (22:55 +0000)]
fix FreeBSD compile errors

15 years agoget rid of silly ulongs
Bradley Bell [Mon, 8 Dec 2003 22:32:56 +0000 (22:32 +0000)]
get rid of silly ulongs

15 years agoenable nasm on FreeBSD, change relevant __linux__ macros to __ELF__
Bradley Bell [Mon, 8 Dec 2003 21:21:16 +0000 (21:21 +0000)]
enable nasm on FreeBSD, change relevant __linux__ macros to __ELF__

15 years agoadded proto for ogl_check_mode
Bradley Bell [Thu, 27 Nov 2003 09:32:38 +0000 (09:32 +0000)]
added proto for ogl_check_mode

15 years agoPocketPC fixes
Bradley Bell [Thu, 27 Nov 2003 09:24:43 +0000 (09:24 +0000)]
PocketPC fixes

15 years agoPocketPC fixes
Bradley Bell [Thu, 27 Nov 2003 09:16:58 +0000 (09:16 +0000)]
PocketPC fixes

15 years agoPocketPC fixes
Bradley Bell [Thu, 27 Nov 2003 09:10:52 +0000 (09:10 +0000)]
PocketPC fixes

15 years agolandscape fixes, implemented gr_check_mode
Bradley Bell [Thu, 27 Nov 2003 04:59:49 +0000 (04:59 +0000)]
landscape fixes, implemented gr_check_mode

15 years agofix gcc 3.3 compiler warnings
Bradley Bell [Thu, 27 Nov 2003 04:52:18 +0000 (04:52 +0000)]
fix gcc 3.3 compiler warnings

15 years agolandscape fixes, implemented gr_check_mode
Bradley Bell [Thu, 27 Nov 2003 04:50:22 +0000 (04:50 +0000)]
landscape fixes, implemented gr_check_mode

15 years agoOS X fixes
Bradley Bell [Thu, 27 Nov 2003 04:05:14 +0000 (04:05 +0000)]
OS X fixes

15 years agobuncha macro fixes and stuff
Bradley Bell [Thu, 27 Nov 2003 00:47:38 +0000 (00:47 +0000)]
buncha macro fixes and stuff

15 years agolinux fixes
Bradley Bell [Thu, 27 Nov 2003 00:36:15 +0000 (00:36 +0000)]
linux fixes

15 years agoadded Visual C project for opengl, buncha macro fixes and stuff
Bradley Bell [Thu, 27 Nov 2003 00:21:04 +0000 (00:21 +0000)]
added Visual C project for opengl, buncha macro fixes and stuff

15 years agofix gr_update
Bradley Bell [Wed, 26 Nov 2003 21:08:59 +0000 (21:08 +0000)]
fix gr_update

15 years agoVisual C, PocketPC fixes
Bradley Bell [Wed, 26 Nov 2003 12:39:00 +0000 (12:39 +0000)]
Visual C, PocketPC fixes

15 years agoVisual C, PocketPC fixes
Bradley Bell [Wed, 26 Nov 2003 12:26:36 +0000 (12:26 +0000)]
Visual C, PocketPC fixes

15 years agoupdated project files
Bradley Bell [Wed, 26 Nov 2003 04:57:33 +0000 (04:57 +0000)]
updated project files

15 years agomveplayer working in Visual C++
Bradley Bell [Wed, 26 Nov 2003 03:07:45 +0000 (03:07 +0000)]
mveplayer working in Visual C++

15 years agoadded project files for visual c++
Bradley Bell [Wed, 26 Nov 2003 02:57:50 +0000 (02:57 +0000)]
added project files for visual c++