zicodxx
cf147bcd4c
Scale fonts by float values and filter them if texture filtering is on; Another fix for the code flow in change_res() as the check for minimal custom resolution always failed
2008-10-29 11:03:31 +00:00
zicodxx
7e1141a881
Cleanup: Renderstats; Made PRShot a non-OpenGL-related feature and added to Misc Options; Added command for SDL_ASYNCBLIT to command-line args
2008-10-28 17:04:35 +00:00
zicodxx
7d91cc91f8
Fixes for my last revisions: More reliable check for cockpit_decode_alpha, more reliable check is newmenu sub-bitmap needs to be re-created, call gr_set_mode() in change_res() with correct Game_screen_mode
2008-10-28 15:32:12 +00:00
zicodxx
92cec5ced3
Removed hack for Cockpit-window transparencies and added function to decode and add alpha to the bitmap directly (now works in non-OGL as well); Using sub-bitmaps for Cockpit-windows and menu backgrounds; Cleaned old bkg stuff from menu GUI
2008-10-28 13:28:10 +00:00
zicodxx
a7cc0c79ec
Fixed handling for multi_quit_game; Always keep setting -1 for ping table entry of current player so just not to use any previous entry
2008-10-23 09:17:54 +00:00
zicodxx
a26e5e3284
Removing reset of Game_screen_mode while change_res Fullscreen toggle (wtf is the point?); Adding a third valid state for UDP peers so we can get more order in handshaking process - should fix problem when two clients join (and shake) simultaniously
2008-10-22 15:31:24 +00:00
kreatordxx
b2fbaf7829
Fix some gcc 4.0 warnings (-wall flag)
2008-10-21 11:38:03 +00:00
zicodxx
c09620f160
Readded -ip_hostaddr optional to the value stored in descent.cfg for automated program starts or whatever; Fix by Locate: Correctly close UDP sockets on Win32; Fix by Locate: Ability to select Secret levels on Multiplayer in D1X again which was broken in r619
2008-10-20 12:34:45 +00:00
zicodxx
d5da444a40
resolution 1440x960 to 1440x900 - typo
2008-10-20 11:11:56 +00:00
zicodxx
69c66b9afb
Setting Fullscreen toggle setting the GameCfg value at each change, not only in change_res(); Do not allow the toggle while playing since ALT-GR+ENTER could be used as game-keys; Reorganized Resolutions menu to automatically calculate aspect ratio for preset resolutions and making custom fields exclusive
2008-10-19 12:53:30 +00:00
zicodxx
03e026756e
Giving credits function ability to use custom creditfile (again); Made laser-offset for laser exclusive so Prox mines won't go tru doors; Preventing cycling tru cockpit modes while dead, but allowing to load a state; Implemented D2X' lighting code to D1X (faster, better, sexier - weeee); Try to hop over some errors regarding walls/doors in levels instead of using -1 indexes for arrays; Made the briefing text ptr a bit more failsafe in case the file is corrupt/non-standard; Made scores use the menu screen even in GAME OVER; Fixed bug in neighbour fields of Weapon Keys table; Added the Weapon Keys stuff to TABLE_CREATION; Fixed bug where D2X did not recall applied resolution in the resolutions menu; Simpler check to create DEMO_DIR; Seperated X/Y sensitivity for mouse and joystick; Flush controls when Automap toggles so keypress won't deactivate it again; Made FrameCount in Demos aligned to the Dropframe condition; Added KEy to ttoggle playback text off; Gracefully exit demo code if demo is corrupt; Removed that new percent counter because many old demos seem to have corrupted last frames; Closing endlevel data file if IFF error so the mission still can be freed; Fixed Cruising for keyboard which was not aligned to FPS correctly; Used mouse delta scaling in kconfig.c instead of mouse.c to not screw up when delta is requested in non-ingame situations - it actually belongs to the controls IMHO; Now support up to 8 joysticks; Changed some leftover malloc's to d_malloc and free to d_free
2008-10-16 17:27:02 +00:00
kreatordxx
be4910621e
Page in overriding robot textures, like D2X-Rebirth
2008-10-04 11:56:03 +00:00
zicodxx
2043c19d60
Update object segment after object position interpolation. This is always done in DEBUG, but not in RELEASE, where further movement would break at segment check
2008-10-01 11:53:27 +00:00
zicodxx
6054bf7e90
Added new function to calculate common timesteps; Increased MAXIMUM_FPS to 200 for release and 1000 for debug; Used fixed sim_time for do_physics_sim and Interpolating to ensure collisions stay accurate at high FPS; New code and faster code for dot products by The_Lion; Disabled Nice-FPS and common Frame-Loop if VSync is active; More accurate delta timer for mouse (consider overhead); Added SDL_(Un)LockAudio for old SDL Audio interface; General support for up to 16 mouse buttons; Code cleanup; Made some AI movement and Player shaking FPS-independent
2008-09-30 00:18:39 +00:00
zicodxx
63d2c4a2cf
Added new function to calculate common timesteps; Increased MAXIMUM_FPS to 200 for release and 1000 for debug; Used fixed sim_time for do_physics_sim and Interpolating to ensure collisions stay accurate at high FPS; New code and faster code for dot products by The_Lion; Disabled Nice-FPS and common Frame-Loop if VSync is active; More accurate delta timer for mouse (consider overhead); Added SDL_(Un)LockAudio for old SDL Audio interface; General support for up to 16 mouse buttons; Code cleanup; Made some AI movement and Player shaking FPS-independent
2008-09-30 00:07:07 +00:00
kiplingw
75227cf100
Added: Some notes regarding the warning raised in main/newdemo.c...
...
Fixed: Warning in 2d/pcx.c...
2008-07-27 22:12:19 +00:00
kiplingw
4328ddcb05
Added: Mostly stubbed out test code for game tracker server stuff...
...
Fixed: Cleaned up some GUI macro code in menu.c...
Updated: CHANGELOG.txt for end user level changes...
SConstruct: Cleaned up build system a bit with prettier build messages, added a feature or two, and included tracker source
Fixed: Fixed harmless warnings on no new line at end of some source files...
2008-07-26 17:57:13 +00:00
kreatordxx
5c7b49b0ef
Make network endian code more consistent between DXX's, use PUT/GET_INTEL macros more, remove redundant no_cpp_precomp macro
2008-07-26 06:14:31 +00:00
zicodxx
e54992a974
Fixed IPX default socket (typo); Using function pointer for IPX-based sockets instead of globals
2008-07-19 22:28:31 +00:00
kreatordxx
0866c3c66c
Add BALDGUY cheat for Mac data (see if anyone finds it ;-) )
2008-07-15 12:50:27 +00:00
kreatordxx
ce914f552e
No using chdir for Mac OS 9 - it doesn't have it
2008-07-01 11:22:36 +00:00
kreatordxx
e539cdc14b
Make sure the right audio CD track is played when starting a level
2008-07-01 11:18:37 +00:00
kreatordxx
566efbd634
make sure it knows whether an audio CD just inserted is the official one
2008-06-17 13:41:29 +00:00
kreatordxx
16cfedcccd
tidy up music keys, ALT-SHIFT-F9 ejects audio CDs
2008-06-15 08:50:05 +00:00
zicodxx
b20c810d1d
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
a36ee745bd
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
26502298d9
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
eb26c2bb7f
Added d1xrdata.zip for custom data
2008-06-01 22:22:34 +00:00
zicodxx
885074607c
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
decaf3cc6d
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
a9057c7c06
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
565ea29e05
Add audio CD support to D1X, fix associated bugs
2008-05-24 08:59:35 +00:00
zicodxx
cf5deacfe8
Added a new set of preset resolutions
2008-05-21 21:50:14 +00:00
zicodxx
d6e16c54d4
Make Screenshots over backbuffer; Implmented filtered mouse delta reading
2008-05-21 13:58:27 +00:00
zicodxx
9af74225ed
Decreasing divisor for mouse axis reading - making mouse sensitivity practically much higher
2008-05-19 21:58:49 +00:00
zicodxx
2de6240191
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
a19e0df98a
Added support for another egistered D1 HOG with different patching order... damn you PARALLAX
2008-05-19 12:45:33 +00:00
zicodxx
183eab2914
Reworked keys for song changing a bit; Added Song control keys to help menu
2008-05-18 13:20:06 +00:00
kreatordxx
fa16bbc0f2
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
3aa8f5ece7
remember the last IP address entered for UDP instead of parsing -ip_hostaddr
2008-05-16 11:39:27 +00:00
kreatordxx
dfdea820dc
fix remaining endian bugs in network code, now it works on the Mac
2008-05-16 11:20:33 +00:00
kreatordxx
40fe9adf4c
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
519e3dacb2
Some code improvements and small fixes
2008-05-08 18:29:52 +00:00
zicodxx
a356b4351d
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
91e2934ca1
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
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