Commit graph

1187 commits

Author SHA1 Message Date
Bradley Bell 1fa70986bd prototype for strdup with MPW 2004-12-19 09:39:01 +00:00
Bradley Bell cfa099c0c7 allocate mission filenames dynamically 2004-12-17 14:31:18 +00:00
Bradley Bell 31ec92d9c2 allocate mission filenames dynamically 2004-12-17 14:28:41 +00:00
Bradley Bell 09ce522653 fix MPW compiler errors 2004-12-17 14:17:03 +00:00
Bradley Bell 51f289c2e3 compile as a classic powerpc app in MPW 2004-12-17 14:06:14 +00:00
Bradley Bell 4574ec75d8 Implement strdup for MPW 2004-12-17 14:02:54 +00:00
Bradley Bell 3d9df10aed fix compiler errors in MPW w/o OpenGL 2004-12-17 13:42:11 +00:00
Bradley Bell 4a78c53a8f force gr_update() so screens always show in OpenGL 2004-12-17 13:32:50 +00:00
Bradley Bell bd3385a622 added fast save 2004-12-17 13:17:46 +00:00
Bradley Bell 4547c5d817 open autosave file for writing, not reading 2004-12-17 09:16:59 +00:00
Bradley Bell 2e5783302d Print only mildly interesting messages to stderr.txt. (revert earlier carbon changes) 2004-12-07 22:37:55 +00:00
Bradley Bell 985d9d2ea9 Initialise the dataptr member correctly. 2004-12-07 22:26:01 +00:00
Martin Schaffner 2cc4913ca1 remove misc/d_io.c 2004-12-05 12:46:59 +00:00
Bradley Bell 0569d6ee66 getRealPath uses the write directory if it can't get the real directory 2004-12-05 10:56:32 +00:00
Bradley Bell 5a091ee718 use PATH_MAX for hog pathname, ensure correct translation of path separators 2004-12-04 04:07:16 +00:00
Bradley Bell fb066ff53e set builtin_hogsize to 0 for the Descent 1 built-in mission 2004-12-04 04:03:10 +00:00
Martin Schaffner ff2713fb34 ifix stricmp and strnicmp 2004-12-03 18:39:20 +00:00
Bradley Bell 9f05215cdf don't die if title screens not found 2004-12-03 10:39:49 +00:00
Bradley Bell 502233452e disable call to reset_cockpit() which was causing the 'letterbox' bug 2004-12-03 10:06:22 +00:00
Bradley Bell f26950bf6e use sprintf in PHYSFSX_getRealPath() because I couldn't figure out why the previous code kept segfaulting under linux. 2004-12-03 07:29:32 +00:00
Martin Schaffner 527b665a38 require PhysicsFS header and library 2004-12-02 18:30:54 +00:00
Martin Schaffner 13935d0970 remove mission list from global memory 2004-12-02 16:50:20 +00:00
Martin Schaffner 70b49765e4 pass individual mission around instead of whole list 2004-12-02 16:46:33 +00:00
Martin Schaffner ba071c6c12 set builtin_hogsize for non-built-in missions 2004-12-02 16:41:54 +00:00
Martin Schaffner 7063932e26 fix build on Carbon by adding digiobj.c 2004-12-02 16:32:42 +00:00
Martin Schaffner 88a14474d4 fix cfile bugs from recent changes 2004-12-02 16:27:29 +00:00
Bradley Bell 7dce7ab24d fix RELEASE build, make sure path separator gets added to hogdir 2004-12-02 09:48:57 +00:00
Bradley Bell f81fcb88a6 Updated MSVC build, now uses dynamic opengl loading 2004-12-02 08:52:59 +00:00
Bradley Bell 66524ff74c Make cfopen into an inline, where a read buffer is set up. This speeds up loading significantly. 2004-12-01 13:01:00 +00:00
Bradley Bell 18e5e2e607 add PhysicsFS to the required 'tools' in README, and instructions for building in MPW. 2004-12-01 12:54:15 +00:00
Bradley Bell e6268d5ddd Don't compile cfile.c on Mac OS 9. 2004-12-01 12:52:02 +00:00
Bradley Bell b3d134a6b7 merged physfs branch 2004-12-01 12:48:13 +00:00
Bradley Bell 08e20c0008 Assign result of cfilelength to an int, MPW doesn't like switches of long longs 2004-12-01 08:24:55 +00:00
Bradley Bell 5e5cea24ee Get rid of MIN redefinition. 2004-12-01 06:57:28 +00:00
Bradley Bell 1abc7ee1c5 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. 2004-12-01 06:42:13 +00:00
Bradley Bell d3d3dcd8b0 added stuff to .cvsignore 2004-12-01 05:53:22 +00:00
Bradley Bell 42515a411a kludge to keep from hanging on MinGW 2004-11-29 08:01:47 +00:00
Bradley Bell 1dd1b7a421 use d2src system for persistent sounds 2004-11-29 07:34:27 +00:00
Bradley Bell b4747b7493 original prototype in d2src is wrong, I guess 2004-11-29 06:09:06 +00:00
Bradley Bell 0ecaecaa83 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 2004-11-29 05:25:58 +00:00
Bradley Bell 515f1b0c50 put sdl.m4 in acinclude.m4, to make autogen simpler 2004-11-28 23:42:38 +00:00
Bradley Bell 5a2e27bddc added function to properly decode multi-line strings 2004-11-28 07:32:12 +00:00
Bradley Bell f89d2871ce enabled midi on win32 2004-11-28 05:16:38 +00:00
Bradley Bell 1f9c40a840 formatting 2004-11-27 12:34:44 +00:00
Bradley Bell ac4beb2c14 better fix for model data freeing bug 2004-11-27 12:28:10 +00:00
Bradley Bell 1925cbee48 enable logo screens for shareware/oem 2004-11-27 11:55:10 +00:00
Bradley Bell 8354bb1c24 fix d1 briefing glitches 2004-11-27 05:10:33 +00:00
Bradley Bell bfea970440 free up cpu by not calling timer_delay so many times 2004-11-27 02:05:57 +00:00
Bradley Bell af1bd8d786 reduce flickering in credits w/opengl 2004-11-26 10:08:34 +00:00
Bradley Bell 782507f07a disable Assert so the credits work in opengl (gl doesn't care if it draws offscreen, I guess) 2004-11-26 09:50:32 +00:00