Commit graph

77 commits

Author SHA1 Message Date
zicodxx 02cb47e7c1 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 8eb5c965d2 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 fe98538b2b Cleanung up arch/ a little bit; Added mouse delta time interval for more more accurate reading at high FPS 2008-01-29 14:49:54 +00:00
zicodxx d9e23370f9 Implemented PhysFS support; Implemended D2X memory functions; Code cleanups 2008-01-23 17:25:09 +00:00
zicodxx 7c38557284 Removed SDL Gammaramp code (obsolete); Improvements on Demo code 2008-01-13 13:27:58 +00:00
zicodxx f63c742faa Added BigEndian-related multiplayer/network code (unfinished); Re-Added IPX Socket option to Host menu for IPX games; Removed ForceVersionCheck global - conditions with driver->type; Merged netmisc.* and netpkt.*; Handling host disconnect for UDP games in network.c 2008-01-08 16:46:31 +00:00
kreatordxx 2ac1559a8b get D1X to build for Mac OS X, conditionals for Mac OS 9 2008-01-03 10:31:02 +00:00
zicodxx 96cc6e1006 Cleaned/Rewritten/Renamed lower level network layer to make it (look) less IPX-oriented 2008-01-02 15:36:51 +00:00
zicodxx 4f399bbfea Improvements for -gl_prshot; Improved show_netgame_info(); Removed obsolete multisave code; Removed mekh stuff and wide cleanings in whole multi code; Incremented MULTI_PROTO_D1X_VER (for version checks in the future if needed); Renamed 'D1X-only game' to 'Version Check' 2007-10-31 00:49:24 +00:00
zicodxx 9d1a374447 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 60e30cb40a Small fixes; Code cleanup; Implemented PR-Screenshot feature 2007-10-18 14:44:02 +00:00
zicodxx debc7d71b5 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 d393f32eed * Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
2007-09-21 19:06:05 +00:00
zicodxx dac257e4b7 If sdl_only=1 do not use Assembly code by default because of poor portability - switch asm=1 necessary now; Removed final remnants of glScissor 2007-08-28 00:01:25 +00:00
zicodxx a01b75737c FindArg cleanup - GL-Debug and SDL arguments 2007-07-23 18:13:49 +00:00
zicodxx 44ae14c363 Even more FindArg cleanups 2007-07-22 20:56:23 +00:00
zicodxx 88c53d941a Even more FindArg cleanups 2007-07-22 20:40:39 +00:00
zicodxx ca9e82fe80 Cleaned up more FindArg's - general Debug Options; Cleanups 2007-07-18 20:13:17 +00:00
zicodxx 2f23a099c7 Deletion of unused code 2007-07-16 02:46:47 +00:00
zicodxx c19d49d65d Cleaned up more FindArg's - (most important) OpenGL Options 2007-07-15 21:22:07 +00:00
zicodxx 90e50806ba Cleaned up more FindArg's - Graphics Options 2007-07-15 15:23:45 +00:00
zicodxx 9440769b45 small code cleanup; improved texture caching in menus to save RAM 2007-06-15 12:32:44 +00:00
zicodxx c3fa1eb778 fixed more compiler warnings 2007-06-11 15:54:09 +00:00
zicodxx 6049574cd2 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 a6e1a5c332 Added conditions to add compiler/linker flags from user's environemnt if they have any set; make sure gl functions are not called before OpenGL is initialised, when fullscreen switching; use new 3 argument mouse_get_delta to avoid compiler errors 2007-05-30 14:29:40 +00:00
zicodxx ecf8a53e0c update viewing values at Fullscreen Toggle; added Fullscreen Toggle to Menus and Demo Playback 2007-05-09 09:44:45 +00:00
zicodxx 91d32b1a9d deleted leftovers of obsolete Make build-system 2007-03-25 17:23:30 +00:00
zicodxx 9e1281d81e add gr_flip, allowing significant cleanup; remove final remnants of VR_current_page, also allowing -nodoublebuffer switch for all platforms 2007-03-22 14:15:46 +00:00
zicodxx d33ccb0f01 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 09ea33ca94 improved DepthTest, fixing Clipping bugs 2007-02-26 13:32:00 +00:00
zicodxx 93b4b0fea9 don't show Radar box-fading in SDL; fixed OGL gr_ucircle() 2007-02-20 00:00:28 +00:00
zicodxx e3faa7bcf6 removed BADTEXTURE cheat 2007-02-19 15:30:13 +00:00
zicodxx b15b093caa removed -gl_transparency debug message 2007-02-02 13:30:31 +00:00
zicodxx c3cd727ff2 don't draw bombs with transparency even if -gl_transparency is enabled 2007-02-02 12:58:59 +00:00
zicodxx d136627b86 let ogl_ubitblt not return alpha channel to ogl_ubitblt_i 2007-02-02 10:26:13 +00:00
zicodxx d636883a64 corrected UDP/IP error output 2007-01-30 00:00:53 +00:00
zicodxx 1bb867d617 added transparency effects for some bitmaps like explosions, powerups, weapons, etc. - to enable with -gl_transparency 2007-01-29 23:31:20 +00:00
zicodxx 47ae8bc0de added some forgotten includes to avoid warnings 2007-01-25 10:03:55 +00:00
zicodxx db2c91597e read/save Hires fonts/briefings, demos, AddOn missions, screenshots from/to subdirectories 2007-01-25 09:56:05 +00:00
zicodxx b4797fb54f in g3_draw_sphere align rad according to canvas so it is always in round shape 2007-01-20 17:18:42 +00:00
zicodxx a63994e594 gr_upixelc now able to scale pixels to current resolution 2007-01-19 19:52:11 +00:00
zicodxx 85e4151534 allocate 'pixels' and 'texbuf' according to current screen resolution, saving over a hundred megabytes of memory; divide negative light rates of change properly (fix bug #2575) (from D2X CVS); divide negative window x-coordinates properly, fixing random crashes (from D2X CVS); make sscanf look for %i.%i instead of v%i.%i because the 'v' isn't written to file; added missing changelog entries 2007-01-09 01:23:49 +00:00
zicodxx 8a173d3454 command-line to set glScissor off if needed 2006-11-02 01:23:47 +00:00
zicodxx a97cd507e1 made lines width scale to resolution; fixed compiler warnings 2006-10-20 23:17:48 +00:00
zicodxx 5548fc7fc4 introducing draw_wbu_border to draw rounded weapon boxes with glScissor 2006-10-20 16:37:47 +00:00
zicodxx 9842dfe1b6 removed fullscreen menu toggle - does not work on any arch and hasn't since we have toggle in resolution menu 2006-10-20 14:53:41 +00:00
md2211 c5d137adac Fix for inherent limitation in pow2ize() and wrong description thereof 2006-10-17 18:14:56 +00:00
zicodxx 16dbe4f797 improved SDL Joystick axes recognition; fixing mem corruptions while closing joysticks; removed Joystick calibration which should be unnecessary with SDL; fixing printf format in gr.c 2006-10-16 23:21:53 +00:00
zicodxx 92cc2a38a8 once again better restricion for glClear while screen change 2006-10-13 09:58:18 +00:00
zicodxx 3273f13a94 switching SDL gammaramp off by default because uses too much CPU 2006-10-12 09:55:18 +00:00