Commit graph

435 commits

Author SHA1 Message Date
kreatordxx f979c1e482 add support for Mac D1 sounds (converted to RAW format), update Xcode project 2008-03-27 10:43:35 +00:00
zicodxx 5b30bcd4dc Added definitions for OpenGL fucntions which might not be included in system headers; Use more HiRes content from dxx.zip; Removed briefings palette hacks; Menu right border shadow was too wide; Corrected reading for some PLX content which seemed not to work on all archs 2008-03-25 12:25:19 +00:00
zicodxx 70973d6a5d Implemented D2X code for wepaon cycling and reordering; Added lock status for mouse axis weapon cycling because of scaled mouse delta; Due to player feedback (any my opinion) making homer turn rate smaller to make them a bit harder to dodge; Preventing write of player data while Demo playback; Small code cleanup and corrections 2008-03-23 13:03:26 +00:00
kreatordxx 6aa3819282 detect the number of songs actually available if no descent.sng file (max 22) 2008-03-23 08:42:24 +00:00
kreatordxx 141bd94cf2 scale Mac fonts correctly 2008-03-22 08:30:23 +00:00
kreatordxx b7cb6790ff handle warnings differently in Xcode 2008-03-22 04:50:12 +00:00
kreatordxx 52721ef7a2 allow dxx.ini to stay with the binary for *NIX systems, with Mac OS 9 don't put user-created files inside the .app bundle 2008-03-22 04:48:37 +00:00
kreatordxx b33c08cea2 allow dxx.ini to stay with the binary for *NIX systems, with Mac OS 9 don't put user-created files inside the .app bundle 2008-03-21 13:52:54 +00:00
zicodxx f014231a78 Simplification of palette code; Properly screen clearing in SDL-only build when palette changes; Removed obsolete functions like gr_update (replaced by gr_flip), gr_palette_fade_in/out, gr_palette_clear; Added functionality to render Automap while menu display as well; Improved blocking of some controls code while Automap active; Fixed some compiler warnings 2008-03-20 23:23:46 +00:00
kreatordxx 032018ccc4 add support for Mac pigfile (which doesn't include sounds yet) 2008-03-16 08:11:08 +00:00
kreatordxx 582df79348 update sourcefile list in Mac Xcode project file 2008-03-14 11:26:01 +00:00
kreatordxx d21385cede add prototype for show_game_stats to remove warning 2008-03-14 11:22:40 +00:00
kreatordxx 7ca570a8b6 fix potential bug where show_reticle parameters mismatch 2008-03-14 11:15:46 +00:00
zicodxx ae5975c7a0 Handle Multi message input before HandleDeathKey to chat while dead 2008-03-08 22:47:49 +00:00
zicodxx 2196bdae0d Fixed some memory issues; Fixed some HUD element alignment; Only send NetDrv packets if NetDrvInstalled is true; Fixed demo glitches; Actually using Game_mode in demos to make Newdemo_game_mode hacking obsolete 2008-03-08 22:37:09 +00:00
zicodxx 02cb47e7c1 Fixed wrong font width spacing, -gl_prshot, mission loading, null-terminatinon in several menus, cockpit glitch; Improved gl_reticle, -noredundancy; Some code cleanup 2008-02-27 22:05:58 +00:00
zicodxx 453d0b6045 Fixed error in writing PLR-file since PHYSFS_close returns non-zero in success instead of zero like fclose 2008-02-24 15:17:33 +00:00
zicodxx 8eb5c965d2 Reworked fonts routines - makes easier to expand and scale correctly; Reworked menus with better border scaling, improved rendering and cleanups; Improved font priniting ingame, better alignment; Reworked Netgame list; Real Doublebuffering in SDL-mode; Removed old and unused sources 2008-02-24 14:41:27 +00:00
kreatordxx ac0eb80b0f make sure the right error message is shown if it can't open a demo 2008-02-24 06:37:34 +00:00
kreatordxx c356ebcf69 add support for Macintosh splash screens and menu backgrounds in descent.hog, but not fonts (yet) 2008-02-21 10:32:34 +00:00
kreatordxx a1beb821ea don't try and free mid_track_buf if it isn't allocated, if midi conversion doesn't work 2008-02-17 01:52:37 +00:00
kreatordxx 0840866baa get SDL Video build to work again 2008-02-17 01:40:49 +00:00
kreatordxx 8832e8f708 remove redundant iff functions 2008-02-13 11:46:49 +00:00
kreatordxx 61d5599aac fix undefined function warning with piggy_read_sounds (whoops) 2008-02-13 09:43:00 +00:00
kreatordxx 99b00be282 make sure a briefing isn't interpreted as an endlevel sequence file, preventing an in-game warning 2008-02-12 12:27:05 +00:00
kreatordxx 3a188fa14d support PC shareware files in full version build, make game data loading code easier to follow 2008-02-11 12:12:57 +00:00
zicodxx 8d025c7aef Renaming udp.* to netdrv_udp.* to fit naming convention; Small menu ui fixes 2008-01-29 15:57:59 +00:00
zicodxx fe98538b2b Cleanung up arch/ a little bit; Added mouse delta time interval for more more accurate reading at high FPS 2008-01-29 14:49:54 +00:00
kreatordxx dd742d90d1 allow custom MIDI in add-on hogs to be used without caching everything 2008-01-26 01:16:31 +00:00
zicodxx b54bdcba5b Fixed small compiling issues 2008-01-25 12:50:23 +00:00
zicodxx f6b24b16d4 Updated Docs - Data files mus bt lowercase; Fixed small Multiplayer issues 2008-01-24 22:26:43 +00:00
kreatordxx 5cc6e5e14c add Xcode 2.2 project for Mac OS X 2008-01-24 10:44:53 +00:00
kreatordxx deba7709ce fix name conflict 'FSCALE' on Mac OS X 2008-01-24 10:34:31 +00:00
zicodxx d9e23370f9 Implemented PhysFS support; Implemended D2X memory functions; Code cleanups 2008-01-23 17:25:09 +00:00
kreatordxx da7fd57332 merge loadrl2.c into gamemine.c and gamesave.c 2008-01-19 01:13:47 +00:00
zicodxx 7c38557284 Removed SDL Gammaramp code (obsolete); Improvements on Demo code 2008-01-13 13:27:58 +00:00
kreatordxx 7719e5afe0 make special characters print for platforms where a char is signed by default 2008-01-13 02:10:40 +00:00
kreatordxx 0837b91f53 complete bigendian support, without touching network code 2008-01-13 00:58:49 +00:00
kreatordxx 8e729c7e86 fix typo causing compiler error on bigendian computers 2008-01-13 00:36:04 +00:00
md2211 2d3fe6b2e8 Fixed looping jukebox music when it shouldn't (at end of level) 2008-01-10 20:35:59 +00:00
zicodxx a18d40f312 Safe timer rollover in menu idle-demo function; Reintroduced menu shortcuts; Implemented support for menu scrolling if nitems > 15 2008-01-08 21:02:06 +00:00
zicodxx f63c742faa Added BigEndian-related multiplayer/network code (unfinished); Re-Added IPX Socket option to Host menu for IPX games; Removed ForceVersionCheck global - conditions with driver->type; Merged netmisc.* and netpkt.*; Handling host disconnect for UDP games in network.c 2008-01-08 16:46:31 +00:00
zicodxx 091526789e Added BigEndian-related multiplayer/network code (unfinished); Re-Added IPX Socket option to Host menu for IPX games; Removed ForceVersionCheck global - conditions with driver->type; Merged netmisc.* and netpkt.*; Handling host disconnect for UDP games in network.c 2008-01-08 16:33:19 +00:00
kreatordxx 2ac1559a8b get D1X to build for Mac OS X, conditionals for Mac OS 9 2008-01-03 10:31:02 +00:00
zicodxx 96cc6e1006 Cleaned/Rewritten/Renamed lower level network layer to make it (look) less IPX-oriented 2008-01-02 15:36:51 +00:00
kreatordxx 588d1b000a rename types.h to pstypes.h to avoid name conflict with Mac OS 9's MrC (it doesn't respect the difference between project and system headers) 2008-01-02 03:37:13 +00:00
kreatordxx d03191da3e add Mac source files 2008-01-01 11:18:22 +00:00
zicodxx 285da809a8 Code cleanup - old/unused/obsolete multiplayer code and more 2007-12-29 14:18:49 +00:00
zicodxx aa93a2ca45 Fixed compiler error because of removed header file; Removed struct network_d1xplayer_info - obsolete; Allocated memory for all sequence_packet's; Moved piggy_close() and sdl_close() to end of main() - replacing atexit; Rendering credits with timer_delay2 at constant 25FPS and save CPU; Fixed -playermessages 2007-12-23 00:51:27 +00:00
zicodxx d6c708c111 Implemented new UDP/IP interface with Server-Relay (for firewalled users) and IPv6 compability; Fixed memory issues; If arguments -gl_mipmap and -gl_trilinear used both, always select -gl_trilinear 2007-12-17 22:45:45 +00:00