Commit graph

35 commits

Author SHA1 Message Date
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 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 beb2ab07ef Scale fonts by float values and filter them if texture filtering is on; Another fix for the code flow in change_res() as the check for minimal custom resolution always failed 2008-10-29 11:03:31 +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 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
kreatordxx 4c1b4084f8 make sure a font header only takes up sizeof(grs_font) memory, not sizeof(grs_font) squared 2008-01-13 00:41:57 +00:00
zicodxx 9577e61339 Small fixes; Code cleanup; Implemented PR-Screenshot feature 2007-10-18 14:44:02 +00:00
zicodxx f80b7223f6 Fixed size of kconfig_sub_table background; Fixed problems caused by use of load_stars() 2007-10-06 14:51:30 +00:00
zicodxx facee57d1f Not rendering additional transparency cockpit display anymore to ensure compability with custom cockpits; Improved overlay functions for cockpit elements 2007-10-05 23:47:16 +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 bb0b2b6929 Fixed embedded color strings 2007-09-03 11:21:00 +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 8e2aa8ea2a Cleaned up more FindArg's - general Debug Options; Cleanups 2007-07-18 20:13:17 +00:00
zicodxx cf14254e01 small code cleanup; improved texture caching in menus to save RAM 2007-06-15 12:32:44 +00:00
zicodxx ee7448eeac using size_t when it comes to integer to pointer conversions 2007-06-14 12:32:18 +00:00
zicodxx e22e079b56 fixed a bunch of compiler warnings 2007-06-11 09:06:14 +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 6c0a00ac07 fixed Assembler Compile Build error 2007-05-09 09:53:36 +00:00
zicodxx 49eaa12468 removed deprecated Makefile stuff 2007-05-03 15:16:27 +00:00
kreatordxx 751cbe1a91 add gr_flip, allowing significant cleanup including the moving of gr_show_canvas, Pages and VR_screen_pages to arch/dos/gr.c 2007-03-21 11:32:33 +00:00
zicodxx a09bf9b953 force show_fullscreen to software drawing if image is bigger than screen, showing Automap background in low resolutions via software, removed obsolete robot briefing fix in OGL, code cleanup 2007-02-06 19:23:33 +00:00
zicodxx 3d3188473b GP2X handheld support; added SConstruct file (MAC support incomplete); code optimisations for software renderer; fixed memleaks 2006-12-19 02:25:50 +00:00
zicodxx fd609ae169 introduced FSAA; fixed fullscreen toggle glitches; adjusted OGL_TEXTURE_LIST_SIZE and OGLTEXBUFSIZE; code cleanup; fixed memleak in game pause; restored font.c (oops) 2006-10-09 21:44:24 +00:00
zicodxx b25b1ab4cd cleaned up options menu and removed 'd1x options' because not really necessary anymore 2006-10-08 17:54:32 +00:00
zicodxx 09ae63542c corrected demo-related font positions; fixed window view glitch in demo playback; merged ogl_ubitmapm_cs and ogl_ubitmapm_cf 2006-10-08 15:57:11 +00:00
zicodxx 7b8399bfc6 clear up automake stuff, additions in DXX-COMPILE.TXT 2006-10-02 17:00:26 +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 a522685568 made fonts scalable, added command-line to enable fixed fonts, made savegame thumbs scalable, reworked menu borders, new way to display level info in automap to get right with scaled fonts. additionally layed out special characters to newmenu.h, showing savegame thumbnail in save game window as well 2006-08-18 09:47:07 +00:00
zicodxx 394cd7fe63 added mipmap operator to ogl_bitblt_i, added if to MovieShowFrame to switch off movie mipmap if argument -nomoviesmooth given, added command-line option, added new options to d2x.ini 2006-04-08 15:12:26 +00:00
zicodxx b94413b91b initial import 2006-03-20 17:12:09 +00:00