zico
|
927ab7ff53
|
Made hmp->tempo endian-safe
|
2013-06-27 12:08:51 +02:00 |
|
zico
|
6b0e493500
|
Made hmp code actually read tempo. Due to missing documentation of the format I can only guess it's a 4 bit int
|
2013-06-10 16:34:45 +02:00 |
|
Kp
|
39f8106505
|
Remove various unused misc files
|
2013-03-10 00:17:59 +00:00 |
|
Kp
|
ccc104dbb1
|
Push down inclusion "args.h" from physfsx.h into sources
This is not needed for the header, and makes the header non-common.
|
2013-03-03 19:41:09 +00:00 |
|
Kp
|
f3562a1a38
|
Rename include/error.h to include/dxxerror.h
Avoid conflict with generic system header.
|
2012-07-07 18:35:06 +00:00 |
|
Kp
|
a4068234b4
|
Normalize whitespace in copyright header to match D2X-Rebirth
|
2013-02-24 02:39:48 +00:00 |
|
Kp
|
7b2cbd5dc3
|
Normalize comments and whitespace to match D2X
|
2013-02-22 04:30:38 +00:00 |
|
Kp
|
4167cf9685
|
Move main/hash.c -> misc/hash.c to match D2X
|
2013-02-21 00:13:56 +00:00 |
|
zicodxx
|
a43f7df8d0
|
Added option to hide mouse cursor (without disabling the mouse completely)
|
2013-01-08 17:47:02 +01:00 |
|
zicodxx
|
d2712f76c8
|
Made FindArg static - patch by Kp
|
2012-09-03 00:48:08 +02:00 |
|
zicodxx
|
33bf139002
|
Redefined lotsa variables, functions and parameters as const and/or static - patch by Kp
|
2012-07-23 01:17:52 +02:00 |
|
zicodxx
|
f7565217fe
|
changed extension for archive (addon) content from zip to dxa - still a zip-file but renamed to not accidentially add user generated backups and possibly mess things up
|
2012-06-01 13:04:25 +02:00 |
|
zicodxx
|
fc421b290a
|
use size of output buffer for snprintf; on the way changed rebirth-specific song file to dxx-r.sng to respect hog 8+3 file convention
|
2012-06-01 12:46:00 +02:00 |
|
zicodxx
|
d58e6fc38f
|
using our own functions for strdup and _splitpath with the d_ prefix for all platforms for consistency
|
2012-05-19 02:16:40 +02:00 |
|
zicodxx
|
2c9ee20981
|
using our own functions for stricmp, strnicmp, strlwr, strupr, strrev with a d_ prefix for all platforms for consistency
|
2012-05-19 01:36:41 +02:00 |
|
zicodxx
|
e3a21dce5e
|
Fixed some non-critical compiler warnings; Now compiling with -std=c99 -pedantic and fixed warnings (except for editor build) caused by this
|
2012-05-14 12:20:27 +02:00 |
|
zicodxx
|
a92f7497a3
|
Addition for last change in hmp_reset(): execute midiOutShortMsg() even if midiOutPrepareHeader() fails as not related to SysEx part
|
2012-04-15 15:52:12 +02:00 |
|
zicodxx
|
2baf397a68
|
Removed redundant call of songs_stop_all() when starting credits; Added failsafe for loop in case MHDR_DONE flag is not properly set by MIDI device; Added more verbosity for hmp_reset()
|
2012-04-12 19:45:44 +02:00 |
|
zicodxx
|
513bd4b231
|
removed redundant definitions of FILENAME_LEN
|
2012-04-07 11:41:14 +02:00 |
|
Chris Taylor
|
e05a2d3483
|
Actually add editor data files and make sure DXX can find them
|
2012-03-03 16:02:16 +08:00 |
|
zicodxx
|
af6caef756
|
Unbuffered writing of gamelog.txt has it's own argument and is not triggered by -verbose argument anymore; Also increases verbosity of packet-loss-prevented packets by showing their types when added to queue
|
2012-01-09 15:19:12 +01:00 |
|
zicodxx
|
d8263a85b6
|
Made the .desktop file follow the official specifications; Added explicit link to libmath for newer versions of binutils; Fixed crash using PhysFS 1.x in PHYSFSX_addArchiveContent()
|
2011-09-26 19:15:39 +02:00 |
|
zicodxx
|
7638390173
|
Removed support for IPX protocol and MS-DOS-Multiplayer-compability due to age and lack of real need and to really improve on the Multiplayer without adding too much complexity for backwards-compability
|
2011-09-14 01:15:20 +02:00 |
|
zicodxx
|
77f0edf8ac
|
Bail out of hmp_reset() if midiOutOpen fails and return error with -debug set; execute hmp_reset() before first song plays; renamed digi_win32_stop_current_song() to digi_win32_stop_midi_song() to keep naming convention; Fixed some compiler warnings
|
2011-07-15 10:43:01 +02:00 |
|
zicodxx
|
2da37871b8
|
Made formatting for help text more consistent and prettier; Somewhat changed the code for help text so we can use variables in the help text. For example: If we change MAXIMUM_FPS, it will automatically be displayed in the help text without manual editing needed
|
2011-07-01 01:01:06 +02:00 |
|
zicodxx
|
dcc964817e
|
Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content
|
2011-06-01 09:59:51 +02:00 |
|
zicodxx
|
beb31abef5
|
Check for hmp before pausing/resuming it
|
2011-04-16 01:15:55 +02:00 |
|
zicodxx
|
85f7be583f
|
Client-side implementation for Tracker support by Matt 1360 Vandermeulen including improvements in udp_dns_filladdr and IPv4/IPv6 compability; Very little adjustments by me, too including IPv6 support for Windows (untested); Actual tracker code will follow later as seperate branch when it's done
|
2011-04-05 02:24:30 +02:00 |
|
Chris Taylor
|
32187e428f
|
Fix a critical bug in string_array_add - when d_reallocing the buffer containing the string data, update all the pointers in '*list' as well as next_str, preventing ugly crashes
|
2011-02-21 14:36:18 +08:00 |
|
zicodxx
|
c1e4e9c3d7
|
Moved all these unsorted global cheat variables to a handy structure; Simplified reading of the cheats without trying to make it complicated so no one finds them (everyone can get the source); Removed one or two cheats which carry more garbage than they are worth; Added replacement for the bittersweet cheat; Made FPS Counter an option of Graphics menu
|
2011-02-14 22:27:02 +01:00 |
|
zicodxx
|
6bc439a343
|
Simplified ogl version of gr.c in terms of SDL video flags and fullscreen toggle; Added command-line/INI option to remove borders from windowed program
|
2011-02-10 15:30:05 +01:00 |
|
zicodxx
|
35570bb2d5
|
Let credits track fade out at the end of text sequence; Fixed usage for RBAPlayTracks - when playing only one track last must be equal first, not 0; In hmp_open changed data from long to int, preventing memory explosion depending on optimisation of the code
|
2011-01-10 20:40:53 +01:00 |
|
zicodxx
|
8bda08ed7f
|
Improvement on the HMP track loop feature by TURRICAN; Added small template fix for descent.hmp which is supposed to be activated soon as we have some kind or Checksum function
|
2011-01-09 17:51:45 +01:00 |
|
zicodxx
|
28bf026158
|
Added OpenGL ES support - contributed by Florian Feucht and Oliver Haag
|
2011-01-06 12:43:55 +01:00 |
|
zicodxx
|
6d665fbb10
|
Introduced FlightSim control scheme for mouse which adds delta values to absolute position to behave like a Joystick; Added Deadzone slider for FlightSim as well as an optional Reticle display to show the positional data on screen; Removed old Mouselook hack in favor of this new feature
|
2011-01-04 11:43:30 +01:00 |
|
zicodxx
|
8c75bd0957
|
Added feature to disable D2-style Prox. Bomb Gauge; Moved NoRedundancy and MultiMessages toggles from GameArg to PlayerCfg to be set via Misc Options
|
2011-01-03 02:01:09 +01:00 |
|
zicodxx
|
919470db2f
|
Added Cycle Primary/Secondary to the config panels for keyboard and joystick like in D2X-Rebirth and store them in the designated key/button arrays; Added Cycle Primary/Secondary for Mouse which makes wheel axis cycling unnecessary and also let Weapon Keys be assigned to a Mouse button; If GameArg.NoStickyKeys do flush these keys so they can be used as normal game keys - otherwise ban them; Fixed crash when reassigning mouse button greater than 3; Joystick/Mouse function taking button as argument now check for sanity of this value so they can safely be used in kconfig code and deal with unassigned key values
|
2011-01-03 01:08:52 +01:00 |
|
zicodxx
|
05236e9c45
|
Added Sensitivity/Deadzone menu with sliders for each movement based action seperated for joystick and mouse to support all kinds of configuration - regardless the amount of joystick axes and whatnot; SDL_WM_GrabInput does not only capture mouse but also focus keyboard input - changed code to respect this fact and made grabbing a menu option which is enabled by default
|
2010-12-28 19:11:06 +01:00 |
|
Chris Taylor
|
0557c8bb43
|
Copy lots of editor stuff from d2x-rebirth to d1x-rebirth, getting it to work on Mac OS X
|
2010-12-24 12:26:24 +08:00 |
|
zicodxx
|
427fb6d6b5
|
Add support for Windows native error/warning boxes; Only print to stdout on Linux/other *nix; Fixed redundant printing of Error and Warning via stdout
|
2010-11-30 13:46:10 +01:00 |
|
zicodxx
|
bb0391467e
|
Little fixes for rev939 - changed definition from WIN32 to _WIN32, added little hack for incorrectly set HMP loop in Descent2-version of descent.hmp
|
2010-11-30 12:19:41 +01:00 |
|
zicodxx
|
ce2fb8db90
|
Large improvement for _WIN32 native MIDI code by TURRICAN0: supprt for HMP track loop, seamless song looping, GS reset, pausing/resuming midi, volume control for each MIDI channel; Set GameArg.SndDisableSdlMixer automatically if compiled without SDL_mixer support; On _WIN32 play HMP natively again
|
2010-11-28 16:49:32 +01:00 |
|
zicodxx
|
365def54ed
|
Implemented PHYSFSX_checkSupportedArchiveTypes to check if essential archive types are supported. Print warnings if not and stop program if necessary. Also added PHYSFSX_listSearchPAthContent to print out search path contents (figures) each time the function is called. Doing this before main HOG inits as well after sucessfully adding archives. Made PHYSFSX_addArchiveContent a bit more verbose as well.
|
2010-11-26 12:50:01 +01:00 |
|
zicodxx
|
5cd011214f
|
Created function PHYSFSX_isNewPath to check wether given path has already been added to Searchpath or not; Used PHYSFSX_isNewPath for menu browsing code instead it's own implementation; Using PHYSFSX_isNewPath for Jukebox directory, too to make sure Jukebox will not accidentially remove Game content depending on user selection; Also only keep Jukebox directory added until files are stored to prevent any other file present in this path can override or add anything to the game
|
2010-11-21 12:55:08 +01:00 |
|
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 |
|