]> icculus.org git repositories - btb/d2x.git/log
btb/d2x.git
19 years agofix MPW compiler errors
Bradley Bell [Fri, 17 Dec 2004 14:17:03 +0000 (14:17 +0000)]
fix MPW compiler errors

19 years agocompile as a classic powerpc app in MPW
Bradley Bell [Fri, 17 Dec 2004 14:06:14 +0000 (14:06 +0000)]
compile as a classic powerpc app in MPW

19 years agoImplement strdup for MPW
Bradley Bell [Fri, 17 Dec 2004 14:02:54 +0000 (14:02 +0000)]
Implement strdup for MPW

19 years agofix compiler errors in MPW w/o OpenGL
Bradley Bell [Fri, 17 Dec 2004 13:42:11 +0000 (13:42 +0000)]
fix compiler errors in MPW w/o OpenGL

19 years agoforce gr_update() so screens always show in OpenGL
Bradley Bell [Fri, 17 Dec 2004 13:32:50 +0000 (13:32 +0000)]
force gr_update() so screens always show in OpenGL

19 years agoadded fast save
Bradley Bell [Fri, 17 Dec 2004 13:17:46 +0000 (13:17 +0000)]
added fast save

19 years agoopen autosave file for writing, not reading
Bradley Bell [Fri, 17 Dec 2004 09:16:59 +0000 (09:16 +0000)]
open autosave file for writing, not reading

19 years agoPrint only mildly interesting messages to stderr.txt. (revert earlier carbon changes)
Bradley Bell [Tue, 7 Dec 2004 22:37:55 +0000 (22:37 +0000)]
Print only mildly interesting messages to stderr.txt. (revert earlier carbon changes)

19 years agoInitialise the dataptr member correctly.
Bradley Bell [Tue, 7 Dec 2004 22:26:01 +0000 (22:26 +0000)]
Initialise the dataptr member correctly.

19 years agoremove misc/d_io.c
Martin Schaffner [Sun, 5 Dec 2004 12:46:59 +0000 (12:46 +0000)]
remove misc/d_io.c

19 years agogetRealPath uses the write directory if it can't get the real directory
Bradley Bell [Sun, 5 Dec 2004 10:56:32 +0000 (10:56 +0000)]
getRealPath uses the write directory if it can't get the real directory

19 years agouse PATH_MAX for hog pathname, ensure correct translation of path separators
Bradley Bell [Sat, 4 Dec 2004 04:07:16 +0000 (04:07 +0000)]
use PATH_MAX for hog pathname, ensure correct translation of path separators

19 years agoset builtin_hogsize to 0 for the Descent 1 built-in mission
Bradley Bell [Sat, 4 Dec 2004 04:03:10 +0000 (04:03 +0000)]
set builtin_hogsize to 0 for the Descent 1 built-in mission

19 years agoifix stricmp and strnicmp
Martin Schaffner [Fri, 3 Dec 2004 18:39:20 +0000 (18:39 +0000)]
ifix stricmp and strnicmp

19 years agodon't die if title screens not found
Bradley Bell [Fri, 3 Dec 2004 10:39:49 +0000 (10:39 +0000)]
don't die if title screens not found

19 years agodisable call to reset_cockpit() which was causing the 'letterbox' bug
Bradley Bell [Fri, 3 Dec 2004 10:06:22 +0000 (10:06 +0000)]
disable call to reset_cockpit() which was causing the 'letterbox' bug

19 years agouse sprintf in PHYSFSX_getRealPath() because I couldn't figure out why the previous...
Bradley Bell [Fri, 3 Dec 2004 07:29:32 +0000 (07:29 +0000)]
use sprintf in PHYSFSX_getRealPath() because I couldn't figure out why the previous code kept segfaulting under linux.

19 years agorequire PhysicsFS header and library
Martin Schaffner [Thu, 2 Dec 2004 18:30:54 +0000 (18:30 +0000)]
require PhysicsFS header and library

19 years agoremove mission list from global memory
Martin Schaffner [Thu, 2 Dec 2004 16:50:20 +0000 (16:50 +0000)]
remove mission list from global memory

19 years agopass individual mission around instead of whole list
Martin Schaffner [Thu, 2 Dec 2004 16:46:33 +0000 (16:46 +0000)]
pass individual mission around instead of whole list

19 years agoset builtin_hogsize for non-built-in missions
Martin Schaffner [Thu, 2 Dec 2004 16:41:54 +0000 (16:41 +0000)]
set builtin_hogsize for non-built-in missions

19 years agofix build on Carbon by adding digiobj.c
Martin Schaffner [Thu, 2 Dec 2004 16:32:42 +0000 (16:32 +0000)]
fix build on Carbon by adding digiobj.c

19 years agofix cfile bugs from recent changes
Martin Schaffner [Thu, 2 Dec 2004 16:27:29 +0000 (16:27 +0000)]
fix cfile bugs from recent changes

19 years agofix RELEASE build, make sure path separator gets added to hogdir
Bradley Bell [Thu, 2 Dec 2004 09:48:57 +0000 (09:48 +0000)]
fix RELEASE build, make sure path separator gets added to hogdir

19 years agoUpdated MSVC build, now uses dynamic opengl loading
Bradley Bell [Thu, 2 Dec 2004 08:52:59 +0000 (08:52 +0000)]
Updated MSVC build, now uses dynamic opengl loading

19 years agoMake cfopen into an inline, where a read buffer is set up. This speeds up loading...
Bradley Bell [Wed, 1 Dec 2004 13:01:00 +0000 (13:01 +0000)]
Make cfopen into an inline, where a read buffer is set up.  This speeds up loading significantly.

19 years agoadd PhysicsFS to the required 'tools' in README, and instructions for building in...
Bradley Bell [Wed, 1 Dec 2004 12:54:15 +0000 (12:54 +0000)]
add PhysicsFS to the required 'tools' in README, and instructions for building in MPW.

19 years agoDon't compile cfile.c on Mac OS 9.
Bradley Bell [Wed, 1 Dec 2004 12:52:02 +0000 (12:52 +0000)]
Don't compile cfile.c on Mac OS 9.

19 years agomerged physfs branch
Bradley Bell [Wed, 1 Dec 2004 12:48:13 +0000 (12:48 +0000)]
merged physfs branch

19 years agoAssign result of cfilelength to an int, MPW doesn't like switches of long longs
Bradley Bell [Wed, 1 Dec 2004 08:24:55 +0000 (08:24 +0000)]
Assign result of cfilelength to an int, MPW doesn't like switches of long longs

19 years agoGet rid of MIN redefinition.
Bradley Bell [Wed, 1 Dec 2004 06:57:28 +0000 (06:57 +0000)]
Get rid of MIN redefinition.

19 years agoDon't use D2XFolder, because the userdir can now be specified in Mac OS 9. Putting...
Bradley Bell [Wed, 1 Dec 2004 06:42:13 +0000 (06:42 +0000)]
Don't use D2XFolder, because the userdir can now be specified in Mac OS 9.  Putting it in the source code folder is more convenient.  Turn debugging on.  Don't compile old files, compile new ones.  Add the PhysicsFS library.

19 years agoadded stuff to .cvsignore
Bradley Bell [Wed, 1 Dec 2004 05:53:22 +0000 (05:53 +0000)]
added stuff to .cvsignore

19 years agokludge to keep from hanging on MinGW
Bradley Bell [Mon, 29 Nov 2004 08:01:47 +0000 (08:01 +0000)]
kludge to keep from hanging on MinGW

19 years agouse d2src system for persistent sounds
Bradley Bell [Mon, 29 Nov 2004 07:34:27 +0000 (07:34 +0000)]
use d2src system for persistent sounds

19 years agooriginal prototype in d2src is wrong, I guess
Bradley Bell [Mon, 29 Nov 2004 06:09:06 +0000 (06:09 +0000)]
original prototype in d2src is wrong, I guess

19 years agoripped object stuff out of digi.c, now using digiobj.c. get rid of a bunch of kludges...
Bradley Bell [Mon, 29 Nov 2004 05:25:58 +0000 (05:25 +0000)]
ripped object stuff out of digi.c, now using digiobj.c. get rid of a bunch of kludges, sound should be more true to original game now

19 years agoput sdl.m4 in acinclude.m4, to make autogen simpler
Bradley Bell [Sun, 28 Nov 2004 23:42:38 +0000 (23:42 +0000)]
put sdl.m4 in acinclude.m4, to make autogen simpler

19 years agoadded function to properly decode multi-line strings
Bradley Bell [Sun, 28 Nov 2004 07:32:12 +0000 (07:32 +0000)]
added function to properly decode multi-line strings

19 years agoenabled midi on win32
Bradley Bell [Sun, 28 Nov 2004 05:16:38 +0000 (05:16 +0000)]
enabled midi on win32

19 years agoformatting
Bradley Bell [Sat, 27 Nov 2004 12:34:44 +0000 (12:34 +0000)]
formatting

19 years agobetter fix for model data freeing bug
Bradley Bell [Sat, 27 Nov 2004 12:28:10 +0000 (12:28 +0000)]
better fix for model data freeing bug

19 years agoenable logo screens for shareware/oem
Bradley Bell [Sat, 27 Nov 2004 11:55:10 +0000 (11:55 +0000)]
enable logo screens for shareware/oem

19 years agofix d1 briefing glitches
Bradley Bell [Sat, 27 Nov 2004 05:10:33 +0000 (05:10 +0000)]
fix d1 briefing glitches

19 years agofree up cpu by not calling timer_delay so many times
Bradley Bell [Sat, 27 Nov 2004 02:05:57 +0000 (02:05 +0000)]
free up cpu by not calling timer_delay so many times

19 years agoreduce flickering in credits w/opengl
Bradley Bell [Fri, 26 Nov 2004 10:08:34 +0000 (10:08 +0000)]
reduce flickering in credits w/opengl

19 years agodisable Assert so the credits work in opengl (gl doesn't care if it draws offscreen...
Bradley Bell [Fri, 26 Nov 2004 09:50:32 +0000 (09:50 +0000)]
disable Assert so the credits work in opengl (gl doesn't care if it draws offscreen, I guess)

19 years agodisable Assert so the credits work in opengl (gl doesn't care if it draws offscreen...
Bradley Bell [Fri, 26 Nov 2004 09:48:28 +0000 (09:48 +0000)]
disable Assert so the credits work in opengl (gl doesn't care if it draws offscreen, I guess)

19 years agoenable briefing screens for mac shareware
Bradley Bell [Fri, 26 Nov 2004 09:45:29 +0000 (09:45 +0000)]
enable briefing screens for mac shareware

19 years agofixed opengl menu font bug, caused by doing arithmetic on signed chars.
Bradley Bell [Thu, 25 Nov 2004 11:52:27 +0000 (11:52 +0000)]
fixed opengl menu font bug, caused by doing arithmetic on signed chars.

19 years agofixed opengl menu font bug, caused by doing arithmetic on signed chars.
Bradley Bell [Thu, 25 Nov 2004 11:51:14 +0000 (11:51 +0000)]
fixed opengl menu font bug, caused by doing arithmetic on signed chars.

19 years agoget rid of clipping in ogl_internal_string, causes garbage on windows for some reason.
Bradley Bell [Thu, 25 Nov 2004 09:52:53 +0000 (09:52 +0000)]
get rid of clipping in ogl_internal_string, causes garbage on windows for some reason.

19 years agodepend on libsdl1.2-dev instead of libsdl-dev
Bradley Bell [Wed, 24 Nov 2004 07:45:33 +0000 (07:45 +0000)]
depend on libsdl1.2-dev instead of libsdl-dev

19 years agoFix sdl joystick axis problem, all arch use global variable joy_num_axes
Bradley Bell [Tue, 23 Nov 2004 00:16:10 +0000 (00:16 +0000)]
Fix sdl joystick axis problem, all arch use global variable joy_num_axes

19 years agoFix sdl joystick axis problem, all arch use global variable joy_num_axes
Bradley Bell [Mon, 22 Nov 2004 23:32:54 +0000 (23:32 +0000)]
Fix sdl joystick axis problem, all arch use global variable joy_num_axes

19 years agodon't Int3() every time explosions don't look best
Martin Schaffner [Fri, 19 Nov 2004 19:18:42 +0000 (19:18 +0000)]
don't Int3() every time explosions don't look best

19 years agofix bug where loading a hxm would affect other levels too
Martin Schaffner [Fri, 19 Nov 2004 18:56:32 +0000 (18:56 +0000)]
fix bug where loading a hxm would affect other levels too

19 years agofor enhanced missions, load add-on ham file at every load, not only 1st
Martin Schaffner [Fri, 19 Nov 2004 18:42:48 +0000 (18:42 +0000)]
for enhanced missions, load add-on ham file at every load, not only 1st

19 years agodon't corrupt model_data, so it can be freed properly
Martin Schaffner [Fri, 19 Nov 2004 18:29:20 +0000 (18:29 +0000)]
don't corrupt model_data, so it can be freed properly

19 years agocompile again on older C compilers
Martin Schaffner [Fri, 19 Nov 2004 18:02:32 +0000 (18:02 +0000)]
compile again on older C compilers

19 years agofix Mac OS 9 bug with missions > 12 chars
Martin Schaffner [Tue, 16 Nov 2004 20:04:11 +0000 (20:04 +0000)]
fix Mac OS 9 bug with missions > 12 chars

19 years agomake Mac OS X OpenGL verify textures
Martin Schaffner [Sun, 14 Nov 2004 09:50:36 +0000 (09:50 +0000)]
make Mac OS X OpenGL verify textures

19 years agomake Mac OS 9 Voodoo display textures
Martin Schaffner [Sun, 14 Nov 2004 09:34:23 +0000 (09:34 +0000)]
make Mac OS 9 Voodoo display textures

19 years agoread descent 1 textures also from shareware version of descent.hog. This is not yet...
Martin Schaffner [Sat, 30 Oct 2004 18:34:28 +0000 (18:34 +0000)]
read descent 1 textures also from shareware version of descent.hog. This is not yet bug-free

19 years agofix crash introduced with previous change
Martin Schaffner [Sat, 30 Oct 2004 10:30:57 +0000 (10:30 +0000)]
fix crash introduced with previous change

19 years agomove all mission stuff to mission.{c,h}, make mission structre memory allocated
Martin Schaffner [Sun, 24 Oct 2004 12:46:49 +0000 (12:46 +0000)]
move all mission stuff to mission.{c,h}, make mission structre memory allocated

19 years agoadd comment
Martin Schaffner [Sat, 23 Oct 2004 21:20:19 +0000 (21:20 +0000)]
add comment

19 years agoremove warning created by the fix for the cfgets issue of 2004-08-29
Martin Schaffner [Sat, 23 Oct 2004 20:53:08 +0000 (20:53 +0000)]
remove warning created by the fix for the cfgets issue of 2004-08-29

19 years agoremove explicit uses of mission list
Martin Schaffner [Sat, 23 Oct 2004 19:39:35 +0000 (19:39 +0000)]
remove explicit uses of mission list

19 years agocorrect comments about anarchy-only
Martin Schaffner [Sat, 23 Oct 2004 19:15:46 +0000 (19:15 +0000)]
correct comments about anarchy-only

19 years agoremove unnecessary build_mission_list call
Martin Schaffner [Sat, 23 Oct 2004 19:09:58 +0000 (19:09 +0000)]
remove unnecessary build_mission_list call

19 years agomove mission list handling functionality to mission.c, remove unnecessary load_missio...
Martin Schaffner [Sat, 23 Oct 2004 18:59:02 +0000 (18:59 +0000)]
move mission list handling functionality to mission.c, remove unnecessary load_mission calls in menu.c

19 years agodelete file main/compbit.h and adapt users to use text.c/text.h
Martin Schaffner [Sat, 23 Oct 2004 17:42:13 +0000 (17:42 +0000)]
delete file main/compbit.h and adapt users to use text.c/text.h

19 years agodeclare variable on top of block
Martin Schaffner [Sat, 23 Oct 2004 16:28:32 +0000 (16:28 +0000)]
declare variable on top of block

19 years agomake it compile on Cygwin
Martin Schaffner [Thu, 21 Oct 2004 16:34:57 +0000 (16:34 +0000)]
make it compile on Cygwin

19 years agomake it compile on Cygwin
Martin Schaffner [Thu, 21 Oct 2004 16:33:11 +0000 (16:33 +0000)]
make it compile on Cygwin

19 years agoadd mprintf support for carbon (Mac OS 9)
Martin Schaffner [Thu, 14 Oct 2004 16:54:45 +0000 (16:54 +0000)]
add mprintf support for carbon (Mac OS 9)

19 years agofix crash on Mac OS X, probably fix bug 738
Martin Schaffner [Thu, 14 Oct 2004 16:43:23 +0000 (16:43 +0000)]
fix crash on Mac OS X, probably fix bug 738

19 years agofix bug uncovered by having fgets cut off ending \n
Martin Schaffner [Thu, 14 Oct 2004 16:30:56 +0000 (16:30 +0000)]
fix bug uncovered by having fgets cut off ending \n

19 years agofix bug 1675: use better d2 textures if d1 hog is present but not loadable
Martin Schaffner [Sat, 9 Oct 2004 21:52:43 +0000 (21:52 +0000)]
fix bug 1675: use better d2 textures if d1 hog is present but not loadable

19 years agocorrect warnings caused by change of 2004-09-30
Martin Schaffner [Sat, 9 Oct 2004 21:47:49 +0000 (21:47 +0000)]
correct warnings caused by change of 2004-09-30

19 years agouse new macros PLAYING_BUILTIN_MISSION and EMULATING_D1 for accessing information...
Martin Schaffner [Sat, 9 Oct 2004 15:59:28 +0000 (15:59 +0000)]
use new macros PLAYING_BUILTIN_MISSION and EMULATING_D1 for accessing information about the current mission, for easier code refactorisation
VS: ----------------------------------------------------------------------

19 years agosimplify cfile.c, reduce number of global vars
Martin Schaffner [Wed, 29 Sep 2004 22:40:28 +0000 (22:40 +0000)]
simplify cfile.c, reduce number of global vars

19 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

19 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

19 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

19 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

19 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

19 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

19 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

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

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