zicodxx
|
d78a16e229
|
In briefings make sure Current_color cannot exceed possible array bounds
|
2010-07-19 17:30:25 +00:00 |
|
kreatordxx
|
f16671a077
|
Make sure the right canvas is set for titles and briefings, fixing bug where briefing is shown in the cockpit when using 'freespace' cheat
|
2010-07-15 09:45:25 +00:00 |
|
zicodxx
|
896a3770c8
|
Scale tab stops in briefings to font-size correctly
|
2010-07-15 09:22:33 +00:00 |
|
zicodxx
|
98a1b97fb9
|
When reading mission file, check for sanity of possible breifing or ending to make sure author did not just screw up the file; Fixed slight bug when playing ending briefings from secret levels
|
2010-07-08 22:12:53 +00:00 |
|
zicodxx
|
d18e8f08fe
|
Made Briefing printing sound apply everytime there is chattering enabled. Even if it would be logical to have it only with flashing cursor, most briefings - even Counterstrike - forget to toggle it correctly
|
2010-06-25 06:35:29 +00:00 |
|
zicodxx
|
c935ecfa99
|
Make sure GAME_FONT is set when reading out briefing text so char dimensions will always be stored correctly
|
2010-06-21 21:43:10 +00:00 |
|
zicodxx
|
da0d7c1f61
|
For briefings, keep elementes of show_briefing_bitmap and show_animated_bitmap in correct aspect
|
2010-06-19 16:24:34 +00:00 |
|
kreatordxx
|
6cc629dc6a
|
Actually fix endgame music, make briefing beep only play when flashing_cursor is on, no restarting music when reloading a saved game
|
2010-04-05 13:48:23 +00:00 |
|
kreatordxx
|
66bad6378f
|
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
|
dae5968170
|
Add a default event handler for screenshots, entering debugger, Redbook repeating etc
|
2010-04-02 05:01:08 +00:00 |
|
kreatordxx
|
1f62f35477
|
D1X: Fix black and white swapping when viewing robots in briefings using Mac data; D2X: For Descent 1 briefings, only change the palette to groupa.256 for brief03.pcx - the robot screen. Improves palette use for sdl build
|
2010-03-30 03:37:29 +00:00 |
|
zicodxx
|
9d2a7773c8
|
Fixing uninitialized angles for robots in briefings
|
2010-03-26 21:27:55 +00:00 |
|
zicodxx
|
19ad0ace53
|
In Endlevel sequence, re-align big explosion to draw in front of exit model, relative to viewer; Re-organized tex files for Briefings and Endings and created more general code to play them; Re-aligned Dravis' head
|
2010-03-25 23:37:19 +00:00 |
|
kreatordxx
|
73ba0a078f
|
Make sure got_z is not reset to 0 for Descent 1 missions - fixing crash, also make sure briefing hum is not played through more than one channel
|
2010-03-25 03:08:01 +00:00 |
|
kreatordxx
|
dec98a025e
|
Only show briefing background if we have one, fixing arithmetic crash with SDL Video build
|
2010-03-24 13:59:42 +00:00 |
|
kreatordxx
|
037bbd8786
|
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
|
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
|
0fe66266fc
|
Make briefing into a window, allowing more flexibility with other windows and tidying code up
|
2010-03-18 04:31:47 +00:00 |
|
kreatordxx
|
9e6815c51b
|
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
|
3b91da551b
|
Put most local variables in show_briefing in 'briefing' struct, to make briefing a window in future
|
2010-03-10 08:43:47 +00:00 |
|
kreatordxx
|
62e4bd1f6c
|
Put parameters in functions from do_briefing_screens to show_briefing in 'briefing' struct, to make briefing a window in future
|
2010-03-09 04:59:14 +00:00 |
|
kreatordxx
|
a29874493f
|
Put briefing globals in 'briefing' struct, pass this by parameter
|
2010-03-09 02:41:34 +00:00 |
|
kreatordxx
|
2b90001487
|
Make titles.c more similar between D1X and D2X
|
2010-03-01 07:27:51 +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
|
777f76aedf
|
Get Mac command keys working, MACINTOSH code cleanup, update Xcode project
|
2008-12-07 12:26:43 +00:00 |
|
zicodxx
|
490726b4ac
|
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
|
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
|
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
|
3a747dbdee
|
include/loadgl.h, main/newmenu.c, main/titles.c: Added definitions for OpenGL fucntions which might not be included in system headers; Cleaned and declared briefings palette hacks [EMULATING_D1 needs work]; Menu right border shadow was too wide;
|
2008-03-25 12:28:02 +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
|
10f39559bf
|
Fixed wrong font width spacing, -gl_prshot, mission loading, null-terminatinon in several menus, cockpit glitch; Improved gl_reticle, -noredundancy; Some code cleanup
|
2008-02-27 22:05:58 +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
|
1639e0f1f5
|
Fixed some memory problems; Adjusted timer_delay2 for robot briefings
|
2007-11-23 21:14:57 +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
|
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 |
|
md2211
|
a0b4cac982
|
* Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
|
2007-09-21 19:06:05 +00:00 |
|
zicodxx
|
02bad1ce39
|
Removed briefing text shadows code
|
2007-09-20 14:39:23 +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
|
19beaa08cd
|
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
|
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
|
29ef28bef3
|
Cleaned up more FindArg's - (most important) OpenGL Options
|
2007-07-15 21:22:07 +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
|
c006b42939
|
using gr_flip() with title screens
|
2007-06-29 19:57:18 +00:00 |
|
zicodxx
|
5bcb0e1ed5
|
introduced new bitmap flag to draw cockpit bitmap with transparency; draw transparent cockpit bitmap over gauges to make it more pixel-correct; code cleanups
|
2007-06-10 16:21:53 +00:00 |
|
zicodxx
|
9c7b97dfe7
|
removed unnecessary gr_set_mode() call causing annoying resolution change (hopefully)
|
2007-05-05 23:25:32 +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 |
|
kreatordxx
|
a50d211aa4
|
move variable declarations to the top for non-gcc compilers (like MrC for MPW)
|
2007-03-31 00:37:58 +00:00 |
|