kreatordxx
|
7e92589332
|
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
|
88d1b32914
|
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
|
b3b87fc62d
|
Make pause box a window
|
2010-01-09 09:19:26 +00:00 |
|
kreatordxx
|
6b4d952ebc
|
Change newmenu and listbox callback systems, adding use of d_event, for greater flexibility
|
2010-01-07 14:49:07 +00:00 |
|
kreatordxx
|
d450c3e6f4
|
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
|
dad42489f7
|
Make sure the Game_wind only gets freed once when escaping demo playback
|
2009-12-14 13:27:05 +00:00 |
|
kreatordxx
|
54e376ebbe
|
Make sure the Game_wind always gets freed when exiting the game screen, fixing flashing automap and framerate reduction after playing demos
|
2009-12-12 11:34:32 +00:00 |
|
kreatordxx
|
7ebcf32e45
|
Make the automap into a 'window', make kconfig.c more similar between D1X and D2X
|
2009-12-02 13:49:54 +00:00 |
|
zicodxx
|
127af323e0
|
Reintroduced Newdemo_game_mode to prevent demo playback from entering code parts it should not and fixing a bug with Multiplayer demos along the way, introduced in rev. 953
|
2009-11-30 14:59:37 +00:00 |
|
kreatordxx
|
d7e33667bf
|
Make the game screen into a \'window\', handling events through event_process
|
2009-08-10 10:47:17 +00:00 |
|
kreatordxx
|
16f615c6ff
|
Make game.c more similar between D1X and D2X, making related changes to other files (\!)
|
2009-07-01 11:35:33 +00:00 |
|
kreatordxx
|
af0c2db749
|
Split game.c into game.c, gamecntl.c and gamerend.c like d2x
|
2009-06-07 11:28:12 +00:00 |
|
zicodxx
|
85b086c0ef
|
Abstracting networking protocols - Step 3: Renaming network_* functions to net_ipx_*, writing wrappers for protocol dependend functions in multi.c, Implementing protocol selection and Cleanup - Next up: Implementing new UDP layer
|
2009-04-09 07:41:30 +00:00 |
|
zicodxx
|
0fc0fff7f1
|
Abstracting networking protocols - Step 1: Renaming network-related files; Removing net_ipx.h (former network.h) includes from as much files as possible to make isolation of IPX-related functions easier in Step 2; Version defines Cleanup - needed later for good Version-Checking
|
2009-03-04 21:04:43 +00:00 |
|
kreatordxx
|
f149ace782
|
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
|
80debdb4d5
|
Made our Cockpit-Transparency decoding function a bit safer for current and possibly new code flow
|
2009-02-23 10:15:23 +00:00 |
|
zicodxx
|
21d9308934
|
Made FPS string statically right-justified - unrelated to actual FPS string width preventing jumps
|
2009-02-02 09:02:29 +00:00 |
|
zicodxx
|
1acc8031b6
|
Removed some old code to smooth FrameTime we don't need anymore
|
2009-01-24 22:44:57 +00:00 |
|
zicodxx
|
c37285c217
|
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 |
|
zicodxx
|
007e23461e
|
Cleaning up the mess from revision 892...
|
2009-01-15 01:05:31 +00:00 |
|
kiplingw
|
70fd9452f1
|
Added: Better support for non-free compiler... (patch from Damjan Cvetko <zobo@lana.krneki.org>)
|
2009-01-14 19:54:45 +00:00 |
|
zicodxx
|
828d753668
|
Seperated help screens for game, netgame and demo; Also show them in Controls menu; Small Menu UI fix for ScrollOffset when calling menus in a scrolled area of a menu
|
2008-12-13 12:58:57 +00:00 |
|
kreatordxx
|
f257e48ddc
|
Get Mac command keys working, MACINTOSH code cleanup, update Xcode project
|
2008-12-07 12:26:43 +00:00 |
|
zicodxx
|
c5c4870573
|
Do not allow to restore games while player is dead... again - to much trouble right now; Solving small display issue when fading out weapons which ran out of ammo
|
2008-11-21 00:12:41 +00:00 |
|
zicodxx
|
2e5cd378d3
|
Actually demand ANY valid key to abort the Death sequence
|
2008-11-19 12:34:50 +00:00 |
|
zicodxx
|
1cbb44a897
|
Fixed Cheats
|
2008-11-18 14:34:52 +00:00 |
|
zicodxx
|
076e466009
|
Yet another UNICODE overhaul - Using seperate buffer for UNICODE chars and only use it in key_ascii() while still using keysyms for the rest of the program so we do not screw up readings by key values altered by modifers - possibly still room to optimize
|
2008-11-17 23:38:43 +00:00 |
|
zicodxx
|
aee0198f2e
|
Using a clean flow for closing game data at the end of main() instead of using atexit; Now only use atexit for SDL stuff, error, mem, console (and editor which we do later); Small Cleanup
|
2008-11-14 16:56:40 +00:00 |
|
zicodxx
|
15d25cc54a
|
Always keep aspect scaling (lowest scalar of width and height) for fonts, lines, dots, spheres, reticle and non-Cockpit-/Statusbar-related HUD-elements; Moved the Cockpit alpha decoding to gauges.c and created a seperate bitmap for the alpha fields and create subbitmaps from this one - more memory but this way we do not modify the cockpit bitmap itself
|
2008-11-09 14:31:30 +00:00 |
|
zicodxx
|
483a981d2f
|
I always forget glLineWidth takes previous setting if arg is <=0; Made the decodebuffer for cockpit static as the bitmap data pointer points to it
|
2008-11-01 15:40:00 +00:00 |
|
zicodxx
|
ab0524f95b
|
Always use printable UNICODE characters for the key_handler and included routine to assign key symbols to UNICODE so we get an equivalent of a Key-Released state which we need for the Keyboard buffer; Removed the shifted_ascii_value field from key_props and stored all usable characters in seperate rows; Improves Text input and makes keyboard mapping independent from keyboard layout without breaking any compability
|
2008-10-31 16:57:36 +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
|
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 |
|
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 |
|
kreatordxx
|
0866c3c66c
|
Add BALDGUY cheat for Mac data (see if anyone finds it ;-) )
|
2008-07-15 12:50:27 +00:00 |
|
kreatordxx
|
16cfedcccd
|
tidy up music keys, ALT-SHIFT-F9 ejects audio CDs
|
2008-06-15 08:50:05 +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
|
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
|
565ea29e05
|
Add audio CD support to D1X, fix associated bugs
|
2008-05-24 08:59:35 +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 |
|
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
|
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
|
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 |
|