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
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
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
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
kreatordxx
3aa8f5ece7
remember the last IP address entered for UDP instead of parsing -ip_hostaddr
2008-05-16 11:39:27 +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
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
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
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
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
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
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
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
zicodxx
d9e23370f9
Implemented PhysFS support; Implemended D2X memory functions; Code cleanups
2008-01-23 17:25:09 +00:00
zicodxx
7c38557284
Removed SDL Gammaramp code (obsolete); Improvements on Demo code
2008-01-13 13:27:58 +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
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
zicodxx
96cc6e1006
Cleaned/Rewritten/Renamed lower level network layer to make it (look) less IPX-oriented
2008-01-02 15:36:51 +00:00
zicodxx
285da809a8
Code cleanup - old/unused/obsolete multiplayer code and more
2007-12-29 14:18:49 +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
zicodxx
827f0d5fd1
Correctly saving Reverse Stereo setting; Added Demo playback help keys; aligned Demo recording to 20 frames per second to save lots of hard drive space
2007-11-06 20:33:22 +00:00
zicodxx
4f399bbfea
Improvements for -gl_prshot; Improved show_netgame_info(); Removed obsolete multisave code; Removed mekh stuff and wide cleanings in whole multi code; Incremented MULTI_PROTO_D1X_VER (for version checks in the future if needed); Renamed 'D1X-only game' to 'Version Check'
2007-10-31 00:49:24 +00:00
zicodxx
60e30cb40a
Small fixes; Code cleanup; Implemented PR-Screenshot feature
2007-10-18 14:44:02 +00:00
zicodxx
18d7e3fb69
Updated docs; Removed GP2X support since I won't support this device anymore
2007-09-28 22:44:04 +00:00
md2211
d393f32eed
* Removed executable flag on most files
...
* Reverted value of SOUND_MAX_VOLUME
2007-09-21 19:06:05 +00:00
zicodxx
4d02c92db5
Fixes and improvements on -ip_hostaddr; Fixed paltte bug in SDL build
2007-08-09 12:28:17 +00:00
zicodxx
c5b265db30
Added -ip_hostaddr argument to specify a host IP address via command-line/INI
2007-08-08 21:11:51 +00:00
zicodxx
eea4b87d86
Fixed excessive use of set_screen_mode; Menu fixes
2007-08-08 18:06:33 +00:00
zicodxx
2860b159e9
Set default value for Game_screen_mode which is necessary if there's no config file yet; Made resolution switching more failsafe by not allowing resolutions below 320x200; Cleaned up briefings code (I hope so)
2007-08-08 12:38:13 +00:00
zicodxx
de70147783
Cleanup in Config- and PLX-code; Saving Resolution in Config file so it will apply directly at game-init; Removed seperated resolution mode for menus, SCREEN_MENU now always uses Game_screen_mode; Last FindArg cleanups
2007-07-26 23:56:00 +00:00
zicodxx
d6d1a2ca1f
Code cleanup and small fixes
2007-07-22 01:34:00 +00:00
zicodxx
ca9e82fe80
Cleaned up more FindArg's - general Debug Options; Cleanups
2007-07-18 20:13:17 +00:00
zicodxx
e274230e38
Cleaned up more FindArg's - Networking Options; Some fixes
2007-07-16 02:34:51 +00:00
zicodxx
c19d49d65d
Cleaned up more FindArg's - (most important) OpenGL Options
2007-07-15 21:22:07 +00:00
zicodxx
38cde9ec87
Placing FindArg calls to seperated function, putting variables to a struct - frist step, not finished, yet; Large code cleanup
2007-07-14 20:33:42 +00:00
zicodxx
2c05c07493
fixed axis direction for vertical and sideways thrust time; fixed y-Offset for mouse selection in kconfig_sub; removed (useless) Shrink/Grow window feature to clean code a bit; saving Cockpit mode in PLX file; improved grabmouse so mouse is always released in non-SCREEN_GAME modes
2007-06-14 20:51:52 +00:00
zicodxx
84f0529ec4
improved pixel-correct (almost) scaling of menus; new Netgame info screen which can show up necessary game rules
2007-05-31 22:30:18 +00:00
zicodxx
f912c9efa6
Added config field to map a Mouse Axis/Wheel to cycle Primary and Secondary weapons; lots of controls-related code cleaning
2007-05-14 13:38:44 +00:00
kreatordxx
6b9c94a9c6
remove final remains of VR_current_page and VR_use_paging, resolution variable cleanup - remove VGA_current_mode, VR_screen_mode, VR_render_buffer[0].cv_bitmap.bm_w/h and VR_render_width/height (Game_screen_mode is the actual resolution put in an int, not an index)
2007-04-05 13:23:44 +00:00
zicodxx
bcb406faeb
improved Autodemo-feature - less code, activate AFTER pilot is selected to make sure resolution and player-file operations do not mess up
2007-04-04 10:24:03 +00:00
kreatordxx
29110d4726
remove 'extern int last_drawn_cockpit[2]' since it's now a single int (not an array), fixing memory corruption (whoops!!)
2007-04-01 02:14:38 +00:00
zicodxx
61933261c2
moved gr_palette_load() in nm_draw_background so it always does apply and resets step-ups properly
2007-03-31 21:39:48 +00:00