Commit graph

110 commits

Author SHA1 Message Date
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
zicodxx 285da809a8 Code cleanup - old/unused/obsolete multiplayer code and more 2007-12-29 14:18:49 +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 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 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 a01b75737c FindArg cleanup - GL-Debug and SDL arguments 2007-07-23 18:13:49 +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 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 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
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 7f51bf5ef5 Added ENTER as Game key 2007-02-19 23:28:43 +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
zicodxx 226d5140d0 preparations for v0.51 release 2007-01-30 17:58:25 +00:00
zicodxx 5e8c424b5c fixed PRINTSCREEN key for WINDOWS 2007-01-22 10:52:01 +00:00
md2211 10eedf6611 * music volume now properly restored and remembered in D1 and D2, using a static int
* removed ugly hack that fixed this bug in D1 (inferno.c, revision 230)
2006-12-12 21:47:17 +00:00
zicodxx 3a2a5a0bd6 ARM CPU support with words alignment and GP2X handheld support 2006-11-22 05:35:10 +00:00
zicodxx ade9407122 merged SDL keyboard functions from D2X 2006-11-17 01:34:40 +00:00
zicodxx 9a30b3608f improved joystick code for more buttons 2006-11-02 13:35:18 +00:00
md2211 f147939913 Another fix for crash on -nosound 2006-10-27 17:53:22 +00:00
md2211 a65fd40487 Fix for crash with -nosound and looped sound volume adjustment 2006-10-24 16:18:50 +00:00
md2211 f1706cf2ec * Addition of forgotten HMP-MIDI conversion
* SConstruct fix: unnecessary dependency on said conversion code
* Music playback from internal Descent files
2006-10-18 17:08:59 +00:00
md2211 74f4d94349 * SConstruct enhancements
* Work in progress: SDL_mixer backend for sound
2006-10-17 20:52:09 +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 4f153cf8b1 re-activated Weapon Keys menu - aka D1X keys 2006-10-15 23:42:14 +00:00
zicodxx 1364ea9f89 menu-related fixes 2006-10-11 19:08:15 +00:00
zicodxx 0b2b1dd4dc if player is deleted also delete PLX file; removed D1X_DATE, not necessary; corrected Menu_special 2006-10-10 09:53:25 +00:00
zicodxx ca9d4217ed don't give GL extensions on release build, code cleanup 2006-10-08 23:18:07 +00:00
zicodxx 2591bc436b added new control type: Joystick & Mouse (Thanks to The_Lion) 2006-10-07 01:09:41 +00:00
zicodxx 5922475e89 implemented sound code of d2x 2006-10-06 16:34:53 +00:00
zicodxx 2badf8fcde added z-axis for mouse; made mouse movement (x,y) independent of fps; code cleanup and reformatting 2006-10-06 11:23:43 +00:00
zicodxx 83adda4224 added mouse in menus - part 2 2006-09-30 23:36:09 +00:00
zicodxx 669eed87ce fixed joystick deadzone feature and moved it and sensitivity to controls sub-menu 2006-09-29 21:42:06 +00:00
zicodxx 8778e9c012 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:11:16 +00:00
zicodxx 78dad5631f building with more SDL code, added lots of D2X SDL related code, windows build does not need DirectX anymore; implemented SCons build system; provisoric hacks to build editor; changed contents of readme and compile text files 2006-07-27 09:46:44 +00:00
zicodxx a15ae0ec08 added variable aspect function, changed cmd-help, changed ini file 2006-05-06 09:44:21 +00:00
zicodxx 47e2ce9c98 added 16to10 support 2006-04-08 18:54:15 +00:00
zicodxx 2656081efa added widescreen aspect with command-line option for SDL and OGL build 2006-04-03 21:16:17 +00:00
michaelstather bf476e1dae The new build system for d1x 2006-04-03 17:36:27 +00:00
michaelstather 27a39f1539 The new build system for d1x 2006-04-03 17:34:30 +00:00
michaelstather 03c6ba5770 The new build system for d1x 2006-04-03 17:32:39 +00:00
zicodxx cde0244a09 initial import 2006-03-20 16:43:15 +00:00