kreatordxx
|
72c62df583
|
Add path browsing feature to make song file/directory selection easier
|
2010-08-27 14:09:19 +00:00 |
|
kreatordxx
|
c1c60ab68b
|
Use more reliable Mix_LoadMUS for music in directory searchpaths, so WAVE's and MP3's are correctly loaded (probably others)
|
2010-08-22 13:27:47 +00:00 |
|
zicodxx
|
aaae123e44
|
Added res-file to be linked in Windows build to show icon in Filemanager; converted icon file to be smaller
|
2010-08-21 17:08:53 +00:00 |
|
zicodxx
|
8e708af3cb
|
Bind WM-Icon to application
|
2010-08-21 06:51:13 +00:00 |
|
zicodxx
|
cafb861bc5
|
For each Music playback system defining own volume scaling definition which was wrong for SDL_mixer
|
2010-08-19 15:54:19 +00:00 |
|
kreatordxx
|
50086c68e9
|
Between event sending, exit event_process if front window is different, fixing netgame joining problem introduced with commit on 20100731
|
2010-08-06 06:49:45 +00:00 |
|
zicodxx
|
7864eb52a0
|
If mouse_toggle_cursor is set to activate, do not toggle ursor visibility as mouse_update_cursor_and_grab might decide it should be hidden
|
2010-08-01 17:46:13 +00:00 |
|
zicodxx
|
f0edc54479
|
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 |
|
zicodxx
|
842af496ca
|
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
|
6af139181b
|
Using rather sane values for gluPerspective - fixing Z-Fighting bugs on Intel chips; in Fullscreen toggle, always apply new viewing values independent of Screen_mode
|
2010-07-29 20:19:52 +00:00 |
|
zicodxx
|
4a0d15fbcd
|
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
|
60e93e4deb
|
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 |
|
zicodxx
|
4f5d6ea605
|
Fixing automatic mouse release function - still this does not seem to work in every case
|
2010-07-27 19:42:28 +00:00 |
|
zicodxx
|
7acab7150c
|
Overhauling showing/grabbing cursor and also taking care of case if program looses focus; store old_delta_x/y in mouse info structure
|
2010-07-26 18:10:21 +00:00 |
|
kreatordxx
|
5a66d422bd
|
Exit SDL_PollEvent early if window changes, to avoid menu problems when pressing keys fast; fix 'condition is always false' warning
|
2010-07-25 00:49:33 +00:00 |
|
zicodxx
|
764798b732
|
Removed redundant Winsock calls from Windows-specific IPX code - it's already in net_ipx.c
|
2010-07-19 18:28:33 +00:00 |
|
zicodxx
|
9070771c47
|
Merged all HMP-related code into hmp.c/h; Also introduced new HMP to MIDI conversion functions based on JJFFE which use former Win32-related HMP-code - fixes some bugs in MIDI conversion and cleaner
|
2010-07-18 20:28:15 +00:00 |
|
zicodxx
|
c2603a0b49
|
For normal digital audio (11/22Khz) use buffer of 1024 for all platforms to prevent delay
|
2010-07-17 13:07:23 +00:00 |
|
zicodxx
|
ac840f306b
|
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
|
9933bb81ce
|
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
|
5c077028da
|
Also send event KEY_COMMAND if there's somethig in our Unicode buffer since not every Unicode key corresponds to a keysym on every layout
|
2010-07-08 10:55:20 +00:00 |
|
zicodxx
|
2f95d5933f
|
Fixing issue introduced in rev1139: Game could of course not open music files which are not inside Searchpath or added to it - re-added playing over absolute path
|
2010-07-05 07:41:30 +00:00 |
|
zicodxx
|
f2b31713b7
|
For playing music over SDL_mixer always use handle over PhysFS to save the path building mess; When building Jukebox path, only try to build full path if given path is actually a child of Searchpath
|
2010-06-27 14:30:12 +00:00 |
|
zicodxx
|
509e5be5a7
|
Added function to list valid resolutions and build resolutions menu dynamically with the resulting list
|
2010-06-24 09:29:11 +00:00 |
|
zicodxx
|
5cff370262
|
Fixing digi_win32_ functions I broke yesterday. THANKS ZIF\!
|
2010-06-15 18:27:10 +00:00 |
|
zicodxx
|
4678e1e815
|
Process -nomusic argument again
|
2010-06-14 17:55:25 +00:00 |
|
zicodxx
|
63966cab5c
|
rev1112 contd: Killed juggling around with adding Jukebox paths - must always be removed correctly if Jukebox loading fails
|
2010-06-14 15:32:55 +00:00 |
|
zicodxx
|
36e20a419a
|
Use strrchr instead of strchr for music filename extension in case there are dots in the filename
|
2010-06-14 10:43:30 +00:00 |
|
zicodxx
|
196a149c71
|
Small fix and improvement for Jukebox path detection
|
2010-06-14 10:33:36 +00:00 |
|
zicodxx
|
958859e7d6
|
Added missing newline at EOF
|
2010-06-14 08:19:27 +00:00 |
|
zicodxx
|
f09a336184
|
Increased SDL_mixer music abilities to play non-hmp from HOGs, having Level-music path to play, options to specify non-level tracks and added various playing order methods; Abstracted SDL_mixer- and Redbook-interfaces; Simplified program flow through all music functions
|
2010-06-14 08:13:16 +00:00 |
|
kreatordxx
|
020a51fe09
|
Comment out redundant calls to event_poll, fixing rapid bomb dropping bug (and probably others)
|
2010-05-03 10:47:10 +00:00 |
|
kreatordxx
|
5650b4ce48
|
Merge d_event and newmenu_event enum's, hopefully fixing compiler warnings in GCC 4.5.0
|
2010-05-03 08:44:46 +00:00 |
|
kreatordxx
|
53fc092ebf
|
Actually play endgame music when game is finished, play briefing music instead of hum if appropriate
|
2010-04-05 11:54:23 +00:00 |
|
kreatordxx
|
90e3796f97
|
Make menus for hosting a netgame stack, make quitting work with newmenu_do2 and simpler
|
2010-04-04 09:41:53 +00:00 |
|
kreatordxx
|
76b0fb35ef
|
Get rid of a heap of uses of Function_mode, quit properly (freeing all windows and asking for confirmation for game) when clicking close box
|
2010-04-04 01:31:48 +00:00 |
|
kreatordxx
|
3ba90f69e0
|
Make newmenu_do3 and newmenu_dotiny return as soon as the newmenu is created, which will allow the main menu (and others) to persist
|
2010-04-03 07:24:50 +00:00 |
|
kreatordxx
|
d749889c89
|
Add a default event handler for screenshots, entering debugger, Redbook repeating etc
|
2010-04-02 05:01:08 +00:00 |
|
kreatordxx
|
1ff3f56c1c
|
Add EVENT_MOUSE_BUTTON_DOWN and EVENT_MOUSE_BUTTON_UP, use for all windows except game and editor. Fixes crash on iMac G5 when pressing keys to progress through briefing
|
2010-03-24 07:26:52 +00:00 |
|
kreatordxx
|
05cc0f32af
|
Make fullscreen movies into windows, maintain performance of robot briefing movies with necessary move of gr_flip
|
2010-03-17 09:44:19 +00:00 |
|
kreatordxx
|
e5496b9653
|
Change audio buffer size back to 1024 for Mac only - fixing crackly music
|
2010-03-09 03:08:00 +00:00 |
|
zicodxx
|
e6d1b5c668
|
Changed default Audio-buffer size to 2048 bytes. Should prevent crackly playback on some systems
|
2010-03-03 21:27:48 +00:00 |
|
kreatordxx
|
1dbd60254c
|
No more crashing if an invalid Jukebox path is entered - default to MIDI
|
2010-02-27 13:05:34 +00:00 |
|
kreatordxx
|
67c05798d3
|
Move call to callback outside of loop in key_handler, now deleting a second demo using CTRL-D actually works
|
2010-02-25 04:27:15 +00:00 |
|
zicodxx
|
29f475c345
|
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
|
970fd8c2d2
|
Don't send an EVENT_WINDOW_DEACTIVATED when closing a window if it wasn't the front window, now the game works properly after you're shown on the high scores
|
2010-02-08 06:08:55 +00:00 |
|
kreatordxx
|
fa7ab97783
|
Send EVENT_WINDOW_DEACTIVATE before EVENT_WINDOW_ACTIVATE, ensuring cursor remains shown when appropriate
|
2010-02-05 14:05:57 +00:00 |
|
kreatordxx
|
999a1b2949
|
Put LeaveGame longjmp back, but in response to new EVENT_WINDOW_CLOSED, fixing demo issues; fix compiler error in last commit
|
2010-02-02 07:52:03 +00:00 |
|
kreatordxx
|
9fd714a083
|
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
|
5c923e864d
|
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 |
|