zicodxx
|
95f1c1793e
|
Instead of writing converted MIDI to file, write to buffer so it can be played directly
|
2010-10-29 17:40:21 +02:00 |
|
Chris Taylor
|
541e422611
|
Fix errors for Mac OS 9, Mac OS X 'd1x' target builds again
|
2010-10-16 18:53:05 +08:00 |
|
zicodxx
|
4c7879b740
|
Added format arguments to all printf, sprintf and snprintf calls missing them to prevent warnings/errors with some distributions of gcc
|
2010-10-14 16:45:58 +02:00 |
|
Chris Taylor
|
499c8e3799
|
Fix errors for Mac OS 9, Mac OS X 'd1x' target builds again
|
2010-10-10 18:42:53 +08:00 |
|
kreatordxx
|
704a4e7be5
|
Add support for M3U playlists, tweak 'Jukebox playing' message so it shows the end of the path when truncating
|
2010-09-26 13:15:20 +00:00 |
|
zicodxx
|
6b9a3b0c77
|
fullpath variable was missing for _WIN32
|
2010-09-25 13:55:22 +00:00 |
|
kreatordxx
|
403169df7e
|
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
|
35a69d5a0f
|
Link to PhysicsFS static library and use header from source for Mac OS X
|
2010-09-17 10:44:21 +00:00 |
|
zicodxx
|
0a86348aab
|
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
|
3ed285f469
|
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
|
f146a6b321
|
Fixing bug in MIDI header - format was written in size of int instead of short
|
2010-07-27 20:16:39 +00:00 |
|
zicodxx
|
785fffca90
|
Did not close hmp after MIDI conversion which caused some unfree memory - fixed
|
2010-07-19 17:05:41 +00:00 |
|
zicodxx
|
9070771c47
|
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
|
9933bb81ce
|
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
|
f09a336184
|
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
|
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 |
|
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 |
|
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 |
|
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
|
db27b1723d
|
Remove redundant conf.h directives
|
2009-04-30 13:01:31 +00:00 |
|
zicodxx
|
3699f316cc
|
Took out old missile tracking code to be selectable over command-line to preserve consistency
|
2009-01-17 11:11:07 +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
|
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
|
9304edd2c8
|
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
|
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
|
168832f1ba
|
Fixed Typo
|
2008-11-03 11:36:16 +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
|
c09620f160
|
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 |
|
kiplingw
|
94e47b14f9
|
Added: Minor improvement and fix to dl_list code...
Added: More work on tracker code base and protocol documentation...
|
2008-08-19 04:50:47 +00:00 |
|
kreatordxx
|
402fe0ec51
|
Add snprintf for Mac OS 9
|
2008-07-01 11:15:52 +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 |
|
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 |
|
kreatordxx
|
3aa8f5ece7
|
remember the last IP address entered for UDP instead of parsing -ip_hostaddr
|
2008-05-16 11:39:27 +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
|
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
|
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 |
|
kreatordxx
|
39a68c665b
|
show a messagebox if there's an error and graphics are initialised, update Xcode project
|
2008-04-08 12:51:21 +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
|
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 |
|
kreatordxx
|
a1beb821ea
|
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
|
3a188fa14d
|
support PC shareware files in full version build, make game data loading code easier to follow
|
2008-02-11 12:12:57 +00:00 |
|
zicodxx
|
d9e23370f9
|
Implemented PhysFS support; Implemended D2X memory functions; Code cleanups
|
2008-01-23 17:25:09 +00:00 |
|
kreatordxx
|
da7fd57332
|
merge loadrl2.c into gamemine.c and gamesave.c
|
2008-01-19 01:13:47 +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 |
|
md2211
|
d393f32eed
|
* Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
|
2007-09-21 19:06:05 +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
|
6b84e27046
|
removed d_delay, now using timer_delay as wrapper for SDL_Delay
|
2007-03-25 21:00:14 +00:00 |
|