Commit graph

554 commits

Author SHA1 Message Date
kreatordxx 1b89b021d8 make sure it knows whether an audio CD just inserted is the official one 2008-06-17 13:41:29 +00:00
kreatordxx 0b7aa9dc0d add necessary #includes for last commit (whoops) 2008-06-15 11:48:01 +00:00
kreatordxx 558b2399a3 tidy up music keys, ALT-SHIFT-F9 ejects audio CDs 2008-06-15 08:50:05 +00:00
zicodxx 6d35c8d91f Fixed scores write (wasn't PhysFS); Fixed PLAYING_BUILTING_MISSION in D1X; Better call for DoJasonInterpolate in demo code (hopefully) 2008-06-14 23:29:39 +00:00
zicodxx 8a1222c961 Setting GameArg.SndNoSound to true if SDL_mixer init fails 2008-06-12 08:01:00 +00:00
zicodxx 3dd8b60118 Improved Player relay for Endlevel status; Fixed leaving when UDP hosts leaves; Fixed multi_frame_calling while demos since demos can be Game_mode & GM_MULTI; Re-added lost collision fix between robots and reactor; Made state_defaut_item static so selected state slot stays selected 2008-06-11 21:18:50 +00:00
zicodxx 8b36f8aaac Small doc update; Improved SDL_mixer / Jukebox handling if no resource (sound) is available 2008-06-05 16:30:11 +00:00
zicodxx c61b18b576 Generally increasing Menu rendering from 20 to 50 FPS; Allowed Fullscreen toggle in Pause menu and correctly releasing mouse; Fixed broken Death sequence timer; Fixed incorrect data offset for UDP player relay; Fixed crash in Multiplayer summary; Reworked player loading a little bit, making sure kconfig controls are all set; Some small Status bar correction; Implemented real Pause/Reume for Jukebox via SDL_mixer 2008-06-04 19:30:43 +00:00
zicodxx 057523af2c Only stop music at jukebox_stop() if MIDI jukebox_loaded - otherwise user can stop Jukebox with keys but not start it again 2008-06-01 22:33:21 +00:00
zicodxx 3d1e2ed850 Using Windows code to play HMP files on Windows build; Fixed Jukebox keys in help screen; Allow -noredundancy in Singleplayer; Fixed processing of Console keys if Console is not active; Added Multiplayer hints to README; Made INI wrapping safer and more accurate 2008-06-01 12:53:03 +00:00
kreatordxx 846c9231ed allow an audio CD to be played if it's inserted after DXX is launched, hopefully find the first audio CD if multiple CDs are inserted 2008-05-28 10:38:30 +00:00
zicodxx e19a1238de Set sound distance to 0 for HUD sound taunts; Making Jukebox not crash if -nosound is enabled (should stop Jukebox since no digi system enabled); Lowered mouse axis speed a bit again; Increasing MAX_VECS to 5000 2008-05-25 08:19:31 +00:00
kreatordxx fd95b79cae Add audio CD support to D1X, fix associated bugs 2008-05-24 08:59:35 +00:00
kreatordxx 164e1f2350 give render_frame call both arguments (compiler error) 2008-05-24 08:56:56 +00:00
zicodxx 6b1ef665bf Reverting screenshot stuff - error prone 2008-05-21 21:59:16 +00:00
zicodxx dcba6e84bd Added a new set of preset resolutions 2008-05-21 21:50:14 +00:00
zicodxx f0e0d797da Updated docs 2008-05-21 14:25:00 +00:00
zicodxx 8ff7e7d166 Make Screenshots over backbuffer; Implmented filtered mouse delta reading 2008-05-21 14:06:44 +00:00
zicodxx 264014081e Make Screenshots over backbuffer; Implmented filtered mouse delta reading 2008-05-21 13:58:27 +00:00
zicodxx 8632098a9f Decreasing divisor for mouse axis reading - making mouse sensitivity practically much higher 2008-05-19 21:58:49 +00:00
zicodxx 5d7dc33e0c Added -nomusic ability for SDL_mixer API; Added -gl_fontfixwidth to scale fonts with fixed aspect on widescreen resolutions, scaled to height 2008-05-19 19:28:27 +00:00
zicodxx 8d6a5f125c Added support for another egistered D1 HOG with different patching order... damn you PARALLAX 2008-05-19 12:45:33 +00:00
zicodxx 0afae4e25c If a key combo is called which uses key of default wepaon binding, flush inputs 2008-05-19 11:31:15 +00:00
zicodxx 6f5d6fd2e2 Reworked keys for song changing a bit; Added Song control keys to help menu 2008-05-18 13:20:06 +00:00
kreatordxx a7d8f850a9 set Jukebox as the default jukebox path, for Mac OS 9 look for dxx.ini outside the app bundle 2008-05-18 07:13:07 +00:00
kreatordxx 6ff14e726c remember the last IP address entered for UDP instead of parsing -ip_hostaddr 2008-05-16 11:39:27 +00:00
kreatordxx bfbb7c50ad use atoi instead of sscanf for plx reading, so the setting for showing the reticle is read properly on big endian computers 2008-05-10 10:46:34 +00:00
zicodxx e6ec09869e Some code improvements and small fixes 2008-05-08 18:29:52 +00:00
zicodxx 9709081498 Return unicode characters in key_to_ascii for non-EN keyboard layouts; Fixed sound menu issue if not compiled with SDL_mixer; switched -ip_norelay to -ip_relay since it's not tested enough; Renamed jukebox_free() to jukebox_unload() to stay with naming-convention 2008-05-07 14:11:30 +00:00
zicodxx b772706508 Return unicode characters in key_to_ascii for non-EN keyboard layouts; Fixed sound menu issue if not compiled with SDL_mixer; switched -ip_norelay to -ip_relay since it's not tested enough; Renamed jukebox_free() to jukebox_unload() to stay with naming-convention 2008-05-07 14:02:01 +00:00
zicodxx ec7f8b68de 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 acb56ca502 make sure it doesn't try to write to gamelog.txt after it's closed 2008-04-27 05:06:30 +00:00
kreatordxx a7d9bba643 get it to work for Mac OS 9 2008-04-24 14:27:54 +00:00
zicodxx d414a45efd 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 12:57:06 +00:00
zicodxx 5d19c11124 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 410dadb7c9 Hack to force DOS-style newlines for _WIN32 in gamelog.txt 2008-04-21 23:03:18 +00:00
zicodxx d457f9430d 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 9bcea627d1 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
zicodxx 53ed00581b 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 44682b4d8a 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 9729e0adc3 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 3a52d03d21 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 a62060bacf show a messagebox if there's an error and graphics are initialised, update Xcode project 2008-04-08 12:51:21 +00:00
zicodxx 44bbb66101 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 2b94bf476a add support for Mac D1 sounds (converted to RAW format), update Xcode project 2008-03-27 10:43:35 +00:00
zicodxx b4bbed6ed8 Do not actually blit movie frame if palette has been changed 2008-03-25 13:12:27 +00:00
zicodxx 3a747dbdee include/loadgl.h, main/newmenu.c, main/titles.c: Added definitions for OpenGL fucntions which might not be included in system headers; Cleaned and declared briefings palette hacks [EMULATING_D1 needs work]; Menu right border shadow was too wide; 2008-03-25 12:28:02 +00:00
zicodxx 96f1a961f6 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:42 +00:00
kreatordxx 932607cab4 allow hoard.ham to go in 'Data' subdirectory 2008-03-22 06:23:19 +00:00
kreatordxx 34046e15ac add prototypes for show_game_stats and network_do_join_game to fix warnings 2008-03-22 04:57:52 +00:00