]> icculus.org git repositories - btb/d2x.git/log
btb/d2x.git
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

19 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

19 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

19 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

19 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

19 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

19 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

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

19 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

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

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

19 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

19 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

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

19 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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