kreatordxx
|
e6169f17f9
|
Add 'Data' subdir as a searchpath, so D2X will find descent.pig and to simplify a lot of file opening/checking/closing code
|
2010-09-25 03:35:23 +00:00 |
|
kreatordxx
|
8172c34f7f
|
Link to PhysicsFS static library and use header from source for Mac OS X
|
2010-09-17 10:44:21 +00:00 |
|
zicodxx
|
099c8cf86f
|
Rewrote code to control Texture Filtering a little so it's easier to apply Mipmaps for different parts of the game independently; Made Movie Filtering a menu option which must be enabled seperately; Added Movie Subtitles toggle to misc game options
|
2010-09-02 13:55:28 +00:00 |
|
zicodxx
|
4b0c86f36d
|
Added support to automatically load/mount ZIP files at startup, giving option to dynamically override or replace game content; Updated docs
|
2010-08-15 06:57:51 +00:00 |
|
kreatordxx
|
4e238f2005
|
Add 'Resources' in .app bundle to searchpath for Mac; move bigger functions from physfsx.h to physfsx.c; resolve conflict with definition of 'bool'
|
2010-08-09 14:04:22 +00:00 |
|
zicodxx
|
406a599aeb
|
Fixing bug in MIDI header - format was written in size of int instead of short
|
2010-07-27 20:16:39 +00:00 |
|
zicodxx
|
d78a16e229
|
In briefings make sure Current_color cannot exceed possible array bounds
|
2010-07-19 17:30:25 +00:00 |
|
zicodxx
|
58affab121
|
Did not close hmp after MIDI conversion which caused some unfree memory - fixed
|
2010-07-19 17:05:41 +00:00 |
|
zicodxx
|
27c1d4733a
|
Merged all HMP-related code into hmp.c/h; Also introduced new HMP to MIDI conversion functions based on JJFFE which use former Win32-related HMP-code - fixes some bugs in MIDI conversion and cleaner
|
2010-07-18 20:28:15 +00:00 |
|
zicodxx
|
0ce37b89bb
|
Added expandable classes for HUD messages (like D1X but slacked) to better handle Multi messages or redundant messages; Rewrote HUD code completely; Changes -playermessages to -multimessages since this is more appropriate; Removed remnants of -mprofile
|
2010-07-13 06:35:25 +00:00 |
|
zicodxx
|
a56e56f034
|
Show movies in correct aspect; Added mipmap generation to movie texture if Texture filtering enabled - can also be disabled seperately
|
2010-06-19 16:42:07 +00:00 |
|
zicodxx
|
cc12616895
|
Increased SDL_mixer music abilities to play non-hmp from HOGs, having Level-music path to play, options to specify non-level tracks and added various playing order methods; Abstracted SDL_mixer- and Redbook-interfaces; Simplified program flow through all music functions
|
2010-06-14 08:13:16 +00:00 |
|
kreatordxx
|
66bad6378f
|
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
|
493b07e3da
|
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 |
|
zicodxx
|
5afebdf580
|
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 |
|
zicodxx
|
e46606821f
|
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 |
|
zicodxx
|
febe5d124d
|
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
|
bf512bb9ec
|
Remove redundant conf.h directives
|
2009-04-30 13:01:31 +00:00 |
|
zicodxx
|
265ff9ed28
|
Took out old missile tracking code to be selectable over command-line to preserve consistency
|
2009-01-17 11:11:07 +00:00 |
|
zicodxx
|
1de53497b2
|
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
|
30f85fd3f9
|
When Error() is called, set Function_mode to FMODE_EXIT... basically to prevent the messagebox would try to render the game in background if the Error would happen while mission loading
|
2008-11-10 00:17:03 +00:00 |
|
zicodxx
|
8a2da79504
|
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
|
61dfe70f5c
|
Fixed Typo
|
2008-11-03 11:36:16 +00:00 |
|
zicodxx
|
52ed53f829
|
Revisited Kip's non-Tracker changes and implemented to D2X: Prettier SConstruct output, Forgotten newlines at end of files, Improvement in dl_list code, Revamped menu GUI defines; I am NOT HAPPY I have to do these changes seperately
|
2008-10-28 17:58:54 +00:00 |
|
zicodxx
|
51c322d3aa
|
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
|
640aad4541
|
Readded -ip_hostaddr optional to the value stored in descent.cfg for automated program starts or whatever; Fix by Locate: Correctly close UDP sockets on Win32; Fix by Locate: Ability to select Secret levels on Multiplayer in D1X again which was broken in r619
|
2008-10-20 12:34:45 +00:00 |
|
kreatordxx
|
adffb1065b
|
Add snprintf for Mac OS 9
|
2008-07-01 11:15:52 +00:00 |
|
zicodxx
|
3d1e2ed850
|
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
|
fd95b79cae
|
Add audio CD support to D1X, fix associated bugs
|
2008-05-24 08:59:35 +00:00 |
|
zicodxx
|
5d7dc33e0c
|
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 |
|
kreatordxx
|
6ff14e726c
|
remember the last IP address entered for UDP instead of parsing -ip_hostaddr
|
2008-05-16 11:39:27 +00:00 |
|
zicodxx
|
b772706508
|
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
|
ec7f8b68de
|
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 |
|
zicodxx
|
d457f9430d
|
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
|
9bcea627d1
|
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
|
3a52d03d21
|
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 |
|
kreatordxx
|
a62060bacf
|
show a messagebox if there's an error and graphics are initialised, update Xcode project
|
2008-04-08 12:51:21 +00:00 |
|
zicodxx
|
44bbb66101
|
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 |
|
zicodxx
|
f3d8d50a94
|
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 |
|
kreatordxx
|
ba1203b822
|
use d_ memory functions in hmp2mid, since I already started to erroneously
|
2008-02-17 04:47:38 +00:00 |
|
kreatordxx
|
bdabfbfd5a
|
don't try and free mid_track_buf if it isn't allocated, if midi conversion doesn't work
|
2008-02-17 01:52:37 +00:00 |
|
kreatordxx
|
d77955652d
|
fix potential bad memory access in change_filename_extension
|
2008-01-19 00:30:02 +00:00 |
|
zicodxx
|
66ed0f62f1
|
Removed SDL Gammaramp code (obsolete); Improvements on Demo code
|
2008-01-13 13:27:58 +00:00 |
|
zicodxx
|
416403c2d6
|
Fixing MAC compiling issues (hopefully); Re-Added IPX Socket option to Host menu for IPX games; Renamed netmisc.* to netpkt.*; Handling host disconnect for UDP games in network.c
|
2008-01-08 16:30:14 +00:00 |
|
zicodxx
|
d2ca16d4c1
|
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 |
|
kreatordxx
|
8dc1032d33
|
make sure mid_write_error_templ still works
|
2007-11-06 02:11:46 +00:00 |
|
kreatordxx
|
fef59bdb3f
|
various fixes towards getting it to build for Mac OS 9 again
|
2007-11-06 01:30:07 +00:00 |
|
zicodxx
|
453cf2d609
|
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
|
9577e61339
|
Small fixes; Code cleanup; Implemented PR-Screenshot feature
|
2007-10-18 14:44:02 +00:00 |
|
zicodxx
|
b334ff5b97
|
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; Reworked PHYSFSX_init and removed SysUserDir so we can finally read args without a hassle; Stored MAXIMUM_FPS in game.h - where it belongs to
|
2007-10-13 23:52:17 +00:00 |
|
md2211
|
69492c702f
|
Big args code refactoring, fixed issue with userdir d2x.ini, and a few other small things
|
2007-10-12 20:09:26 +00:00 |
|
zicodxx
|
95533db358
|
Fixed some command-line options
|
2007-10-12 14:21:21 +00:00 |
|
zicodxx
|
f83dc0adb8
|
Moved -nomovies to System Options
|
2007-10-01 20:42:35 +00:00 |
|
md2211
|
a0b4cac982
|
* Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
|
2007-09-21 19:06:05 +00:00 |
|
zicodxx
|
9eb7dfc112
|
Code-cleanup; Implemented new multi profile feature
|
2007-09-20 14:22:57 +00:00 |
|
md2211
|
324c0df6a1
|
* 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
|
7316f617a3
|
Fixed some mem-leaks; Made show_fullscr() use ogl_ubitmapm_cs(); Removed use of glScissor for menus - using Blitting; Code cleanup
|
2007-08-27 23:01:34 +00:00 |
|
zicodxx
|
0b523c15be
|
Added -ip_hostaddr argument to specify a host IP address via command-line/INI
|
2007-08-08 21:11:51 +00:00 |
|
zicodxx
|
2434d100a8
|
FindArg cleanup - GL-Debug and SDL arguments
|
2007-07-23 18:13:49 +00:00 |
|
zicodxx
|
3354c26219
|
Even more FindArg cleanups
|
2007-07-22 20:56:23 +00:00 |
|
zicodxx
|
faa6122a4a
|
Even more FindArg cleanups
|
2007-07-22 20:40:39 +00:00 |
|
zicodxx
|
860b964ee4
|
Code cleanup and small fixes
|
2007-07-22 01:34:00 +00:00 |
|
zicodxx
|
6469faaafc
|
Cleanups
|
2007-07-18 22:23:06 +00:00 |
|
zicodxx
|
8e2aa8ea2a
|
Cleaned up more FindArg's - general Debug Options; Cleanups
|
2007-07-18 20:13:17 +00:00 |
|
zicodxx
|
7d23cb6772
|
Cleaned up more FindArg's - Networking Options; Some fixes
|
2007-07-16 02:34:51 +00:00 |
|
zicodxx
|
29ef28bef3
|
Cleaned up more FindArg's - (most important) OpenGL Options
|
2007-07-15 21:22:07 +00:00 |
|
zicodxx
|
a2a6959d39
|
Cleaned up more FindArg's - Graphics Options
|
2007-07-15 15:23:45 +00:00 |
|
zicodxx
|
8217e50e0c
|
Cleaned up more FindArg's - Sound Options
|
2007-07-14 22:36:04 +00:00 |
|
zicodxx
|
8efe1ea653
|
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
|
49eaa12468
|
removed deprecated Makefile stuff
|
2007-05-03 15:16:27 +00:00 |
|
kreatordxx
|
4ff4ddd0a3
|
include SDL/SDL.h for all platforms and physfs/physfs.h for Mac OS X to avoid having to add some hard-coded include paths
|
2007-04-09 02:41:45 +00:00 |
|
md2211
|
7db969b9fe
|
* 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 |
|
kreatordxx
|
96ee4e1082
|
use PhysicsFS to write MIDI file, make hmp2mid use PhysicsFS exclusively
|
2006-12-30 05:29:21 +00:00 |
|
md2211
|
2b2c6b283d
|
Providing hmp2mid code, which was previously forgotten when introducing sdl_mixer in r264
|
2006-11-13 20:23:44 +00:00 |
|
md2211
|
a4597bc8be
|
Initial integration of SDL_mixer sound system for Linux
|
2006-11-06 23:30:32 +00:00 |
|
zicodxx
|
999780ff58
|
moved some FindArgs to main() so they are not called in the game; added printf for DEBUG to track FindArgs
|
2006-10-31 15:46:06 +00:00 |
|
zicodxx
|
7b8399bfc6
|
clear up automake stuff, additions in DXX-COMPILE.TXT
|
2006-10-02 17:00:26 +00:00 |
|
zicodxx
|
b94413b91b
|
initial import
|
2006-03-20 17:12:09 +00:00 |
|