zicodxx
|
dd991fbf6b
|
Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content
|
2011-06-01 09:59:55 +02:00 |
|
zicodxx
|
94490492a4
|
Fixing unfreed buffer when credits_show() was called but there was nothing to show me
|
2011-04-13 21:11:22 +02:00 |
|
zicodxx
|
dd4a5ae0d8
|
For credits and briefings moved all code happened in EVENT_IDLE to EVENT_WINDOW_DRAW since a jitterish Joystick could slow down text rendering
|
2011-02-14 23:52:33 +01:00 |
|
Chris Taylor
|
030aef43e3
|
For editor, replace use of ui_mega_process() with event_process(), with the editor's own default event handler; add EVENT_MOUSE_MOVED event with event_mouse_get_delta() accessor; add event_key_get() to replace ugly casting; rename mouse_get_button() with event_mouse_get_button() to keep with name convention; only send idle events when there are no input events so editor still works properly (or the same anyway); add and use event_send() function for input events (including idle)
|
2011-01-14 17:51:13 +08:00 |
|
zicodxx
|
4b008cece1
|
Let credits track fade out at the end of text sequence; Fixed usage for RBAPlayTracks - when playing only one track last must be equal first, not 0; In hmp_open changed data from long to int, preventing memory explosion depending on optimisation of the code
|
2011-01-10 20:40:55 +01:00 |
|
zicodxx
|
8dcbb3bd81
|
Introduced function key_ismodlck to get the status of modifier keys or sticky keys; Let sticky keys survive flush so we can accurately use their real states; Added key repeating via SDL; Depending on status of KEY_NUMLOCK keypad will either be used as numerical or arrow input in menus; Fixed small typo for mouse.h include in credits.c
|
2011-01-02 18:07:44 +01:00 |
|
zicodxx
|
8a202f04ed
|
Mouse wheel now can scroll through menu/listbox items; Right mouse button closes a menu (without the need of these ugly close boxes); Also added mouse-closing capabilities to credits, scores and kconfig menus; While being in UDP Netgames list, override keycode at PAGEUP/DOWN keypress to only flip pages without modifying citem also added messagebox showing TXT_INVALID_CHOICE when invalid netgame was chosen
|
2011-01-02 12:25:51 +01:00 |
|
zicodxx
|
535edf0691
|
Align timer_delay for credits so the song (midi or redbook) should at least be heard once
|
2010-12-23 23:38:33 +01:00 |
|
kreatordxx
|
dae5968170
|
Add a default event handler for screenshots, entering debugger, Redbook repeating etc
|
2010-04-02 05:01:08 +00:00 |
|
kreatordxx
|
40c735e20e
|
Fix error introduced with credits, make title screen a window. Only the editor left now...
|
2010-03-22 04:44:35 +00:00 |
|
kreatordxx
|
247943fa11
|
Make credits screen a window
|
2010-03-22 03:31:02 +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
|
7d96dea2a5
|
Small Cleanup: Using timer_delay for credits timer as timer_delay2 would respect VSync and change speed of the Credits scrolling; Cleaned that Start/Join Netgame cases up a bit; Removed the excessive use of atexit in newmenu... more to come
|
2008-11-09 23:51:19 +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
|
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
|
24e25d966b
|
Fixed compiler error because of removed header file; Removed connect state restore in multi_endlevel_score to make sure always state 7 is sent to other players while connect state is obviously restored later; Allocated memory for all sequence_packet's; Moved piggy_close() to main - replacing atexit; Rendering credits with timer_delay2 at constant 25FPS and save CPU
|
2007-12-23 00:51:59 +00:00 |
|
zicodxx
|
c3b0baa1c3
|
Memory stuff
|
2007-10-29 21:40:49 +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
|
2960bd519c
|
Moved 'if' for HiresGFX to apply after gr_set_mode call; Fixed problems with HiresGFX=0 in Pilot selection and Briefings; Fixed define for CREDITS_FILE so cfexist checks for txb-, not tex-file
|
2007-09-01 14:02:49 +00:00 |
|
zicodxx
|
7316f617a3
|
Fixed some mem-leaks; Made show_fullscr() use ogl_ubitmapm_cs(); Removed use of glScissor for menus - using Blitting; Code cleanup
|
2007-08-27 23:01:34 +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
|
b7f02568c0
|
fixed more compiler warnings
|
2007-06-11 15:54:09 +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
|
9aad531b09
|
use ogl_ubitmapm_cs instead of show_fullscr in OGL to render faster
|
2007-01-27 02:48:36 +00:00 |
|
zicodxx
|
52bb848084
|
improved credits scrolling - not that smooth anymore, but less CPU intense
|
2007-01-25 23:58:28 +00:00 |
|
zicodxx
|
947503af25
|
adjusted credits scroll speed with MenuHires
|
2006-10-20 15:09:45 +00:00 |
|
zicodxx
|
0333ef39ea
|
make scrolling smoother by changing time_delay
|
2006-10-12 22:48:55 +00:00 |
|
zicodxx
|
eb7bbce734
|
code cleanup
|
2006-10-07 21:45:20 +00:00 |
|
zicodxx
|
f841d7a5a3
|
compiler related changes (thanks to Chris Taylor)
|
2006-10-02 14:36:19 +00:00 |
|
zicodxx
|
76707efea7
|
new code for ogl_offscreen_render, used it to reduce flickering in credits
|
2006-08-22 00:01:06 +00:00 |
|
zicodxx
|
4124ce33f7
|
more adjustments; NUM_LINES and first_line_offset
|
2006-04-14 19:04:17 +00:00 |
|
zicodxx
|
1d7a46148e
|
increased first_line_offset to keep lines in canvas at very high resolutions
|
2006-04-14 18:09:59 +00:00 |
|
zicodxx
|
baae055b56
|
for OGL build, keep the lines in canvas; created borders and new fadings to hide font appearence and disappearence
|
2006-04-14 10:26:12 +00:00 |
|
zicodxx
|
98cf9981ed
|
adjusted ROW_SPACING and NUM_LINES; code cleanup and formatting
|
2006-03-26 13:50:17 +00:00 |
|
zicodxx
|
b94413b91b
|
initial import
|
2006-03-20 17:12:09 +00:00 |
|