]> icculus.org git repositories - btb/d2x.git/log
btb/d2x.git
9 years agoignore
Bradley Bell [Thu, 27 Nov 2014 01:02:34 +0000 (17:02 -0800)]
ignore

12 years agoFixed the Birthday Bug: Correctly re-compute static_light when
Bradley Bell [Sat, 11 Jun 2011 03:15:53 +0000 (20:15 -0700)]
Fixed the Birthday Bug: Correctly re-compute static_light when
restoring a game - finally

12 years agoclear the top and bottom of the screen in death sequence (bug #2572)
Bradley Bell [Fri, 10 Jun 2011 20:10:54 +0000 (13:10 -0700)]
clear the top and bottom of the screen in death sequence (bug #2572)

12 years agofix for death-sequence and sdl segfault in 320xXXX
Bradley Bell [Fri, 10 Jun 2011 11:48:50 +0000 (04:48 -0700)]
fix for death-sequence and sdl segfault in 320xXXX

17 years agoamd64 fixes
Bradley Bell [Wed, 31 Jan 2007 04:20:05 +0000 (04:20 +0000)]
amd64 fixes

17 years agoallow universal binaries to be built using Xcode 2.2 or later
Chris Taylor [Sat, 16 Dec 2006 01:28:53 +0000 (01:28 +0000)]
allow universal binaries to be built using Xcode 2.2 or later

17 years agodivide negative window x-coordinates properly, fixing random crashes
Chris Taylor [Wed, 13 Dec 2006 07:09:24 +0000 (07:09 +0000)]
divide negative window x-coordinates properly, fixing random crashes

17 years agoadd main as an include path for strutil.c, should have done this on 2006-02-26
Chris Taylor [Sun, 3 Dec 2006 06:43:22 +0000 (06:43 +0000)]
add main as an include path for strutil.c, should have done this on 2006-02-26

17 years agofix assemble error for gas (fix bug #2312)
Chris Taylor [Sun, 3 Dec 2006 03:12:25 +0000 (03:12 +0000)]
fix assemble error for gas (fix bug #2312)

17 years agodivide negative light rates of change properly (fix bug #2575)
Chris Taylor [Sat, 2 Dec 2006 12:52:59 +0000 (12:52 +0000)]
divide negative light rates of change properly (fix bug #2575)

17 years agoonly autoselect a secondary weapon if the player didn't have any of that type before...
Chris Taylor [Fri, 1 Dec 2006 12:55:20 +0000 (12:55 +0000)]
only autoselect a secondary weapon if the player didn't have any of that type before (fix bug #2671)

17 years agoavoid loading OpenGL textures before they have been paged in, bug found by loading...
Chris Taylor [Thu, 30 Nov 2006 13:42:20 +0000 (13:42 +0000)]
avoid loading OpenGL textures before they have been paged in, bug found by loading Abalyon 5

17 years agofix screenshot corruption, use PhysicsFS to check for existing screenshots
Chris Taylor [Sun, 26 Nov 2006 06:13:35 +0000 (06:13 +0000)]
fix screenshot corruption, use PhysicsFS to check for existing screenshots

17 years agosmall brace tidy up to allow a source code editor to list all the functions
Chris Taylor [Sun, 26 Nov 2006 01:05:24 +0000 (01:05 +0000)]
small brace tidy up to allow a source code editor to list all the functions

17 years agoalways show bomb count if player has them
Chris Taylor [Sat, 29 Jul 2006 04:15:55 +0000 (04:15 +0000)]
always show bomb count if player has them

17 years agomove PhysicsFS initialisation, search path setup and argument reading to physfsx.h
Chris Taylor [Sat, 29 Jul 2006 04:02:49 +0000 (04:02 +0000)]
move PhysicsFS initialisation, search path setup and argument reading to physfsx.h

17 years agomove titles, loading screen and order form showing to titles.c
Chris Taylor [Sat, 29 Jul 2006 03:49:00 +0000 (03:49 +0000)]
move titles, loading screen and order form showing to titles.c

17 years agomove hoard data saving from main to save_hoard_data
Chris Taylor [Thu, 27 Jul 2006 10:07:31 +0000 (10:07 +0000)]
move hoard data saving from main to save_hoard_data

17 years agomake the thumbnail properly when doing fast save in d2xgl
Chris Taylor [Mon, 24 Jul 2006 08:20:39 +0000 (08:20 +0000)]
make the thumbnail properly when doing fast save in d2xgl

17 years agoadd references to headers in main for SCM and batch find
Chris Taylor [Wed, 12 Jul 2006 13:51:44 +0000 (13:51 +0000)]
add references to headers in main for SCM and batch find

17 years agoonly free the gauge canvases when they exist
Chris Taylor [Sun, 9 Jul 2006 14:58:43 +0000 (14:58 +0000)]
only free the gauge canvases when they exist

17 years agodon't allow MPW build to run in OS X (it won't work and doesn't need to)
Chris Taylor [Sun, 9 Jul 2006 08:25:52 +0000 (08:25 +0000)]
don't allow MPW build to run in OS X (it won't work and doesn't need to)

17 years agofix crash when a robot's guided missile explodes
Chris Taylor [Sun, 9 Jul 2006 03:25:10 +0000 (03:25 +0000)]
fix crash when a robot's guided missile explodes

17 years agofix error when building editor with RELEASE
Chris Taylor [Mon, 5 Jun 2006 07:14:39 +0000 (07:14 +0000)]
fix error when building editor with RELEASE

17 years agothe gauges work in 320xXXX (sdl) again. It needs to create gauge canvases in the...
Chris Taylor [Sat, 3 Jun 2006 12:54:03 +0000 (12:54 +0000)]
the gauges work in 320xXXX (sdl) again. It needs to create gauge canvases in the game when they're sub-canvases, which they were made into on 2005-08-13

18 years agoallow the editor to be built with NDEBUG
Chris Taylor [Sun, 5 Mar 2006 12:20:16 +0000 (12:20 +0000)]
allow the editor to be built with NDEBUG

18 years agocreate write directory if it doesn't exist (didn't work before)
Chris Taylor [Sun, 5 Mar 2006 11:10:46 +0000 (11:10 +0000)]
create write directory if it doesn't exist (didn't work before)

18 years agowith the editor built, don't make .txm files when a level is loaded (only make them...
Chris Taylor [Sun, 26 Feb 2006 06:17:16 +0000 (06:17 +0000)]
with the editor built, don't make .txm files when a level is loaded (only make them when saving levels)

18 years agoshow the death sequence for d2x-gl (fix bug #2513)
Chris Taylor [Sun, 26 Feb 2006 05:55:22 +0000 (05:55 +0000)]
show the death sequence for d2x-gl (fix bug #2513)

18 years agomove change_filename_ext to strutil.c, rename to (and remove old) change_filename_ext...
Chris Taylor [Sun, 26 Feb 2006 02:29:42 +0000 (02:29 +0000)]
move change_filename_ext to strutil.c, rename to (and remove old) change_filename_extension, add an assert and make it use strrchr

18 years agowhen breaking a light, allow segment light to change by more than F1_0
Chris Taylor [Sat, 25 Feb 2006 06:16:07 +0000 (06:16 +0000)]
when breaking a light, allow segment light to change by more than F1_0

18 years agocomplete removal of 7th option in Options menu, hopefully fixing bug #2514
Chris Taylor [Sat, 25 Feb 2006 05:43:58 +0000 (05:43 +0000)]
complete removal of 7th option in Options menu, hopefully fixing bug #2514

18 years agorestore the old canvas after showing a menu, avoiding potential problems
Chris Taylor [Fri, 24 Feb 2006 06:19:40 +0000 (06:19 +0000)]
restore the old canvas after showing a menu, avoiding potential problems

18 years agomake sure the correct font is used (whoops)
Chris Taylor [Fri, 24 Feb 2006 06:08:51 +0000 (06:08 +0000)]
make sure the correct font is used (whoops)

18 years agofor Descent 1 briefings, look for briefings no further than NUM_D1_BRIEFING_SCREENS...
Chris Taylor [Tue, 29 Nov 2005 09:45:02 +0000 (09:45 +0000)]
for Descent 1 briefings, look for briefings no further than NUM_D1_BRIEFING_SCREENS (fix bug #2270)

18 years agomake super transparent textures have alpha
Chris Taylor [Mon, 7 Nov 2005 15:37:18 +0000 (15:37 +0000)]
make super transparent textures have alpha

18 years agodraw all gauges properly when using the cockpit in d2x-gl, including the energy bars...
Chris Taylor [Sat, 13 Aug 2005 07:04:55 +0000 (07:04 +0000)]
draw all gauges properly when using the cockpit in d2x-gl, including the energy bars when empty

18 years agoget the cockpit to show with d2x-gl (actually committed!)
Chris Taylor [Sun, 7 Aug 2005 09:58:33 +0000 (09:58 +0000)]
get the cockpit to show with d2x-gl (actually committed!)

18 years agoget the cockpit to show with d2x-gl
Chris Taylor [Sat, 6 Aug 2005 14:55:59 +0000 (14:55 +0000)]
get the cockpit to show with d2x-gl

18 years agoprint the command line help properly
Chris Taylor [Sat, 6 Aug 2005 13:50:47 +0000 (13:50 +0000)]
print the command line help properly

18 years agomust_free_canvas isn't used when AUTOMAP_DIRECT_RENDER is defined (whoops)
Chris Taylor [Sat, 6 Aug 2005 09:16:54 +0000 (09:16 +0000)]
must_free_canvas isn't used when AUTOMAP_DIRECT_RENDER is defined (whoops)

18 years agoremove DirectDraw use and Windows mouse stuff made redundant by SDL (lots of WINDOWS...
Chris Taylor [Tue, 2 Aug 2005 06:15:08 +0000 (06:15 +0000)]
remove DirectDraw use and Windows mouse stuff made redundant by SDL (lots of WINDOWS code). Makes cockpit draw properly in SDL

18 years agoremove pixel double code
Chris Taylor [Sat, 30 Jul 2005 09:17:36 +0000 (09:17 +0000)]
remove pixel double code

18 years agoremove all the redundant Polygon Acceleration stuff: fix compiling errors (whoops)
Chris Taylor [Sat, 30 Jul 2005 08:16:13 +0000 (08:16 +0000)]
remove all the redundant Polygon Acceleration stuff: fix compiling errors (whoops)

18 years agoremove old _3DFX code
Chris Taylor [Sat, 30 Jul 2005 07:48:55 +0000 (07:48 +0000)]
remove old _3DFX code

18 years agoremove all the redundant Polygon Acceleration stuff (include/pa_enabl.h)
Chris Taylor [Sat, 30 Jul 2005 01:52:17 +0000 (01:52 +0000)]
remove all the redundant Polygon Acceleration stuff (include/pa_enabl.h)

18 years agoonly shoot when fire button down (fix bug #2271)
Chris Taylor [Fri, 29 Jul 2005 07:51:47 +0000 (07:51 +0000)]
only shoot when fire button down (fix bug #2271)

18 years agoshow some missing wide 1's (bug #2269)
Chris Taylor [Fri, 29 Jul 2005 03:51:59 +0000 (03:51 +0000)]
show some missing wide 1's (bug #2269)

18 years agoshow gauges in SDL (help fix bug #2267)
Chris Taylor [Thu, 28 Jul 2005 01:41:15 +0000 (01:41 +0000)]
show gauges in SDL (help fix bug #2267)

18 years agobuild the editor by default
Chris Taylor [Wed, 27 Jul 2005 05:02:47 +0000 (05:02 +0000)]
build the editor by default

18 years agoavoid assignments between sbyte * and char *, ubyte * and char * to fix warnings...
Chris Taylor [Mon, 25 Jul 2005 04:10:24 +0000 (04:10 +0000)]
avoid assignments between sbyte * and char *, ubyte * and char * to fix warnings with gcc 4.0

18 years agono checking if obj->id > -1 (it's unsigned)
Chris Taylor [Mon, 25 Jul 2005 03:50:37 +0000 (03:50 +0000)]
no checking if obj->id > -1 (it's unsigned)

18 years agocast some fprintf arguments to int, to fix warnings
Chris Taylor [Mon, 25 Jul 2005 03:35:25 +0000 (03:35 +0000)]
cast some fprintf arguments to int, to fix warnings

18 years agomain/bmread.c: call file static var 'time' 'play_time' instead, because of conflict...
Chris Taylor [Sun, 24 Jul 2005 09:22:34 +0000 (09:22 +0000)]
main/bmread.c: call file static var 'time' 'play_time' instead, because of conflict with function 'time' in /usr/include/time.h (Mac OS X 10.4)

18 years agoremove duplicate tmap_xlate_table
Chris Taylor [Fri, 22 Jul 2005 11:03:47 +0000 (11:03 +0000)]
remove duplicate tmap_xlate_table

18 years agofix pointer mismatches, warnings are errors again
Chris Taylor [Thu, 21 Jul 2005 09:37:39 +0000 (09:37 +0000)]
fix pointer mismatches, warnings are errors again

18 years agomake file paths relative to project, add some files (so it builds), warnings are...
Chris Taylor [Thu, 21 Jul 2005 08:16:45 +0000 (08:16 +0000)]
make file paths relative to project, add some files (so it builds), warnings are not errors (ubyte *, sbyte * mismatches found when using gcc 4.0)

18 years agoadd ui_radio_set_value, draw an "O" in the current radio button
Chris Taylor [Sun, 3 Jul 2005 13:12:47 +0000 (13:12 +0000)]
add ui_radio_set_value, draw an "O" in the current radio button

18 years agoadd ui_inputbox_set_text
Chris Taylor [Sun, 3 Jul 2005 03:08:25 +0000 (03:08 +0000)]
add ui_inputbox_set_text

18 years agoadd ui_checkbox_check
Chris Taylor [Fri, 1 Jul 2005 09:52:29 +0000 (09:52 +0000)]
add ui_checkbox_check

18 years agoadd level component saving functions which use PhysicsFS (didn't commit properly...
Chris Taylor [Fri, 24 Jun 2005 05:56:08 +0000 (05:56 +0000)]
add level component saving functions which use PhysicsFS (didn't commit properly on 2005-06-22)

18 years agodescribe new directory system and mention recursive mission searching
Chris Taylor [Thu, 23 Jun 2005 07:36:54 +0000 (07:36 +0000)]
describe new directory system and mention recursive mission searching

18 years agouse PhysicsFS for saving levels
Chris Taylor [Wed, 22 Jun 2005 09:42:30 +0000 (09:42 +0000)]
use PhysicsFS for saving levels

18 years agoadd function for converting descent 2 texture numbers back to descent 1 texture numbers
Chris Taylor [Wed, 22 Jun 2005 09:22:16 +0000 (09:22 +0000)]
add function for converting descent 2 texture numbers back to descent 1 texture numbers

18 years agoadd level component saving functions which use PhysicsFS
Chris Taylor [Wed, 22 Jun 2005 09:09:46 +0000 (09:09 +0000)]
add level component saving functions which use PhysicsFS

18 years agoload .rl2 files instead of .lvl files
Chris Taylor [Wed, 22 Jun 2005 08:58:11 +0000 (08:58 +0000)]
load .rl2 files instead of .lvl files

18 years agomake sure there is a path to free for D2 Demo/OEM
Chris Taylor [Tue, 14 Jun 2005 07:58:26 +0000 (07:58 +0000)]
make sure there is a path to free for D2 Demo/OEM

18 years agoadded PHYSFSX_printf
Chris Taylor [Mon, 13 Jun 2005 11:22:02 +0000 (11:22 +0000)]
added PHYSFSX_printf

18 years agoadded PHYSFSX_writeVector, PHYSFSX_writeAngleVec and PHYSFSX_writeMatrix
Chris Taylor [Mon, 13 Jun 2005 09:36:45 +0000 (09:36 +0000)]
added PHYSFSX_writeVector, PHYSFSX_writeAngleVec and PHYSFSX_writeMatrix

18 years agoconvert_d1_tmap_num now returns 193 for texture number 198 to maintain bijectivity
Chris Taylor [Mon, 13 Jun 2005 03:05:45 +0000 (03:05 +0000)]
convert_d1_tmap_num now returns 193 for texture number 198 to maintain bijectivity

19 years agofix some bugs in joystick initialization
Bradley Bell [Tue, 5 Apr 2005 07:35:09 +0000 (07:35 +0000)]
fix some bugs in joystick initialization

19 years agocosmetic fixes to joystick config screen
Bradley Bell [Mon, 4 Apr 2005 09:48:50 +0000 (09:48 +0000)]
cosmetic fixes to joystick config screen

19 years agochange MAX_BUTTONS to JOY_MAX_BUTTONS
Bradley Bell [Mon, 4 Apr 2005 09:21:25 +0000 (09:21 +0000)]
change MAX_BUTTONS to JOY_MAX_BUTTONS

19 years agochange MAX_BUTTONS to JOY_MAX_BUTTONS
Bradley Bell [Mon, 4 Apr 2005 09:18:08 +0000 (09:18 +0000)]
change MAX_BUTTONS to JOY_MAX_BUTTONS

19 years agodon't use hardcoded descriptions of joystick buttons/axes
Bradley Bell [Mon, 4 Apr 2005 08:56:34 +0000 (08:56 +0000)]
don't use hardcoded descriptions of joystick buttons/axes

19 years agodon't play midi if -nosound
Bradley Bell [Mon, 4 Apr 2005 08:54:12 +0000 (08:54 +0000)]
don't play midi if -nosound

19 years agoremove redundant joy_init()
Bradley Bell [Mon, 4 Apr 2005 08:42:17 +0000 (08:42 +0000)]
remove redundant joy_init()

19 years agoset Highest_vertex_index and Highest_segment_index to 0 when creating a new mine...
Chris Taylor [Fri, 1 Apr 2005 12:41:47 +0000 (12:41 +0000)]
set Highest_vertex_index and Highest_segment_index to 0 when creating a new mine (avoids problems with saving when another level was previously loaded)

19 years ago"Go to Main Menu" now works in editor
Chris Taylor [Fri, 1 Apr 2005 03:21:32 +0000 (03:21 +0000)]
"Go to Main Menu" now works in editor

19 years agono using TmapList, initialise texture category globals, no CurrentTmap (just use...
Chris Taylor [Thu, 31 Mar 2005 13:21:47 +0000 (13:21 +0000)]
no using TmapList, initialise texture category globals, no CurrentTmap (just use CurrentTexture)

19 years agoremove ObjType, ObjId, ObjStrength and OL_ constants; use "object" instead of "robot...
Chris Taylor [Thu, 31 Mar 2005 09:38:53 +0000 (09:38 +0000)]
remove ObjType, ObjId, ObjStrength and OL_ constants; use "object" instead of "robot" in some places; draw and place reactors with correct modelnum

19 years agoremove obsolete malloc.h
Bradley Bell [Tue, 29 Mar 2005 20:45:38 +0000 (20:45 +0000)]
remove obsolete malloc.h

19 years agoadd some stuff to dist
Bradley Bell [Mon, 21 Mar 2005 04:16:11 +0000 (04:16 +0000)]
add some stuff to dist

19 years agoFixed console cursor positioning.
Bradley Bell [Sun, 20 Mar 2005 13:15:10 +0000 (13:15 +0000)]
Fixed console cursor positioning.

19 years agoadded MAX_FPS constant
Bradley Bell [Sun, 20 Mar 2005 12:53:33 +0000 (12:53 +0000)]
added MAX_FPS constant

19 years agoFixed console cursor positioning.
Bradley Bell [Sun, 20 Mar 2005 12:21:11 +0000 (12:21 +0000)]
Fixed console cursor positioning.

19 years agomight as well start using GMT
Bradley Bell [Sun, 20 Mar 2005 04:10:39 +0000 (04:10 +0000)]
might as well start using GMT

19 years agorevert to Error if text file not found.
Bradley Bell [Sun, 20 Mar 2005 04:05:32 +0000 (04:05 +0000)]
revert to Error if text file not found.

19 years agoAdd file ui/.cvsignore
Martin Schaffner [Sun, 20 Mar 2005 01:10:03 +0000 (01:10 +0000)]
Add file ui/.cvsignore

19 years agoAdd RCS ID tag
Bradley Bell [Fri, 18 Mar 2005 03:42:58 +0000 (03:42 +0000)]
Add RCS ID tag

19 years agoAdd RCS ID tag
Bradley Bell [Fri, 18 Mar 2005 03:42:43 +0000 (03:42 +0000)]
Add RCS ID tag

19 years agoUpdate SDL to 1.2.8
Bradley Bell [Fri, 18 Mar 2005 03:13:08 +0000 (03:13 +0000)]
Update SDL to 1.2.8

19 years agouse hardcoded value instead of sizeof(tmap_info), since size depends on whether edito...
Bradley Bell [Wed, 16 Mar 2005 23:06:14 +0000 (23:06 +0000)]
use hardcoded value instead of sizeof(tmap_info), since size depends on whether editor is built or not.

19 years agogcc doesn't like multi-line // comments
Bradley Bell [Wed, 16 Mar 2005 20:49:39 +0000 (20:49 +0000)]
gcc doesn't like multi-line // comments

19 years agoget rid of compiler warnings
Bradley Bell [Wed, 16 Mar 2005 20:47:20 +0000 (20:47 +0000)]
get rid of compiler warnings

19 years agoDisabled shading of flat (non-textured) polygons. Fixes laser and plasma lighting...
Bradley Bell [Wed, 16 Mar 2005 01:56:24 +0000 (01:56 +0000)]
Disabled shading of flat (non-textured) polygons. Fixes laser and plasma lighting bug, hopefully doesn't break anything else.

19 years agoFix crash if Num_walls=0
Bradley Bell [Tue, 15 Mar 2005 21:16:32 +0000 (21:16 +0000)]
Fix crash if Num_walls=0

19 years agoenable editor in unix-style builds
Bradley Bell [Sat, 12 Mar 2005 23:26:48 +0000 (23:26 +0000)]
enable editor in unix-style builds

19 years agocould check reactor model num, don't check reactor object shields (not used anyway...
Chris Taylor [Sat, 12 Mar 2005 07:50:53 +0000 (07:50 +0000)]
could check reactor model num, don't check reactor object shields (not used anyway, it's stored/calculated elsewhere)

19 years agocheck the uvs after they're assigned, not before
Chris Taylor [Sun, 6 Mar 2005 08:25:52 +0000 (08:25 +0000)]
check the uvs after they're assigned, not before