Commit graph

4098 commits

Author SHA1 Message Date
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
md2211 452ae2d800 Repository cleanup: removing leftover Makefile.in file 2006-11-06 23:36:36 +00:00
md2211 a4597bc8be Initial integration of SDL_mixer sound system for Linux 2006-11-06 23:30:32 +00:00
zicodxx d4a6facf93 improved joystick code for more buttons 2006-11-02 13:35:45 +00:00
zicodxx 9a30b3608f improved joystick code for more buttons 2006-11-02 13:35:18 +00:00
zicodxx 8cc35e82c7 command-line to set glScissor off if needed 2006-11-02 01:24:10 +00:00
zicodxx 8a173d3454 command-line to set glScissor off if needed 2006-11-02 01:23:47 +00:00
zicodxx b8ea3bd6a2 just turn off detriangulation for OGL 2006-11-01 02:02:44 +00:00
zicodxx f46246ac38 just turn off detriangulation for OGL 2006-11-01 02:02:20 +00:00
zicodxx 1c821a4cea adding the checktime FindArg 2006-10-31 21:15:47 +00:00
zicodxx ea02b4440e removal of checktime - should go to d2x 2006-10-31 21:15:18 +00:00
zicodxx 999780ff58 moved some FindArgs to main() so they are not called in the game; added printf for DEBUG to track FindArgs 2006-10-31 15:46:06 +00:00
zicodxx 8fe5b5e171 moved some FindArgs to main() so they are not called in the game; added printf for DEBUG to track FindArgs 2006-10-31 15:45:48 +00:00
zicodxx 2dda3e9d8e make sliding use sensitivity - corrected superjoy 2006-10-31 15:11:22 +00:00
zicodxx f9e9339a47 make sliding use sensitivity 2006-10-31 15:07:25 +00:00
zicodxx 61a1768af4 make sliding use sensitivity 2006-10-31 15:07:17 +00:00
zicodxx 86eda83f03 removing -cockpit and -hiresfont parameters which actually belong to D1X-Rebirth 2006-10-31 12:48:31 +00:00
zicodxx 50f87850c0 turning detriangulation off by default; not really needed anymore and makes rendering nicer 2006-10-29 01:01:29 +00:00