kreatordxx
|
36e6885115
|
Disable network support for Mac OS X for now
|
2009-04-30 12:30:14 +00:00 |
|
zicodxx
|
0c36fecb42
|
Abstracting networking protocols - Step 2: Introducing new structure to hold protocol-dependend and -independend information about Netgame and it's Players; Further isolation of the IPX code and renaming the netdrv_* code to ipxdrv_* as this is now actually IPX-only; Next up: Renaming network_* functions to net_ipx_*, writing wrappers for protocol dependend functions in multi.c, Implementing protocol selection and Cleanup
|
2009-03-20 12:10:38 +00:00 |
|
zicodxx
|
0fc0fff7f1
|
Abstracting networking protocols - Step 1: Renaming network-related files; Removing net_ipx.h (former network.h) includes from as much files as possible to make isolation of IPX-related functions easier in Step 2; Version defines Cleanup - needed later for good Version-Checking
|
2009-03-04 21:04:43 +00:00 |
|
kreatordxx
|
f149ace782
|
Associate the jukebox with Redbook Audio via new 'extmusic' layer - separating from MIDI and making it handle ALL music (not just game music)
|
2009-03-03 12:55:27 +00:00 |
|
zicodxx
|
b63f988d37
|
New level render order for better seperation and blending between transculent level geometry and sprites
|
2009-01-30 11:50:25 +00:00 |
|
kreatordxx
|
cf8981eb76
|
Update version to 0.55.1 for Mac
|
2009-01-26 05:41:45 +00:00 |
|
zicodxx
|
6ba4be9e2b
|
Changed function naming convention in netdrv and below to general Descent code convention
|
2009-01-26 05:01:18 +00:00 |
|
zicodxx
|
e6c160ca85
|
Made MouseFilter selectable over Controls menu while defaulting to OFF - Saved in PLX
|
2009-01-17 11:02:59 +00:00 |
|
zicodxx
|
cf5c44321c
|
Error handling while dumping TGA file - (partially) Patch by v66r
|
2009-01-16 00:12:04 +00:00 |
|
zicodxx
|
e04250e266
|
Reduced size of vectorial reticle to match the size of the original one; Only scale fonts by float if Texture filtering is on - otherwise scale by int
|
2009-01-15 23:58:36 +00:00 |
|
zicodxx
|
c37285c217
|
Fixed typo in mouse delta reading cleaning not up Z-Axis; Giving automap a nicer Frameloop; Small cleanup
|
2009-01-15 20:55:35 +00:00 |
|
kiplingw
|
70fd9452f1
|
Added: Better support for non-free compiler... (patch from Damjan Cvetko <zobo@lana.krneki.org>)
|
2009-01-14 19:54:45 +00:00 |
|
zicodxx
|
6038280726
|
Added some randomness to collision sound delays and synced robot-player collision sprites to same steps
|
2009-01-13 16:53:10 +00:00 |
|
kreatordxx
|
81de582264
|
Use a 2D array to allow playing of songs by track number in future
|
2009-01-13 12:39:03 +00:00 |
|
kreatordxx
|
b7a0db130b
|
Increment Mac version number, update project for latest Xcode
|
2008-12-27 09:19:19 +00:00 |
|
kreatordxx
|
410707171e
|
Set SHAREPATH to "." so reading data from DXX's directory ACTUALLY WORKS
|
2008-12-21 08:59:17 +00:00 |
|
kreatordxx
|
f257e48ddc
|
Get Mac command keys working, MACINTOSH code cleanup, update Xcode project
|
2008-12-07 12:26:43 +00:00 |
|
zicodxx
|
c11f203abd
|
Deactivated depth writing fo g3_draw_bitmap() sprites to prevent rendering errors when clipped in some cases
|
2008-11-26 01:24:58 +00:00 |
|
zicodxx
|
076e466009
|
Yet another UNICODE overhaul - Using seperate buffer for UNICODE chars and only use it in key_ascii() while still using keysyms for the rest of the program so we do not screw up readings by key values altered by modifers - possibly still room to optimize
|
2008-11-17 23:38:43 +00:00 |
|
zicodxx
|
be02298290
|
Added other SDL_(Un)LockAudio statements to protect the audio_mixcallback function - making that hopefully stable on multicores; Resetting warn_func at quit_request so we do not accidently show any menu; Open gamelog.txt unbuffered
|
2008-11-15 20:49:54 +00:00 |
|
zicodxx
|
aee0198f2e
|
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
|
15d25cc54a
|
Always keep aspect scaling (lowest scalar of width and height) for fonts, lines, dots, spheres, reticle and non-Cockpit-/Statusbar-related HUD-elements; Moved the Cockpit alpha decoding to gauges.c and created a seperate bitmap for the alpha fields and create subbitmaps from this one - more memory but this way we do not modify the cockpit bitmap itself
|
2008-11-09 14:31:30 +00:00 |
|
zicodxx
|
804ac4c683
|
Only read UNICODE values from 31 to 254 to make sure we do not read any non-printable characters and prefer the keysym that way; Added left and right Command Key for MAC Keyboards
|
2008-11-07 11:09:29 +00:00 |
|
zicodxx
|
483a981d2f
|
I always forget glLineWidth takes previous setting if arg is <=0; Made the decodebuffer for cockpit static as the bitmap data pointer points to it
|
2008-11-01 15:40:00 +00:00 |
|
zicodxx
|
b2213b6f2e
|
Make sure that if we use UNICODE, we always take non-control type chars and - as we only want lowercase letters - convert chars if shift is pressed
|
2008-11-01 02:49:29 +00:00 |
|
zicodxx
|
ab0524f95b
|
Always use printable UNICODE characters for the key_handler and included routine to assign key symbols to UNICODE so we get an equivalent of a Key-Released state which we need for the Keyboard buffer; Removed the shifted_ascii_value field from key_props and stored all usable characters in seperate rows; Improves Text input and makes keyboard mapping independent from keyboard layout without breaking any compability
|
2008-10-31 16:57:36 +00:00 |
|
zicodxx
|
7e1141a881
|
Cleanup: Renderstats; Made PRShot a non-OpenGL-related feature and added to Misc Options; Added command for SDL_ASYNCBLIT to command-line args
|
2008-10-28 17:04:35 +00:00 |
|
zicodxx
|
92cec5ced3
|
Removed hack for Cockpit-window transparencies and added function to decode and add alpha to the bitmap directly (now works in non-OGL as well); Using sub-bitmaps for Cockpit-windows and menu backgrounds; Cleaned old bkg stuff from menu GUI
|
2008-10-28 13:28:10 +00:00 |
|
zicodxx
|
69c66b9afb
|
Setting Fullscreen toggle setting the GameCfg value at each change, not only in change_res(); Do not allow the toggle while playing since ALT-GR+ENTER could be used as game-keys; Reorganized Resolutions menu to automatically calculate aspect ratio for preset resolutions and making custom fields exclusive
|
2008-10-19 12:53:30 +00:00 |
|
zicodxx
|
03e026756e
|
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 |
|
kreatordxx
|
87d3f3522d
|
Keep Xcode project up-to-date, look in 'SDL' directory for SDL.h
|
2008-10-04 11:50:16 +00:00 |
|
zicodxx
|
6054bf7e90
|
Added new function to calculate common timesteps; Increased MAXIMUM_FPS to 200 for release and 1000 for debug; Used fixed sim_time for do_physics_sim and Interpolating to ensure collisions stay accurate at high FPS; New code and faster code for dot products by The_Lion; Disabled Nice-FPS and common Frame-Loop if VSync is active; More accurate delta timer for mouse (consider overhead); Added SDL_(Un)LockAudio for old SDL Audio interface; General support for up to 16 mouse buttons; Code cleanup; Made some AI movement and Player shaking FPS-independent
|
2008-09-30 00:18:39 +00:00 |
|
zicodxx
|
63d2c4a2cf
|
Added new function to calculate common timesteps; Increased MAXIMUM_FPS to 200 for release and 1000 for debug; Used fixed sim_time for do_physics_sim and Interpolating to ensure collisions stay accurate at high FPS; New code and faster code for dot products by The_Lion; Disabled Nice-FPS and common Frame-Loop if VSync is active; More accurate delta timer for mouse (consider overhead); Added SDL_(Un)LockAudio for old SDL Audio interface; General support for up to 16 mouse buttons; Code cleanup; Made some AI movement and Player shaking FPS-independent
|
2008-09-30 00:07:07 +00:00 |
|
zicodxx
|
e54992a974
|
Fixed IPX default socket (typo); Using function pointer for IPX-based sockets instead of globals
|
2008-07-19 22:28:31 +00:00 |
|
kreatordxx
|
ea58e300f0
|
Increment version number for Mac, ensure Get Info strings copy to bundle, use correct Mac OS X SDKs
|
2008-07-01 11:09:46 +00:00 |
|
kreatordxx
|
16cfedcccd
|
tidy up music keys, ALT-SHIFT-F9 ejects audio CDs
|
2008-06-15 08:50:05 +00:00 |
|
zicodxx
|
db87da1ac5
|
Setting GameArg.SndNoSound to true if SDL_mixer init fails
|
2008-06-12 08:01:00 +00:00 |
|
zicodxx
|
051acd3e18
|
Small doc update; Improved SDL_mixer / Jukebox handling if no resource (sound) is available
|
2008-06-05 16:30:11 +00:00 |
|
zicodxx
|
26502298d9
|
Generally increasing Menu rendering from 20 to 50 FPS; Allowed Fullscreen toggle in Pause menu and correctly releasing mouse; Fixed broken Death sequence timer; Fixed incorrect data offset for UDP player relay; Fixed crash in Multiplayer summary; Reworked player loading a little bit, making sure kconfig controls are all set; Some small Status bar correction; Implemented real Pause/Reume for Jukebox via SDL_mixer
|
2008-06-04 19:30:43 +00:00 |
|
zicodxx
|
f710bdd0f4
|
Only stop music at jukebox_stop() if MIDI jukebox_loaded - otherwise user can stop Jukebox with keys but not start it again
|
2008-06-01 22:33:21 +00:00 |
|
zicodxx
|
885074607c
|
Using Windows code to play HMP files on Windows build; Fixed Jukebox keys in help screen; Allow -noredundancy in Singleplayer; Fixed processing of Console keys if Console is not active; Added Multiplayer hints to README; Made INI wrapping safer and more accurate
|
2008-06-01 12:53:03 +00:00 |
|
kreatordxx
|
decaf3cc6d
|
allow an audio CD to be played if it's inserted after DXX is launched, hopefully find the first audio CD if multiple CDs are inserted
|
2008-05-28 10:38:30 +00:00 |
|
zicodxx
|
a9057c7c06
|
Set sound distance to 0 for HUD sound taunts; Making Jukebox not crash if -nosound is enabled (should stop Jukebox since no digi system enabled); Lowered mouse axis speed a bit again; Increasing MAX_VECS to 5000
|
2008-05-25 08:19:31 +00:00 |
|
kreatordxx
|
565ea29e05
|
Add audio CD support to D1X, fix associated bugs
|
2008-05-24 08:59:35 +00:00 |
|
zicodxx
|
5789de6531
|
Reverting screenshot stuff - error prone
|
2008-05-21 21:59:16 +00:00 |
|
zicodxx
|
6b230b82bf
|
Make Screenshots over backbuffer; Implmented filtered mouse delta reading
|
2008-05-21 14:06:44 +00:00 |
|
zicodxx
|
d6e16c54d4
|
Make Screenshots over backbuffer; Implmented filtered mouse delta reading
|
2008-05-21 13:58:27 +00:00 |
|
zicodxx
|
9af74225ed
|
Decreasing divisor for mouse axis reading - making mouse sensitivity practically much higher
|
2008-05-19 21:58:49 +00:00 |
|
zicodxx
|
2de6240191
|
Added -nomusic ability for SDL_mixer API; Added -gl_fontfixwidth to scale fonts with fixed aspect on widescreen resolutions, scaled to height
|
2008-05-19 19:28:27 +00:00 |
|
zicodxx
|
519e3dacb2
|
Some code improvements and small fixes
|
2008-05-08 18:29:52 +00:00 |
|
zicodxx
|
a356b4351d
|
Return unicode characters in key_to_ascii for non-EN keyboard layouts; Fixed sound menu issue if not compiled with SDL_mixer; switched -ip_norelay to -ip_relay since it's not tested enough; Renamed jukebox_free() to jukebox_unload() to stay with naming-convention
|
2008-05-07 14:11:30 +00:00 |
|
zicodxx
|
91e2934ca1
|
Return unicode characters in key_to_ascii for non-EN keyboard layouts; Fixed sound menu issue if not compiled with SDL_mixer; switched -ip_norelay to -ip_relay since it's not tested enough; Renamed jukebox_free() to jukebox_unload() to stay with naming-convention
|
2008-05-07 14:02:01 +00:00 |
|
zicodxx
|
039b8b551e
|
Extended Jukebox capabilities for looping and continous playing and added jukebox_free() which allows calling jukebox_load() being able to load a new directory; Added Jukebox options to sound options menu; Removed loop hack for Windows MIDI playback; SDL_mixer implementation can now be used for Windows build as well
|
2008-05-01 21:40:34 +00:00 |
|
kreatordxx
|
27e288b21d
|
get it to work for Mac OS 9
|
2008-04-24 14:27:54 +00:00 |
|
zicodxx
|
ec70ae0413
|
Added function gr_set_attributes to change Options like Texture Filtering and SDL_GL attributes while runtime (if supported); Added 4x Multisample support
|
2008-04-22 08:29:29 +00:00 |
|
zicodxx
|
96ed7fa827
|
Reworked timer_delay2() and calc_frame_time() to be more accurate and CPU-friendly; -nicefps replayced by -nonicefps to disable sleeping for calc_frame_time; Implemented VSync via SDL; Fixed compilation issues; Code cleanup
|
2008-04-21 18:39:49 +00:00 |
|
zicodxx
|
a40b362ced
|
Made joy_flush also resetting button state; Improved glReticle; Implemented Fallback resolution if SDL may fail; Code cleanup
|
2008-04-19 19:11:32 +00:00 |
|
zicodxx
|
24d1cf52f6
|
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
|
a172315d4a
|
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 |
|
kreatordxx
|
6aa3819282
|
detect the number of songs actually available if no descent.sng file (max 22)
|
2008-03-23 08:42:24 +00:00 |
|
zicodxx
|
f014231a78
|
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 |
|
kreatordxx
|
032018ccc4
|
add support for Mac pigfile (which doesn't include sounds yet)
|
2008-03-16 08:11:08 +00:00 |
|
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 |
|
kreatordxx
|
dd742d90d1
|
allow custom MIDI in add-on hogs to be used without caching everything
|
2008-01-26 01:16:31 +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 |
|
md2211
|
2d3fe6b2e8
|
Fixed looping jukebox music when it shouldn't (at end of level)
|
2008-01-10 20:35:59 +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 |
|
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 |
|