kreatordxx
|
66d16a928b
|
In select_file_recursive handle paths relative to the current write directory correctly
|
2010-08-28 02:46:54 +00:00 |
|
zicodxx
|
31ddede5ab
|
In list_dir_el make sure PHYSFS_getRealDir won't give NULL to strcmp which will happen for files located in a Windows root directory
|
2010-08-27 21:16:43 +00:00 |
|
zicodxx
|
9d9bc567f7
|
In select_file_handler properly initialize newpath preventing memory errors and crashes
|
2010-08-27 20:32:05 +00:00 |
|
zicodxx
|
aff0187d79
|
Moving upwards definition of MEM_K so it's not restricted to \!NDEBUG; Initialized **i in list_dir_el properly to silence gcc when compiling
|
2010-08-27 15:43:24 +00:00 |
|
kreatordxx
|
55871bba3e
|
Add path browsing feature to make song file/directory selection easier
|
2010-08-27 14:09:19 +00:00 |
|
kreatordxx
|
fd5ff122ba
|
When 'force descent ][ cd track order' is chosen, play and loop the credits track after the title track for Jukebox too
|
2010-08-25 00:40:55 +00:00 |
|
zicodxx
|
9e4ea7f92d
|
Overhauled detection of TEX/TXB files for Briefings and Endings
|
2010-08-24 14:02:38 +00:00 |
|
kreatordxx
|
89da3a0eb7
|
For Redbook, play the credits track after the title track like original Descent 2 did
|
2010-08-23 11:29:45 +00:00 |
|
zicodxx
|
b23226a92d
|
Moved levelnum-sanity-check in game_param_handler so it will be checked when screen is changed to allow entry of secret levels (which does not work in D2X-Rebirth - it's only done for code similarity); added menu item START GAME for consistency and added proper subtitle for game setup page
|
2010-08-22 09:25:24 +00:00 |
|
zicodxx
|
47255f4e31
|
For each Music playback system defining own volume scaling definition which was wrong for SDL_mixer
|
2010-08-19 15:54:19 +00:00 |
|
zicodxx
|
709496a932
|
Removed processing of HandleVRKey() as this code is not usable anymore and blocks some system keys (removal of general VR-code will follow later)
|
2010-08-19 13:49:46 +00:00 |
|
zicodxx
|
a23618f961
|
Patching together editor so it compiles again (while still not running); Implemented PhysFS for file accessing for editor- and debugging-related code
|
2010-08-19 13:32:33 +00:00 |
|
zicodxx
|
455136bb19
|
Renamed MUSIC TYPE options BUILT-IN MUSIC to BUILT-IN/ADDON MUSIC and CUSTOM MUSIC to JUKEBOX; Removed LEVEL-DEPENDENT play order for Jukebox as this is now mainly covered by AddOn packs and future M3U-support
|
2010-08-17 14:59:57 +00:00 |
|
zicodxx
|
3baac0b592
|
Moved up PHYSFSX_addArchiveContent() a little inside main() so -debug and -verbose will show us this content which will be helpful for debugging possible problems with AddOn Zips
|
2010-08-16 19:59:41 +00:00 |
|
zicodxx
|
cb933f9f80
|
When switching from COOP to any other game mode, make sure Netgame.max_numplayers, MaxNumNetPlayers as well as the menu text showing the player limit is updated correctly
|
2010-08-16 11:50:37 +00:00 |
|
zicodxx
|
4b0c86f36d
|
Added support to automatically load/mount ZIP files at startup, giving option to dynamically override or replace game content; Updated docs
|
2010-08-15 06:57:51 +00:00 |
|
kreatordxx
|
b55a717112
|
Tidy up for EVENT_IDLE case in game_handler, hopefully fixing obscure 'optimise threads' bug
|
2010-08-14 02:26:18 +00:00 |
|
zicodxx
|
4f0d1c4cfb
|
The inital vector scaling to compensate previous frame-skipped tracking was not aligned to FrameTime. Removed that code and just divided homer_turn_base values to compensate this offset properly. Thanks to zif for hinting me to that; Added comment about the how and why of the homing missile scaling issue
|
2010-08-11 16:25:58 +00:00 |
|
zicodxx
|
9f25721f8a
|
When updating redundant HUD messages check the for-loop not the start with a negative number - causes too long message display and negative array index
|
2010-08-03 15:03:56 +00:00 |
|
zicodxx
|
651e6db699
|
Fixed automap marker info as well as misleading text defines
|
2010-08-01 19:08:26 +00:00 |
|
zicodxx
|
fd32ea98c4
|
Builtin music list now dynamically allocated and not limited to 30 songs; Instead of never loading new level when loading savestate ingame, only do this for Redbook and Custom Music playing order 'continously'; if no endlevel song is specified in Custom Music continue with level music
|
2010-08-01 17:42:38 +00:00 |
|
kreatordxx
|
7f93792249
|
For polling newmenus, set rval using a pointer and don't delay closing the window, hopefully fixing bad memory access when clicking in level scores screen; change newmenu_close to newmenu_free_background to avoid confusion
|
2010-07-31 12:09:38 +00:00 |
|
zicodxx
|
c50081f72c
|
Added event_flush to take place in game_flush_inputs which will clean SDL events which may be buffered while event_process was suspended; suspend Game_Wind while loading restoring save state while playing a level to properly flush controls and reset timer; when toggeling cursor, also directly modify the mouse to wanted behaviour instead of waiting for mouse_update_cursor_and_grab
|
2010-07-30 17:59:21 +00:00 |
|
zicodxx
|
7b1bfbbf2c
|
Removed leftover of mouse grabbing from set_screen_mode - forgot to do this in rev1192
|
2010-07-29 21:28:53 +00:00 |
|
kreatordxx
|
db15309f5f
|
Tidy up use of set_screen_mode
|
2010-07-29 08:30:46 +00:00 |
|
zicodxx
|
100cbe51cb
|
One more take on Mouse cursor friendliness: Merged mouse_toggle_cursor and mouse_toggle_grab; instead of trying to use SDL_GetAppState (which does not work as expected on Windows) to release mouse, use strict calls of mouse_toggle_cursor so we at least have a free mouse outside of Game_wind and Automap; decreased time to automatically hide cursor; added mouse_close to release mouse in case of emergency
|
2010-07-28 17:27:35 +00:00 |
|
zicodxx
|
9f5860a54a
|
Moved digi_set_digi_volume call from config loading to designated audio subsystem init function so it will be correctly set after the sound system is auctionlly initialized
|
2010-07-27 20:42:54 +00:00 |
|
kreatordxx
|
1f6e72f781
|
Show stars background for died in mine and secret level messageboxes; equalise fuelcen.h and cntrlcen.h
|
2010-07-27 11:41:43 +00:00 |
|
kreatordxx
|
c7da78f144
|
Fix crash caused by last commit (whoops)
|
2010-07-25 02:43:22 +00:00 |
|
kreatordxx
|
961fd2b1b8
|
For menus, only call the user function for closing immediately before closing, fixing memory errors when the user function frees memory
|
2010-07-25 02:30:53 +00:00 |
|
kreatordxx
|
936f46fbeb
|
Rewrite quit system, fixing *many* bugs with it :P
|
2010-07-25 01:22:44 +00:00 |
|
zicodxx
|
6c4cd7b22e
|
Fixing crash when joinging game over UDP Netlist: when exiting the menu for any reason, return 0 instead of following the code and possibly lead to drawing text from a newly free'd pointer - D'OH
|
2010-07-21 16:58:38 +00:00 |
|
zicodxx
|
8d78876d13
|
Thanks to Marix for hinting me I should not init a pointer with quotes if I plan to allocate/free it... my stupid-level officially broke the record
|
2010-07-20 18:38:29 +00:00 |
|
zicodxx
|
d99abc5afd
|
Fixing some harmless compiler warnings caused by missing includes, missing newlines at end of file; cleaned up strutil.h
|
2010-07-19 18:17:08 +00:00 |
|
zicodxx
|
d78a16e229
|
In briefings make sure Current_color cannot exceed possible array bounds
|
2010-07-19 17:30:25 +00:00 |
|
zicodxx
|
c6594d2184
|
Introduced state_quick_item so we can safly check if there is a valid quicksave slot wihtout messing around with state_Default_item which is supposed to always show a valid slot in the first place
|
2010-07-19 17:07:12 +00:00 |
|
zicodxx
|
f5aa8ce8bc
|
Instead of screwing by possibly using negative array indicies in find_seg_side() return -1. In ordering segments make this result in unimportant order; Taking in some Asserts which were disabled years ago by me. Let's fix this for real when we get to it
|
2010-07-17 11:57:07 +00:00 |
|
zicodxx
|
fc44ec76f5
|
Removed OGL hack to fix overlapping room in D1 lvl19 and rather move vertex a little. Still a hack but now without messing Depth test
|
2010-07-17 11:19:29 +00:00 |
|
zicodxx
|
2c1045d4b5
|
If newdemo_start_playback fails if random file is given set -autodemo to 0 to prevent endless loop
|
2010-07-16 13:03:12 +00:00 |
|
zicodxx
|
f2df60a12d
|
Only use one single call of timer_get_fixed_seconds() for whole SDL event loop; Abstracted grabbing mouse and mouse cursor toogle to mouse functions instead of calling SDL functions inside of non-arch code; Automatically hide mouse cursor if it's not used for more than 3 seconds; Reworked placement of mouse grabbing toggle; Do not read any mouse input if -nomouse is given
|
2010-07-16 11:07:42 +00:00 |
|
zicodxx
|
1833474b12
|
Fixing showing options menu in demos - was still called (or rather not) by obsolete variable
|
2010-07-16 06:27:49 +00:00 |
|
kreatordxx
|
f16671a077
|
Make sure the right canvas is set for titles and briefings, fixing bug where briefing is shown in the cockpit when using 'freespace' cheat
|
2010-07-15 09:45:25 +00:00 |
|
zicodxx
|
896a3770c8
|
Scale tab stops in briefings to font-size correctly
|
2010-07-15 09:22:33 +00:00 |
|
zicodxx
|
ac8cf9aaf6
|
Cleaned the variables used for newdemo code; Instead of giving both old and new values to special recording functions, added new variables to demo code serving this purpose and also checking for redundant record calls which only would waste bytes; Removed duplicated-object-id-hack which did not work as expected and caused jittering on playback; In that process, found a bug where Num_open_doors might nor be set correctly - cleaned that up a little and got also rid of one aweful goto; Made sure cloaked walls are recorded FPS-independent but rather fade-value-dependent
|
2010-07-15 06:09:23 +00:00 |
|
zicodxx
|
8c19958db8
|
Cleaned the variables used for newdemo code; Instead of giving both old and new values to special recording functions, added new variables to demo code serving this purpose and also checking for redundant record calls which only would waste bytes; Removed duplicated-object-id-hack which did not work as expected and caused jittering on playback; In that process, found a bug where Num_open_doors might nor be set correctly - cleaned that up a little and got also rid of one aweful goto; Made sure cloaked walls are recorded FPS-independent but rather fade-value-dependent
|
2010-07-15 05:40:25 +00:00 |
|
zicodxx
|
debfa159d7
|
Addition for last revision - just screwed up my working copies
|
2010-07-13 06:45:15 +00:00 |
|
zicodxx
|
0ce37b89bb
|
Added expandable classes for HUD messages (like D1X but slacked) to better handle Multi messages or redundant messages; Rewrote HUD code completely; Changes -playermessages to -multimessages since this is more appropriate; Removed remnants of -mprofile
|
2010-07-13 06:35:25 +00:00 |
|
zicodxx
|
65679c7c0f
|
Trying to improve reliability to find appropriate homing object by using vm_vec_mag/normalize instead of their *quick equivalents; Removed code which supposedly meant to track objects near reticle - don't like that
|
2010-07-09 07:58:48 +00:00 |
|
zicodxx
|
b6d7b9d266
|
When reading mission file, check for sanity of possible breifing or ending to make sure author did not just screw up the file; Fixed slight bug when playing ending briefings from secret levels
|
2010-07-08 22:20:39 +00:00 |
|
zicodxx
|
98a1b97fb9
|
When reading mission file, check for sanity of possible breifing or ending to make sure author did not just screw up the file; Fixed slight bug when playing ending briefings from secret levels
|
2010-07-08 22:12:53 +00:00 |
|