Commit graph

127 commits

Author SHA1 Message Date
zicodxx 96cc6e1006 Cleaned/Rewritten/Renamed lower level network layer to make it (look) less IPX-oriented 2008-01-02 15:36:51 +00:00
kreatordxx 588d1b000a rename types.h to pstypes.h to avoid name conflict with Mac OS 9's MrC (it doesn't respect the difference between project and system headers) 2008-01-02 03:37:13 +00:00
kreatordxx d03191da3e add Mac source files 2008-01-01 11:18:22 +00:00
zicodxx 285da809a8 Code cleanup - old/unused/obsolete multiplayer code and more 2007-12-29 14:18:49 +00:00
zicodxx aa93a2ca45 Fixed compiler error because of removed header file; Removed struct network_d1xplayer_info - obsolete; Allocated memory for all sequence_packet's; Moved piggy_close() and sdl_close() to end of main() - replacing atexit; Rendering credits with timer_delay2 at constant 25FPS and save CPU; Fixed -playermessages 2007-12-23 00:51:27 +00:00
zicodxx d6c708c111 Implemented new UDP/IP interface with Server-Relay (for firewalled users) and IPv6 compability; Fixed memory issues; If arguments -gl_mipmap and -gl_trilinear used both, always select -gl_trilinear 2007-12-17 22:45:45 +00:00
zicodxx 17c16bfc5b 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
md2211 e78bd38e32 Fixed crash on absent or invalid jukebox directory (testing scandir() return value) 2007-11-05 13:41:20 +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 bf2e42d2b0 Set SOUND_BUFFER_SIZE for SDL_mixer to 1024 to minimize delay; Removed MIDI-existance check and store all music to Music/ subdirectory of writedir - keeps clean if user has tons of levels; Added SDL_mixer command-line help output; Implemented new way to read command-line args; Stored MAXIMUM_FPS in game.h - where it belongs to 2007-10-13 23:49:07 +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
zicodxx 681db31858 Moved Windows midi functions to digi_audio_* functions 2007-09-30 13:38:25 +00:00
zicodxx 18d7e3fb69 Updated docs; Removed GP2X support since I won't support this device anymore 2007-09-28 22:44:04 +00:00
md2211 d393f32eed * Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
2007-09-21 19:06:05 +00:00
md2211 833ea13321 Fixed missing stuff for NDEBUG in digi.c, in revisions 610/611 2007-09-18 19:24:44 +00:00
md2211 d04d43a62c Fixed include glitch in rev 610 due to old header removal 2007-09-18 13:41:32 +00:00
md2211 cd6e155579 * Huge SDL_mixer refactoring; sound backend now selectable at runtime, in D1X & D2X
* Sound system now uses a set of function pointers (digi.c) as a single interface to either SDL or SDL_mixer
* Ported jukebox functionality to D2X
2007-09-18 13:37:39 +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 d6d1a2ca1f Code cleanup and small fixes 2007-07-22 01:34:00 +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 f3ae339f9f Cleaned up more FindArg's - Sound Options 2007-07-14 22:36:04 +00:00
zicodxx 38cde9ec87 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 9440769b45 small code cleanup; improved texture caching in menus to save RAM 2007-06-15 12:32:44 +00:00
zicodxx 67531a86d0 complete removal of hmiplay-code usage 2007-06-15 08:10:19 +00:00
zicodxx c3fa1eb778 fixed more compiler warnings 2007-06-11 15:54:09 +00:00
zicodxx 86c18a63c3 fixed a bunch of compiler warnings 2007-06-11 09:06:14 +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 f912c9efa6 Added config field to map a Mouse Axis/Wheel to cycle Primary and Secondary weapons; lots of controls-related code cleaning 2007-05-14 13:38:44 +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 93d9688d6b SDL-related fix for MinGW 2007-03-31 07:54:09 +00:00
zicodxx 6b84e27046 removed d_delay, now using timer_delay as wrapper for SDL_Delay 2007-03-25 21:00:14 +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
md2211 752b772d26 USE_SDLMIXER fix for regular SDL audio build 2007-03-18 18:17:49 +00:00
md2211 2a5142e82b First release of the new in-game jukebox system
Specify a music directory with -jukebox
2007-03-12 21:56:41 +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 7f51bf5ef5 Added ENTER as Game key 2007-02-19 23:28:43 +00:00
zicodxx e3faa7bcf6 removed BADTEXTURE cheat 2007-02-19 15:30:13 +00:00
md2211 a8b288748c * Going back to PHYSFS_file type (lower-case 'f') for compatibility
* Turning off sound debug flags
* Optional micro versions (see SConstruct)
* Makefile emulation for SCons
2007-02-14 21:02:46 +00:00