Commit graph

602 commits

Author SHA1 Message Date
zicodxx 039b8b551e Extended Jukebox capabilities for looping and continous playing and added jukebox_free() which allows calling jukebox_load() being able to load a new directory; Added Jukebox options to sound options menu; Removed loop hack for Windows MIDI playback; SDL_mixer implementation can now be used for Windows build as well 2008-05-01 21:40:34 +00:00
kreatordxx 1d28080640 make sure it doesn't try to write to gamelog.txt after it's closed 2008-04-27 05:06:30 +00:00
kreatordxx 27e288b21d get it to work for Mac OS 9 2008-04-24 14:27:54 +00:00
zicodxx ec70ae0413 Added function gr_set_attributes to change Options like Texture Filtering and SDL_GL attributes while runtime (if supported); Added 4x Multisample support 2008-04-22 08:29:29 +00:00
zicodxx 949e22e0af Hack to force DOS-style newlines for _WIN32 in gamelog.txt 2008-04-21 23:03:18 +00:00
zicodxx 96ed7fa827 Reworked timer_delay2() and calc_frame_time() to be more accurate and CPU-friendly; -nicefps replayced by -nonicefps to disable sleeping for calc_frame_time; Implemented VSync via SDL; Fixed compilation issues; Code cleanup 2008-04-21 18:39:49 +00:00
zicodxx a40b362ced Made joy_flush also resetting button state; Improved glReticle; Implemented Fallback resolution if SDL may fail; Code cleanup 2008-04-19 19:11:32 +00:00
kreatordxx 35987e8a3d fix network bug where it got confused about the Function_mode and gave up 2008-04-14 12:16:53 +00:00
zicodxx 95d1e5f847 Fixing collision bugs; Cleaning hudmsg.h; Solving death sequence timer without GameTime and removed another global 2008-04-13 13:52:58 +00:00
zicodxx 3192ab5b54 Fixing collision bugs; Cleaning hudmsg.h; Solving death sequence timer without GameTime and removed another global 2008-04-13 13:14:19 +00:00
zicodxx d3aca2140d Reverted homers turn_radius again to respect higher difficulty levels; Added PRShot to menus; Fixed typo in OglAlphaEffects saving 2008-04-13 10:59:10 +00:00
zicodxx 24d1cf52f6 Added structure for values saved in PLR/PLX files; Added most common command-line options to options menu 2008-04-13 00:28:36 +00:00
kreatordxx 39a68c665b show a messagebox if there's an error and graphics are initialised, update Xcode project 2008-04-08 12:51:21 +00:00
zicodxx a172315d4a Implemented Console-style game logging system to print graphics, to stdout and gamelog.txt; Added structure to keep values for descent.cfg; Added aspect and Texture Filtering to descent.cfg; Removed mono code - printing important stuff over console; Removed some obsolete or very common defines; Code cleanup and small fixes 2008-04-06 20:23:28 +00:00
kreatordxx e31a0c8dfc fix up the Mac D1 data automap layout 2008-04-02 12:13:21 +00:00
kreatordxx ea5e30823c fix divide by 0 bug when there is no music available 2008-03-31 09:19:08 +00:00
kreatordxx 8762451252 add support for Mac D1 demo sounds 2008-03-30 01:37:05 +00:00
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