zicodxx
|
504bf67445
|
Resetting menu->mouse_state after changing a key in kconfig so you will not accidentially activate a new field when left mouse button is assigned
|
2010-02-25 15:20:01 +00:00 |
|
kreatordxx
|
1f479a756c
|
Call game_flush_inputs for all windows' EVENT_WINDOW_ACTIVATED, so clicking on a pilot doesn't bring up the multiplayer screen for example
|
2010-02-25 08:00:15 +00:00 |
|
zicodxx
|
76b4afea52
|
Due to the change of GameCfg.ControlType, Mouselook was broken - fixed
|
2010-02-23 23:23:21 +00:00 |
|
zicodxx
|
62455c2a9b
|
Overhaul for CONTROLS menu; Cleaned kconfig-code a little and slacked out keymap arrays
|
2010-02-21 01:25:27 +00:00 |
|
zicodxx
|
5afebdf580
|
Cleaning up Joystick code and on the way supporting more axes and buttons; Also fixed bug with channel_mask byte causing trouble using some axes ingame; Added argument to set environment variable which disables sticky keys (for SDL >= 1.2.14)
|
2010-02-14 18:48:02 +00:00 |
|
kreatordxx
|
eb92f445ca
|
Add EVENT_WINDOW_DEACTIVATED; move many game_flush_inputs, start_time and stop_time calls to game_handler as well as digi_pause_digi_sounds and digi_resume_digi_sounds
|
2010-02-02 03:38:29 +00:00 |
|
kreatordxx
|
35584d725b
|
Leave kconfig_idle early if exiting kconfig to avoid erroneous memory access; initialise menu's citem properly; add EVENT_NEWMENU_CHANGED; activate USE_IPX in Xcode while I'm still changing net_ipx.c
|
2010-02-01 06:55:38 +00:00 |
|
zicodxx
|
90e4b4ed95
|
Adding a bunch of memset's to menu/automap creations so we won't run into uninitialized variables
|
2010-01-31 21:51:59 +00:00 |
|
kreatordxx
|
f83741d89f
|
For multiplayer, close menus from game_handler by doing frame processing in response to EVENT_WINDOW_DRAW, replacing multi_menu_poll system with single multi_menu_check call
|
2010-01-29 03:36:44 +00:00 |
|
kreatordxx
|
f6c32d7518
|
Tidy up newmenu_show/hide_cursor calls
|
2010-01-28 04:24:25 +00:00 |
|
kreatordxx
|
3f90a9cb41
|
Make response to EVENT_WINDOW_CLOSE conform to 'handling' system - returning 1 means abort closing
|
2010-01-28 03:27:49 +00:00 |
|
kreatordxx
|
62a9214bc3
|
Fix major issues with last commit - tidy up window callbacks to dodge EVENT_WINDOW_ACTIVATED where it's unnecessary or erroneous to respond to, fix compiling error
|
2010-01-20 11:04:09 +00:00 |
|
kreatordxx
|
c50b954c00
|
Add EVENT_WINDOW_ACTIVATED, change EVENT_DRAW to EVENT_WINDOW_DRAW and EVENT_CLOSE to EVENT_WINDOW_CLOSE
|
2010-01-20 05:10:32 +00:00 |
|
kreatordxx
|
69305fb7f2
|
Make kconfig menus into windows - allowing drawing of the game screen behind, changing of item to change while question mark flashing and clicking out of item change
|
2010-01-18 05:53:13 +00:00 |
|
kreatordxx
|
b835361586
|
Make newmenus into windows, allowing redrawing of automap and game to take place outside of newmenu.c; remove redundant keyd_repeat
|
2009-12-26 01:08:57 +00:00 |
|
kreatordxx
|
8f9d869452
|
Make the automap into a 'window', make kconfig.c more similar between D1X and D2X
|
2009-12-02 13:49:54 +00:00 |
|
kreatordxx
|
dd8f679724
|
Make game.c more similar between D1X and D2X, making related changes to other files (\!)
|
2009-07-01 11:35:33 +00:00 |
|
kreatordxx
|
bf512bb9ec
|
Remove redundant conf.h directives
|
2009-04-30 13:01:31 +00:00 |
|
kreatordxx
|
b537639fac
|
Associate the jukebox with Redbook Audio via new 'extmusic' layer - separating from MIDI and making it handle ALL music (not just game music)
|
2009-03-03 12:55:27 +00:00 |
|
zicodxx
|
487fed2fbd
|
Removed PH_SCALE on Keyboard readings as caps movement not in sync to FrameTime; Removed scaled Joystick reading as it's not necessary anymore
|
2009-02-09 10:52:42 +00:00 |
|
zicodxx
|
6f7e70bb82
|
Fixed typo in mouse delta reading cleaning not up Z-Axis; Giving automap a nicer Frameloop; Small cleanup
|
2009-01-15 20:55:35 +00:00 |
|
kreatordxx
|
777f76aedf
|
Get Mac command keys working, MACINTOSH code cleanup, update Xcode project
|
2008-12-07 12:26:43 +00:00 |
|
zicodxx
|
0e164e20b9
|
Restored vertical_thrust_time behaviour combined with slide_on to be inverted - respecting user's wishes
|
2008-12-01 09:31:21 +00:00 |
|
zicodxx
|
76d59ae9d3
|
Completly forgot to make mouse axis values static so they can be used in intervals - shame on me
|
2008-11-21 23:59:22 +00:00 |
|
zicodxx
|
6dc900f51d
|
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 |
|
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
|
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 |
|
zicodxx
|
8632098a9f
|
Decreasing divisor for mouse axis reading - making mouse sensitivity practically much higher
|
2008-05-19 21:58:49 +00:00 |
|
zicodxx
|
e6ec09869e
|
Some code improvements and small fixes
|
2008-05-08 18:29:52 +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 |
|
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 |
|
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 |
|
zicodxx
|
d2365d65f0
|
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
|
f3d8d50a94
|
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
|
b6f477a398
|
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 |
|
zicodxx
|
d2ca16d4c1
|
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
|
df7a1ca071
|
Introduced timer_delay2 as replacement for timer_delay to sleep according to given FPS rate considering calc time between frames
|
2007-11-21 12:46:09 +00:00 |
|
zicodxx
|
f80b7223f6
|
Fixed size of kconfig_sub_table background; Fixed problems caused by use of load_stars()
|
2007-10-06 14:51:30 +00:00 |
|
zicodxx
|
5368e3b522
|
Added line_scpacing in netgame info screen for every not-connected player to keep strings below player table in fixed position; Fixed memleak in kconfig code; Fixed show_title_screen function to cycle correctly 3 seconds or until broken by keypress
|
2007-10-01 10:05:02 +00:00 |
|
zicodxx
|
e955dff203
|
Updated docs; Removed GP2X support since I won't support this device anymore
|
2007-09-28 22:44:04 +00:00 |
|
md2211
|
a0b4cac982
|
* Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
|
2007-09-21 19:06:05 +00:00 |
|
zicodxx
|
2bc4cd32bb
|
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; Removed MenuHires(Available) and FontHires(Available) and replaced with HiresGFX(Available) to make a more common way to determinate if Hires data is used or not (interactive Demo); Improved support for Interactive Demo
|
2007-07-26 23:57:29 +00:00 |
|
zicodxx
|
928a542b88
|
Removed old Tactile-code since ForceFeedback is currently out of question
|
2007-07-22 02:01:02 +00:00 |
|
zicodxx
|
8efe1ea653
|
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
|
b5a5352a41
|
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; improved grabmouse so mouse is always released in non-SCREEN_GAME modes
|
2007-06-14 20:52:14 +00:00 |
|
zicodxx
|
f20ec1e42e
|
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 |
|
zicodxx
|
d568b27777
|
increased offset to detect movement on Joystick axis for mapping function
|
2007-04-20 07:25:23 +00:00 |
|
zicodxx
|
898ad2913d
|
introducing kconfig_sub_draw_table() making it possible to redraw configuration tables with OGL swapping and clearing; increased timer_delay for menus and briefings to save more CPU usage
|
2007-04-14 08:43:49 +00:00 |
|
zicodxx
|
b41a8a437a
|
Use Doublebuffer in OGL for all parts of the game and properly redraw elements, fixed Profiler build
|
2007-03-22 11:32:22 +00:00 |
|
zicodxx
|
c0643d8b23
|
implemented expanded Joystick configuration panel (Thanks xatmes); corrected draw functions for kconfig_sub() and Scoreboard to show them correct in non 4/3 aspects; corrected Close-boxes for Mouse Menu control
|
2007-03-06 10:36:37 +00:00 |
|