kreatordxx
|
5650b4ce48
|
Merge d_event and newmenu_event enum's, hopefully fixing compiler warnings in GCC 4.5.0
|
2010-05-03 08:44:46 +00:00 |
|
kreatordxx
|
53fc092ebf
|
Actually play endgame music when game is finished, play briefing music instead of hum if appropriate
|
2010-04-05 11:54:23 +00:00 |
|
kreatordxx
|
90e3796f97
|
Make menus for hosting a netgame stack, make quitting work with newmenu_do2 and simpler
|
2010-04-04 09:41:53 +00:00 |
|
kreatordxx
|
76b0fb35ef
|
Get rid of a heap of uses of Function_mode, quit properly (freeing all windows and asking for confirmation for game) when clicking close box
|
2010-04-04 01:31:48 +00:00 |
|
kreatordxx
|
3ba90f69e0
|
Make newmenu_do3 and newmenu_dotiny return as soon as the newmenu is created, which will allow the main menu (and others) to persist
|
2010-04-03 07:24:50 +00:00 |
|
kreatordxx
|
d749889c89
|
Add a default event handler for screenshots, entering debugger, Redbook repeating etc
|
2010-04-02 05:01:08 +00:00 |
|
kreatordxx
|
1ff3f56c1c
|
Add EVENT_MOUSE_BUTTON_DOWN and EVENT_MOUSE_BUTTON_UP, use for all windows except game and editor. Fixes crash on iMac G5 when pressing keys to progress through briefing
|
2010-03-24 07:26:52 +00:00 |
|
kreatordxx
|
05cc0f32af
|
Make fullscreen movies into windows, maintain performance of robot briefing movies with necessary move of gr_flip
|
2010-03-17 09:44:19 +00:00 |
|
kreatordxx
|
e5496b9653
|
Change audio buffer size back to 1024 for Mac only - fixing crackly music
|
2010-03-09 03:08:00 +00:00 |
|
zicodxx
|
e6d1b5c668
|
Changed default Audio-buffer size to 2048 bytes. Should prevent crackly playback on some systems
|
2010-03-03 21:27:48 +00:00 |
|
kreatordxx
|
1dbd60254c
|
No more crashing if an invalid Jukebox path is entered - default to MIDI
|
2010-02-27 13:05:34 +00:00 |
|
kreatordxx
|
67c05798d3
|
Move call to callback outside of loop in key_handler, now deleting a second demo using CTRL-D actually works
|
2010-02-25 04:27:15 +00:00 |
|
zicodxx
|
29f475c345
|
Cleaning up Joystick code and on the way supporting more axes and buttons; Also fixed bug with channel_mask byte causing trouble using some axes ingame; Added argument to set environment variable which disables sticky keys (for SDL >= 1.2.14)
|
2010-02-14 18:48:02 +00:00 |
|
kreatordxx
|
970fd8c2d2
|
Don't send an EVENT_WINDOW_DEACTIVATED when closing a window if it wasn't the front window, now the game works properly after you're shown on the high scores
|
2010-02-08 06:08:55 +00:00 |
|
kreatordxx
|
fa7ab97783
|
Send EVENT_WINDOW_DEACTIVATE before EVENT_WINDOW_ACTIVATE, ensuring cursor remains shown when appropriate
|
2010-02-05 14:05:57 +00:00 |
|
kreatordxx
|
999a1b2949
|
Put LeaveGame longjmp back, but in response to new EVENT_WINDOW_CLOSED, fixing demo issues; fix compiler error in last commit
|
2010-02-02 07:52:03 +00:00 |
|
kreatordxx
|
9fd714a083
|
Add EVENT_WINDOW_DEACTIVATED; move many game_flush_inputs, start_time and stop_time calls to game_handler as well as digi_pause_digi_sounds and digi_resume_digi_sounds
|
2010-02-02 03:38:29 +00:00 |
|
kreatordxx
|
5c923e864d
|
Leave kconfig_idle early if exiting kconfig to avoid erroneous memory access; initialise menu's citem properly; add EVENT_NEWMENU_CHANGED; activate USE_IPX in Xcode while I'm still changing net_ipx.c
|
2010-02-01 06:55:38 +00:00 |
|
kreatordxx
|
21d8d86d5b
|
Send EVENT_KEY_COMMAND from key.c; add EVENT_NEWMENU_DRAW for state restore; place newmenu and listbox calls to callback so they can override ALL newmenu behaviour
|
2010-01-30 03:24:19 +00:00 |
|
zicodxx
|
2bcf54b77a
|
Added real Doublebuffering to SDL-build; While on the way, making Bpp selection available for SDL-build, too
|
2010-01-29 21:53:17 +00:00 |
|
kreatordxx
|
9d4e69c7a9
|
Make response to EVENT_WINDOW_CLOSE conform to 'handling' system - returning 1 means abort closing
|
2010-01-28 03:27:49 +00:00 |
|
kreatordxx
|
88d1b32914
|
Add EVENT_WINDOW_ACTIVATED, change EVENT_DRAW to EVENT_WINDOW_DRAW and EVENT_CLOSE to EVENT_WINDOW_CLOSE
|
2010-01-20 05:10:32 +00:00 |
|
kreatordxx
|
b3b87fc62d
|
Make pause box a window
|
2010-01-09 09:19:26 +00:00 |
|
kreatordxx
|
b97e08dfdc
|
Add EVENT_NEWMENU_SELECTED, allowing a newmenu/listbox selection to be handled in the callback. Demonstrate with "Select Song" menu
|
2010-01-08 01:55:12 +00:00 |
|
kreatordxx
|
6b4d952ebc
|
Change newmenu and listbox callback systems, adding use of d_event, for greater flexibility
|
2010-01-07 14:49:07 +00:00 |
|
kreatordxx
|
d450c3e6f4
|
Make newmenus into windows, allowing redrawing of automap and game to take place outside of newmenu.c; remove redundant keyd_repeat
|
2009-12-26 01:08:57 +00:00 |
|
zicodxx
|
f7b82723c4
|
Fixing possible string overflow while using KALI_PROCESS_NAME
|
2009-12-11 10:13:27 +00:00 |
|
kreatordxx
|
7ebcf32e45
|
Make the automap into a 'window', make kconfig.c more similar between D1X and D2X
|
2009-12-02 13:49:54 +00:00 |
|
zicodxx
|
86fcdc5d81
|
Draw Endlevel sequence with correct DepthFunc
|
2009-11-30 19:11:46 +00:00 |
|
kreatordxx
|
062668357e
|
Change NET_UDP to USE_UDP
|
2009-11-30 13:09:57 +00:00 |
|
zicodxx
|
e819422d30
|
Adding macros USE_UDP and USE_IPX for the compiler to compile with either UDP- and/or IPX-support and removed the older IPX macros
|
2009-11-29 17:07:14 +00:00 |
|
zicodxx
|
6a00504d89
|
Adding macros USE_UDP and USE_IPX for the compiler to compile with either UDP- and/or IPX-support and removed the older IPX macros
|
2009-11-29 16:46:13 +00:00 |
|
zicodxx
|
e9d4eb051e
|
Fixed building error on Windows caused by false socket variable; Fixed compiler Warnings on Mac; Updated Mac build files; Unification in version numbering
|
2009-11-28 20:57:57 +00:00 |
|
zicodxx
|
fb08673f54
|
Removed timer_get_approx_seconds() and replaced with timer_get_fixed seconds since it was too inaccurate and created significant offset
|
2009-11-24 22:43:41 +00:00 |
|
zicodxx
|
dbf4d55839
|
Abstracting networking protocols - Step 4: Implemented new UDP layer with Client/Server communication, Packet Loss Prevention and strict Version checking. Netgames list will follow later.
|
2009-11-24 09:48:53 +00:00 |
|
kreatordxx
|
96d305e54c
|
Only list resolutions that can actually be used, using new gr_check_mode
|
2009-11-17 14:27:39 +00:00 |
|
kreatordxx
|
d7e33667bf
|
Make the game screen into a \'window\', handling events through event_process
|
2009-08-10 10:47:17 +00:00 |
|
kreatordxx
|
ab40bd7566
|
Add include directives for last commit (whoops)
|
2009-05-22 10:53:14 +00:00 |
|
kreatordxx
|
45ba0ca307
|
Add new window system, not used yet
|
2009-05-21 12:16:39 +00:00 |
|
kreatordxx
|
db27b1723d
|
Remove redundant conf.h directives
|
2009-04-30 13:01:31 +00:00 |
|
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 |
|
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 |
|
zicodxx
|
4783d9263d
|
on-screen network error messages
|
2007-02-07 12:50:08 +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
|
226d5140d0
|
preparations for v0.51 release
|
2007-01-30 17:58:25 +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
|
5e8c424b5c
|
fixed PRINTSCREEN key for WINDOWS
|
2007-01-22 10:52:01 +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 |
|
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 |
|
zicodxx
|
8a173d3454
|
command-line to set glScissor off if needed
|
2006-11-02 01:23:47 +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 |
|
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
|
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 |
|
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
|
4f153cf8b1
|
re-activated Weapon Keys menu - aka D1X keys
|
2006-10-15 23:42:14 +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 |
|
zicodxx
|
1364ea9f89
|
menu-related fixes
|
2006-10-11 19:08:15 +00:00 |
|
zicodxx
|
7c76b5f57e
|
added SDL_SetGammaRamp; removed FSAA because no function on all platforms; fixed offscreen render; fixed sharepath in SConstruct
|
2006-10-10 23:41:12 +00:00 |
|
zicodxx
|
b101ce41c7
|
windows-related ogl code cleanups
|
2006-10-10 14:56:40 +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
|
21486244ee
|
introduced FSAA; re-enabled fullscreen toggle in menus again and fixed glitches; adjusted OGL_TEXTURE_LIST_SIZE and OGLTEXBUFSIZE; code cleanup; restored font.c (oops)
|
2006-10-09 21:44:02 +00:00 |
|
zicodxx
|
ca9d4217ed
|
don't give GL extensions on release build, code cleanup
|
2006-10-08 23:18:07 +00:00 |
|
zicodxx
|
ef95ad95b0
|
corrected demo-related font positions; merged ogl_ubitmapm_cs and ogl_ubitmapm_cf
|
2006-10-08 15:56:03 +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 |
|