btb/d2x.git
14 years agoInstallErrorHandler() no longer exists, don't use it anymore
Martin Schaffner [Tue, 25 Jan 2005 19:57:40 +0000 (19:57 +0000)]
InstallErrorHandler() no longer exists, don't use it anymore

14 years agos/inputbox/Inputbox/
Martin Schaffner [Tue, 25 Jan 2005 19:48:10 +0000 (19:48 +0000)]
s/inputbox/Inputbox/

14 years agouse timer_get_fixed_seconds instead of TICKER macro
Martin Schaffner [Tue, 25 Jan 2005 19:44:27 +0000 (19:44 +0000)]
use timer_get_fixed_seconds instead of TICKER macro

14 years agomake ui_barbox_update return void
Martin Schaffner [Tue, 25 Jan 2005 19:40:04 +0000 (19:40 +0000)]
make ui_barbox_update return void

14 years agopass int*, not short* to gr_get_string_size
Martin Schaffner [Tue, 25 Jan 2005 19:37:59 +0000 (19:37 +0000)]
pass int*, not short* to gr_get_string_size

14 years agoinclude cntrlcen.h
Martin Schaffner [Tue, 25 Jan 2005 19:36:27 +0000 (19:36 +0000)]
include cntrlcen.h

14 years agouse wall_close_door_num, not wall_close_door
Martin Schaffner [Tue, 25 Jan 2005 19:34:50 +0000 (19:34 +0000)]
use wall_close_door_num, not wall_close_door

14 years agouse physfs instead of non-existing cflib.h
Martin Schaffner [Tue, 25 Jan 2005 19:31:56 +0000 (19:31 +0000)]
use physfs instead of non-existing cflib.h

14 years agoon Carbon, dynamically find and load the OpenGL library on carbon
Martin Schaffner [Tue, 25 Jan 2005 19:23:58 +0000 (19:23 +0000)]
on Carbon, dynamically find and load the OpenGL library on carbon

14 years agodon't try to set the removed follow_path
Martin Schaffner [Mon, 24 Jan 2005 22:26:06 +0000 (22:26 +0000)]
don't try to set the removed follow_path

14 years agoadd prototype for create_removable_wall
Martin Schaffner [Mon, 24 Jan 2005 22:24:10 +0000 (22:24 +0000)]
add prototype for create_removable_wall

14 years agodo texture replacement for any mission
Martin Schaffner [Mon, 24 Jan 2005 22:22:37 +0000 (22:22 +0000)]
do texture replacement for any mission

14 years agoinclude u_mem.h and pstypes.h instead of d1-style mem.h and types.h
Martin Schaffner [Mon, 24 Jan 2005 22:19:10 +0000 (22:19 +0000)]
include u_mem.h and pstypes.h instead of d1-style mem.h and types.h

14 years agoPass both arguments to render_frame
Martin Schaffner [Mon, 24 Jan 2005 22:13:50 +0000 (22:13 +0000)]
Pass both arguments to render_frame

14 years agomain/editor/med
Martin Schaffner [Mon, 24 Jan 2005 22:11:55 +0000 (22:11 +0000)]
main/editor/med

14 years agoremove unused variable "length"
Martin Schaffner [Mon, 24 Jan 2005 22:09:54 +0000 (22:09 +0000)]
remove unused variable "length"

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

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