Commit graph

4765 commits

Author SHA1 Message Date
zicodxx 2b80efdce9 fixed canvas stuff to show summary correctly in OGL, added new strings for CTF and HOARD, code cleanup 2007-01-12 14:21:05 +00:00
zicodxx ef1a1de34b joystick axes can be reassigned; higher offset for axes moving detection; correction for menus that are bigger than screen 2007-01-10 00:50:36 +00:00
zicodxx eb44193d3e joystick axes can be reassigned; higher offset for axes moving detection; correction for menus that are bigger than screen; plxver correction (is actually used) 2007-01-10 00:50:07 +00:00
zicodxx c1a3f3c13e added missing changelog entries 2007-01-09 01:25:14 +00:00
zicodxx 85e4151534 allocate 'pixels' and 'texbuf' according to current screen resolution, saving over a hundred megabytes of memory; divide negative light rates of change properly (fix bug #2575) (from D2X CVS); divide negative window x-coordinates properly, fixing random crashes (from D2X CVS); make sscanf look for %i.%i instead of v%i.%i because the 'v' isn't written to file; added missing changelog entries 2007-01-09 01:23:49 +00:00
kreatordxx 09f0b8d45f add Mac OS X icon 2007-01-07 00:27:32 +00:00
kreatordxx 901f66e6e9 allow an add-on mission to override the built-in hog file, such as the use of custom MIDI tracks 2006-12-31 01:51:01 +00:00
kreatordxx 812b641a51 if a Descent 2 hog file is not available, generate an error, not a warning 2006-12-31 00:09:49 +00:00
kreatordxx c557b38bbf fix a memory leak that occurs when listing the search paths 2006-12-31 00:00:44 +00:00
kreatordxx 96ee4e1082 use PhysicsFS to write MIDI file, make hmp2mid use PhysicsFS exclusively 2006-12-30 05:29:21 +00:00
kreatordxx 72a4f98889 allocate 'pixels' and 'texbuf' according to current screen resolution, saving over a hundred megabytes of memory 2006-12-29 09:50:21 +00:00
kreatordxx f77bce6487 add PowerPC assembly texture mapper (requires PPCAsm, which is for Mac OS 9 only) 2006-12-28 07:21:46 +00:00
kreatordxx 42a988765c add some useful comments on installation, including specifically for Mac OS 9 2006-12-28 02:54:46 +00:00
kreatordxx 815ecc6b44 make it easier to build for SDL Video on Mac OS 9, update README 2006-12-28 02:51:20 +00:00
kreatordxx 8ef7d20615 disable a heap of warnings that are impractical to fix (eg assignment in an if ()) 2006-12-26 03:48:34 +00:00
kreatordxx 83574d83b7 update version info, use DESCENT_VERSION instead of PACKAGE_NAME 2006-12-26 03:42:13 +00:00
kreatordxx 1437f3d2bc fix compile errors when building on Mac OS 9 using SDL 1.2.10 (conflicting macros, use of putenv) 2006-12-25 13:59:28 +00:00
kreatordxx ed899e7b5e fix crash where loading screen function is called before video mode is set (when SDL Video is used as well as -notitles) 2006-12-25 12:52:38 +00:00
kreatordxx 7e1502c454 chdir to application directory so it uses relative userdir and hogdir paths properly, in Mac OS X it can make the root directory the current one 2006-12-24 10:41:07 +00:00
kreatordxx 3cb7e16496 make sscanf look for "%i.%i" instead of "v%i.%i" because the 'v' isn't written to file (used to cause D2X for Mac OS 9 to crash), use PHYSFS_delete instead of unlink to be safe 2006-12-24 09:24:05 +00:00
kreatordxx d698e87960 warning fixes for gcc 4.0 2006-12-24 09:15:37 +00:00
kreatordxx 21ec5934ce use strncpy instead of snprintf, MPW on Mac OS 9 doesn't have snprintf 2006-12-24 09:01:10 +00:00
kreatordxx 5d10e0bb25 use d_strdup instead of strdup to avoid errors when compiling on Mac OS 9, free the joystick button texts when closing 2006-12-24 08:56:39 +00:00
kreatordxx eae5a79ef2 add MIDI stubs for Mac, it doesn't have the 'real' functions yet 2006-12-24 08:46:12 +00:00
kreatordxx f6616058c1 allow universal binaries to be built using Xcode 2.1 or later (from D2X CVS) 2006-12-24 08:23:23 +00:00
kreatordxx c5d74a31ae divide negative window x-coordinates properly, fixing random crashes (from D2X CVS) 2006-12-24 08:17:42 +00:00
kreatordxx aaa7209146 divide negative light rates of change properly (fix bug #2575) (from D2X CVS) 2006-12-24 08:01:25 +00:00
kreatordxx 8c773a79f5 only autoselect a secondary weapon if the player didn't have any of that type before (fix bug #2671) (from D2X CVS) 2006-12-24 07:43:11 +00:00
kreatordxx a59b4363ad avoid loading OpenGL textures before they have been paged in, bug found by loading Abalyon 5 (from D2X CVS) 2006-12-24 07:38:33 +00:00
kreatordxx ae2621d33b use PhysicsFS to check for existing screenshots, previous method may have caused writing over of open screenshots (from D2X CVS) 2006-12-24 01:49:43 +00:00
kreatordxx 38e2a3cb0b small brace tidy up to allow a source code editor to list all the functions (from D2X CVS) 2006-12-23 09:12:27 +00:00
zicodxx 3d3188473b GP2X handheld support; added SConstruct file (MAC support incomplete); code optimisations for software renderer; fixed memleaks 2006-12-19 02:25:50 +00:00
md2211 10eedf6611 * music volume now properly restored and remembered in D1 and D2, using a static int
* removed ugly hack that fixed this bug in D1 (inferno.c, revision 230)
2006-12-12 21:47:17 +00:00
md2211 b77a53e44b * music volume now properly restored and remembered in D1 and D2, using a static int
* removed ugly hack that fixed this bug in D1 (inferno.c, revision 230)
2006-12-12 21:47:17 +00:00
zicodxx 6d50fc24cd fixed mem-leak in load_text() 2006-11-28 21:56:07 +00:00
zicodxx 62094ddc55 code optimisation and fixed mem-leaks 2006-11-28 08:59:16 +00:00
zicodxx f34a57f3f7 code optimisation and fixed mem-leaks 2006-11-28 08:56:24 +00:00
zicodxx c5c8c6a4e7 optimized movements for GP2X; formatted and optimized GP2X readme's 2006-11-25 11:57:29 +00:00
md2211 a833d73d44 SDL_mixer backend implementation files for D2 2006-11-22 22:07:43 +00:00
zicodxx 994b27e990 gp2x update: updated docs, prevent clocking menu using illegal values and hardlock the device 2006-11-22 10:32:39 +00:00
zicodxx aa58b64283 ARM CPU support with words alignment and GP2X handheld support (part2 - added clock.c) 2006-11-22 05:36:49 +00:00
zicodxx 3a2a5a0bd6 ARM CPU support with words alignment and GP2X handheld support 2006-11-22 05:35:10 +00:00
zicodxx c5984ec045 fixing small cockpit glitch in SDL mode 2006-11-22 04:55:41 +00:00
zicodxx 2bf3a0c56b correct casting in mem_check_integrity 2006-11-21 15:57:43 +00:00
zicodxx ade9407122 merged SDL keyboard functions from D2X 2006-11-17 01:34:40 +00:00
zicodxx c1859e1549 corrected typo 2006-11-15 03:13:03 +00:00
zicodxx cc3bce44a3 fixed missing automap side colors; re-added lost cheat; cleaned code to avoid warnings 2006-11-15 02:37:45 +00:00
zicodxx ee851ecd7b moving d2x-rebirth repo to trunk 2006-11-13 20:48:55 +00:00
zicodxx fbe7ab9366 moving d1x-rebirth repo to trunk 2006-11-13 20:47:18 +00:00
md2211 2b2c6b283d Providing hmp2mid code, which was previously forgotten when introducing sdl_mixer in r264 2006-11-13 20:23:44 +00:00