btb/d2x.git
14 years agochange curseg2p to Curseg2p
Martin Schaffner [Mon, 24 Jan 2005 22:05:14 +0000 (22:05 +0000)]
change curseg2p to Curseg2p

14 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

14 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

14 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

14 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

14 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

14 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'

14 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

14 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

14 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

14 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

14 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

14 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

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

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

14 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

14 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

14 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.

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

14 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

14 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.

14 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.

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

14 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.

14 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

14 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

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

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

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

14 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

14 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.

14 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

14 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.

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

14 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

14 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

14 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

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

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

14 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

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

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

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

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

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

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

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

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

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

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

14 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

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

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

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

14 years agofix MPW compiler errors
Bradley Bell [Fri, 17 Dec 2004 14:17:03 +0000 (14:17 +0000)]
fix MPW compiler errors

14 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

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

14 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

14 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

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

14 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

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

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

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

14 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

14 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

14 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

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

14 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

14 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

14 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.

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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.

14 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.

14 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.

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

14 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

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

14 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.

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

14 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

14 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

14 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

14 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

14 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

14 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

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

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

14 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

14 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

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

14 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

14 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