]> icculus.org git repositories - btb/d2x.git/log
btb/d2x.git
19 years agoInclude strutil.h in func.c (for stricmp)
Martin Schaffner [Mon, 24 Jan 2005 22:07:43 +0000 (22:07 +0000)]
Include strutil.h in func.c (for stricmp)

19 years agochange curseg2p to Curseg2p
Martin Schaffner [Mon, 24 Jan 2005 22:05:14 +0000 (22:05 +0000)]
change curseg2p to Curseg2p

19 years agoonly include i86.h and malloc.h ifdef DO_MEMINFO
Martin Schaffner [Mon, 24 Jan 2005 21:59:35 +0000 (21:59 +0000)]
only include i86.h and malloc.h ifdef DO_MEMINFO

19 years agomove consts for WALL_IS_DOORWAY to header
Martin Schaffner [Mon, 24 Jan 2005 21:41:35 +0000 (21:41 +0000)]
move consts for WALL_IS_DOORWAY to header

19 years agodisable old hostage system in editor
Martin Schaffner [Mon, 24 Jan 2005 21:33:28 +0000 (21:33 +0000)]
disable old hostage system in editor

19 years agochange all functions in kfuncs.c to return int instead of void
Martin Schaffner [Mon, 24 Jan 2005 21:26:24 +0000 (21:26 +0000)]
change all functions in kfuncs.c to return int instead of void

19 years agofade ship and weapon gauge when appropriate
Martin Schaffner [Mon, 24 Jan 2005 21:20:40 +0000 (21:20 +0000)]
fade ship and weapon gauge when appropriate

19 years agobaptize the coefficients in vms_equation 'n'
Martin Schaffner [Mon, 24 Jan 2005 21:11:58 +0000 (21:11 +0000)]
baptize the coefficients in vms_equation 'n'

19 years agofix bug: some characters would not display because of signed/unsigned errors
Martin Schaffner [Mon, 24 Jan 2005 19:12:28 +0000 (19:12 +0000)]
fix bug: some characters would not display because of signed/unsigned errors

19 years agomake sure nocfile.h and cfile.h are never both included
Martin Schaffner [Sun, 23 Jan 2005 14:46:49 +0000 (14:46 +0000)]
make sure nocfile.h and cfile.h are never both included

19 years agochange cfopen to use buffers (speeding it up), and use cfopen instead of PHYSFS_openR...
Martin Schaffner [Sun, 23 Jan 2005 14:38:04 +0000 (14:38 +0000)]
change cfopen to use buffers (speeding it up), and use cfopen instead of PHYSFS_openRead/PHYSFS_openWrite where appropriate

19 years agodon't print OGL extensions, since this may crash for huge list of extensions
Martin Schaffner [Sun, 23 Jan 2005 13:48:35 +0000 (13:48 +0000)]
don't print OGL extensions, since this may crash for huge list of extensions

19 years agoredraw energy/afterburner gauges whenever necessary
Martin Schaffner [Sun, 23 Jan 2005 13:41:42 +0000 (13:41 +0000)]
redraw energy/afterburner gauges whenever necessary

19 years agoeven ifndef NETWORK do last level hack only on last level of built-in mission
Martin Schaffner [Sun, 23 Jan 2005 13:35:16 +0000 (13:35 +0000)]
even ifndef NETWORK do last level hack only on last level of built-in mission

19 years agofix bug #1676
Martin Schaffner [Mon, 10 Jan 2005 17:47:27 +0000 (17:47 +0000)]
fix bug #1676

19 years agomake automap fonts transparent
Bradley Bell [Sat, 8 Jan 2005 03:37:38 +0000 (03:37 +0000)]
make automap fonts transparent

19 years agofix problems with copying/deleting save files
Bradley Bell [Fri, 7 Jan 2005 22:34:33 +0000 (22:34 +0000)]
fix problems with copying/deleting save files

19 years agoIn Load Level, if there is no current mission, select one
Bradley Bell [Fri, 7 Jan 2005 21:58:42 +0000 (21:58 +0000)]
In Load Level, if there is no current mission, select one

19 years agoDraw ship before shields in HUD.
Bradley Bell [Thu, 6 Jan 2005 05:25:59 +0000 (05:25 +0000)]
Draw ship before shields in HUD.

19 years agoImplement fading in ogl_urect()
Bradley Bell [Thu, 6 Jan 2005 05:21:28 +0000 (05:21 +0000)]
Implement fading in ogl_urect()

19 years agoFree polymodel data before reloading ham file
Bradley Bell [Thu, 6 Jan 2005 03:59:32 +0000 (03:59 +0000)]
Free polymodel data before reloading ham file

19 years agoUse both ints with the robot producer flags.
Bradley Bell [Fri, 24 Dec 2004 05:55:56 +0000 (05:55 +0000)]
Use both ints with the robot producer flags.

19 years agoUse macros to use Segment2s when necessary.
Bradley Bell [Fri, 24 Dec 2004 05:17:09 +0000 (05:17 +0000)]
Use macros to use Segment2s when necessary.

19 years agofix occurrences of #ifdef __LINUX__
Bradley Bell [Tue, 21 Dec 2004 11:58:14 +0000 (11:58 +0000)]
fix occurrences of #ifdef __LINUX__

19 years agoSpecify that two functions return void.
Bradley Bell [Tue, 21 Dec 2004 11:24:23 +0000 (11:24 +0000)]
Specify that two functions return void.

19 years agoAdd function prototypes to remove warnings
Bradley Bell [Tue, 21 Dec 2004 11:14:47 +0000 (11:14 +0000)]
Add function prototypes to remove warnings

19 years agodon't duplicate the period in the filename
Bradley Bell [Tue, 21 Dec 2004 11:06:21 +0000 (11:06 +0000)]
don't duplicate the period in the filename

19 years agofix type mismatches
Bradley Bell [Mon, 20 Dec 2004 09:34:07 +0000 (09:34 +0000)]
fix type mismatches

19 years agoadd g3_uninit_polygon_model (doesn't do anything)
Bradley Bell [Mon, 20 Dec 2004 09:25:44 +0000 (09:25 +0000)]
add g3_uninit_polygon_model (doesn't do anything)

19 years agoadd missing includes
Bradley Bell [Mon, 20 Dec 2004 09:17:10 +0000 (09:17 +0000)]
add missing includes

19 years agoimplement removeext, use it in dsload instead of splitpath
Bradley Bell [Mon, 20 Dec 2004 07:12:25 +0000 (07:12 +0000)]
implement removeext, use it in dsload instead of splitpath

19 years agoUse PhysicsFS for making the hoard ham.
Bradley Bell [Mon, 20 Dec 2004 06:48:06 +0000 (06:48 +0000)]
Use PhysicsFS for making the hoard ham.

19 years agoEnable global structs for mine saving functions
Bradley Bell [Mon, 20 Dec 2004 06:34:42 +0000 (06:34 +0000)]
Enable global structs for mine saving functions

19 years agoPass the extra two parameters to get_seg_masks.
Bradley Bell [Mon, 20 Dec 2004 06:28:10 +0000 (06:28 +0000)]
Pass the extra two parameters to get_seg_masks.

19 years agofix ui Makefile.am
Bradley Bell [Sun, 19 Dec 2004 15:23:11 +0000 (15:23 +0000)]
fix ui Makefile.am

19 years agoinclude conf.h in new editor files
Bradley Bell [Sun, 19 Dec 2004 15:21:11 +0000 (15:21 +0000)]
include conf.h in new editor files

19 years agoMove old logs to ChangeLog-old
Bradley Bell [Sun, 19 Dec 2004 14:53:48 +0000 (14:53 +0000)]
Move old logs to ChangeLog-old

19 years agoMove old logs to ChangeLog-old
Bradley Bell [Sun, 19 Dec 2004 14:52:48 +0000 (14:52 +0000)]
Move old logs to ChangeLog-old

19 years agoifdef RCS for rcsid
Bradley Bell [Sun, 19 Dec 2004 14:10:42 +0000 (14:10 +0000)]
ifdef RCS for rcsid

19 years agobuild dumpmine.c for editor
Bradley Bell [Sun, 19 Dec 2004 13:56:37 +0000 (13:56 +0000)]
build dumpmine.c for editor

19 years agoimported missing editor files from d1x
Bradley Bell [Sun, 19 Dec 2004 13:54:27 +0000 (13:54 +0000)]
imported missing editor files from d1x

19 years agoadded Makefile.am for ui
Bradley Bell [Sun, 19 Dec 2004 13:27:31 +0000 (13:27 +0000)]
added Makefile.am for ui

19 years agomoved unused/ui to ui
Bradley Bell [Sun, 19 Dec 2004 13:17:44 +0000 (13:17 +0000)]
moved unused/ui to ui

19 years agomoved unused/ui to ui
Bradley Bell [Sun, 19 Dec 2004 13:08:49 +0000 (13:08 +0000)]
moved unused/ui to ui

19 years agoreplace byte with sbyte
Bradley Bell [Sun, 19 Dec 2004 12:55:44 +0000 (12:55 +0000)]
replace byte with sbyte

19 years agoreplace byte with sbyte
Bradley Bell [Sun, 19 Dec 2004 12:29:11 +0000 (12:29 +0000)]
replace byte with sbyte

19 years agoreplace byte with sbyte
Bradley Bell [Sun, 19 Dec 2004 12:15:34 +0000 (12:15 +0000)]
replace byte with sbyte

19 years agoreplace byte with sbyte
Bradley Bell [Sun, 19 Dec 2004 11:06:38 +0000 (11:06 +0000)]
replace byte with sbyte

19 years agoreplace byte with sbyte
Bradley Bell [Sun, 19 Dec 2004 11:01:29 +0000 (11:01 +0000)]
replace byte with sbyte

19 years agoreplace byte with sbyte
Bradley Bell [Sun, 19 Dec 2004 11:00:32 +0000 (11:00 +0000)]
replace byte with sbyte

19 years agoreplace byte with sbyte
Bradley Bell [Sun, 19 Dec 2004 10:58:39 +0000 (10:58 +0000)]
replace byte with sbyte

19 years agoabort weapon fire if unable to create object
Bradley Bell [Sun, 19 Dec 2004 09:52:59 +0000 (09:52 +0000)]
abort weapon fire if unable to create object

19 years agoprototype for strdup with MPW
Bradley Bell [Sun, 19 Dec 2004 09:39:01 +0000 (09:39 +0000)]
prototype for strdup with MPW

19 years agoallocate mission filenames dynamically
Bradley Bell [Fri, 17 Dec 2004 14:31:18 +0000 (14:31 +0000)]
allocate mission filenames dynamically

19 years agoallocate mission filenames dynamically
Bradley Bell [Fri, 17 Dec 2004 14:28:41 +0000 (14:28 +0000)]
allocate mission filenames dynamically

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