zicodxx
|
8e7fe53610
|
Defined some default cockpit modes in Demo mode so we do not get invalid values when demo starts in non-default-view mode (as new HUD modes are only triggered at beginning and end of event); Removed Newdemo_flying_guided global; Init seismic disturbances in demo mode just to make sure tey are switched off when coming from game mode; Made initialisation for Missile_viewer signature saving global so we can reset it for each new level and make sure we get a correct missile view; Fixed regression in Ai_last_missile_camera
|
2009-02-02 08:49:58 +00:00 |
|
zicodxx
|
4974579254
|
Fixed logical code flow error when player dies in a secret level entered after base level destroyed which is also the last level
|
2008-11-26 01:19:26 +00:00 |
|
zicodxx
|
1de53497b2
|
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
|
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
|
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
|
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
|
416403c2d6
|
Fixing MAC compiling issues (hopefully); Re-Added IPX Socket option to Host menu for IPX games; Renamed netmisc.* to netpkt.*; Handling host disconnect for UDP games in network.c
|
2008-01-08 16:30:14 +00:00 |
|
zicodxx
|
62f6f40ab3
|
Code cleanup - old/unused/obsolete multiplayer code and more
|
2007-12-29 14:18:49 +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
|
453cf2d609
|
Fixed problems with GameTime wraparound - delay sounds, cloak, invulnerability, ping; Added debug key to Reset GameTime for testing; Removed -gl_vidmem; Cheat-code cleanup; Some HUD message redundancy
|
2007-10-28 20:14:25 +00:00 |
|
zicodxx
|
190ed46530
|
Removed some strlwr calls for -use_players_dir since it uses Uppercase letters
|
2007-09-28 15:12:55 +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
|
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
|
0aa3fc1acf
|
adjusted size of Inputbox; code cleanup for saving/restoring state; also display savegame thumbnail when saving game
|
2007-06-16 08:14:00 +00:00 |
|
zicodxx
|
b7f02568c0
|
fixed more compiler warnings
|
2007-06-11 15:54:09 +00:00 |
|
kreatordxx
|
8348ed9bac
|
make sure the right slot is saved to, and it shows the save screen if appropriate, when using fast save (F6)
|
2007-05-22 11:06:19 +00:00 |
|
kreatordxx
|
fd8471138f
|
add use_players_dir argument, which puts player files and saved games in Players subdirectory, like original Mac D2 folder layout
|
2007-05-21 11:24:27 +00:00 |
|
zicodxx
|
0bc374acf9
|
moved load_palette() call in StartNewLevelSub() to show HOARD textures and bitmaps correctly in OGL
|
2007-05-10 08:53:35 +00:00 |
|
zicodxx
|
e9017c4a02
|
fixed broken Textures for Custom levels caused by load_palette() call
|
2007-05-05 09:36:33 +00:00 |
|
zicodxx
|
a4077fd291
|
fixing D1 Secret Level routines (thanks to xatmes)
|
2007-04-14 20:44:09 +00:00 |
|
kreatordxx
|
55bd12c349
|
remove final remains of VR_current_page and VR_use_paging, resolution variable cleanup - remove VGA_current_mode, VR_screen_mode, VR_render_buffer[0].cv_bitmap.bm_w/h and VR_render_width/height (Game_screen_mode is the actual resolution put in an int, not an index)
|
2007-04-05 13:23:44 +00:00 |
|
zicodxx
|
dc5aabc757
|
close menu with boxed message; improved palette reloading; fixed selected item for restore game dialog
|
2007-04-04 17:18:17 +00:00 |
|
kreatordxx
|
5e207b4eb5
|
remove 'extern int last_drawn_cockpit[2]' since it's now a single int (not an array), fixing memory corruption (whoops!!)
|
2007-04-01 02:14:38 +00:00 |
|
zicodxx
|
90fcd625da
|
only read and write lowercase pilots - prevents mistakes in -pilot option as well as multisaves
|
2007-01-18 18:58:18 +00:00 |
|
zicodxx
|
c251074930
|
added new control type: Joystick & Mouse (Thanks to The_Lion)
|
2006-10-07 01:12:25 +00:00 |
|
zicodxx
|
a86ae94762
|
scalable HUD, improvements for HUD and cockpits, cleaner code, fixes to get SDL renderer working again
|
2006-09-29 00:57:57 +00:00 |
|
zicodxx
|
6bec053b4b
|
some fixes for menus and automap; new aspect code; improved code to scale window for cockpits; introducing new variable in playsave.c to store game resolution and saving Game_window_h/h again properly - fixes bugs with screwed resolutions; making menus in game-resolution as default and re-activating old command-line arg '-menu<X>x<Y>' to scale menus
|
2006-08-30 18:12:04 +00:00 |
|
zicodxx
|
b94413b91b
|
initial import
|
2006-03-20 17:12:09 +00:00 |
|