zicodxx
|
7305f3d51e
|
Mousebutton assigned to CYCLE SECONADARY was actually calling CYCLE PRIMARY
|
2011-01-09 19:45:09 +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
|
10e4fc3274
|
Fix for rev959: my_pnum must be defined static
|
2011-01-09 17:09:26 +01:00 |
|
zicodxx
|
38df3322e3
|
Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all)
|
2011-01-09 14:19:00 +01:00 |
|
zicodxx
|
f0d75e5689
|
Draw FlightSim Reticle on Automap display, too
|
2011-01-06 14:56:12 +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
|
182fa63ea8
|
More consistency in SConstruct command-line variables; Added automatic Endianess-checker; Set target to 'd1x-rebirth' no matter if OpenGL or not
|
2011-01-03 11:42:50 +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
|
80cf3fd308
|
Introduced function key_ismodlck to get the status of modifier keys or sticky keys; Let sticky keys survive flush so we can accurately use their real states; Added key repeating via SDL; Depending on status of KEY_NUMLOCK keypad will either be used as numerical or arrow input in menus
|
2011-01-02 18:07:37 +01:00 |
|
zicodxx
|
70bf7e8694
|
Mouse wheel now can scroll through menu/listbox items; Right mouse button closes a menu (without the need of these ugly close boxes); Also added mouse-closing capabilities to credits, scores and kconfig menus; While being in UDP Netgames list, override keycode at PAGEUP/DOWN keypress to only flip pages without modifying citem also added messagebox showing TXT_INVALID_CHOICE when invalid netgame was chosen
|
2011-01-02 12:25:43 +01:00 |
|
zicodxx
|
21adec7f5c
|
Fixed glitch in scroll arrow position; Added newmenu_scroll which can scroll through all kind is menu structures including automatically handling NM_TYPE_TEXT items as well as automatically updating scroll_offset; PageUp/Down now scrolls by 10 items, Home/end will select first/last/items of menu creating consistency to listbox behaviour; Fit text for GrabInput to be more understandable
|
2010-12-30 23:36:35 +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
|
54fea43e07
|
Make the keypad info display into a window
|
2010-12-28 12:27:34 +08:00 |
|
zicodxx
|
6ccbb83a88
|
Disabling IPv6 support for OS X since in Snow Leopard it's buggy, making all Multiplayer pretty much impossible - re-activating soon as proper patches from Apple are in sight
|
2010-12-24 10:06:03 +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
|
e15bd60656
|
Align timer_delay for credits so the song (midi or redbook) should at least be heard once
|
2010-12-23 23:38:27 +01:00 |
|
zicodxx
|
9f138fbf2a
|
Reworked object sending/receiving to work without unnecessary type casting and a bit less error prone; Also increased UDP max packet size to 2048 so we can send 7 objects per frame
|
2010-12-23 22:42:06 +01:00 |
|
Chris Taylor
|
da06d9889e
|
Put event_process() in ui_mega_process(), hopefully getting editor to (mostly) work (not on Mac yet)
|
2010-12-22 22:13:33 +08:00 |
|
Chris Taylor
|
2effee8a4f
|
Fix warning for deliberate GameTime64 wrap; uncomment multi_object_to_object_rw and multi_object_rw_to_object prototypes
|
2010-12-22 21:58:34 +08:00 |
|
zicodxx
|
401a546bb2
|
in IPv6 builds also send regular broadcast packets to get games found via LAN between IPv4 clients/systems and IPv6 clients/systems; rather than identifying (lite_info) games via IP use randomly generated GameID and game name to prevent duplicated coming from IPv6 builds
|
2010-12-22 14:53:23 +01:00 |
|
zicodxx
|
858aa603e6
|
added hitobj_list to struct laser_info to get a bit cleaner code
|
2010-12-22 10:41:15 +01:00 |
|
Chris Taylor
|
e9fba443ef
|
Fix warning for deliberate GameTime64 wrap; uncomment multi_object_to_object_rw and multi_object_rw_to_object prototypes
|
2010-12-22 17:38:52 +08:00 |
|
Chris Taylor
|
4f6199f40a
|
Use game_init_render_buffers for editor (for now), fixing crash
|
2010-12-22 17:21:32 +08:00 |
|
zicodxx
|
4b265301a0
|
Made GameTime to GameTime64 using fix64; Changed all structures saving GameTime64 for internal timer purposes to store fix64 and added converting functions to save such times in fix; For Savegames/Demos always reset GameTime64 to 0 while saving and putting all timer values to safe limits, Multiplayer objects are sent in similar fashion
|
2010-12-22 01:17:49 +01:00 |
|
zicodxx
|
c75cd30d84
|
In window_close() prev window did not get EVENT_WINDOW_ACTIVATED but the recent closed window got it causing previous window not being activated anymore and a bunch of memory errors
|
2010-12-22 01:11:11 +01:00 |
|
zicodxx
|
ffc73ed4f2
|
Introduced new data type fix64 to be used for new timers which can last 4462756 years instead of 9 hours; Introduced new timer functions to update and query program time; Used new timer all over the program except GameTime (which comes next)
|
2010-12-11 00:18:03 +01:00 |
|
Chris Taylor
|
84bf981a06
|
Add CON_DEBUG level con_printf's for basic events (not EVENT_IDLE or EVENT_DRAW though)
|
2010-12-05 20:33:25 +08:00 |
|
zicodxx
|
82053d1bd8
|
Changed another WIN32 to _WIN32 to avoid accidentially compiling with WORDS_BIGENDIAN when using VisualC
|
2010-12-04 21:58:59 +01:00 |
|
zicodxx
|
970fd72eae
|
When calling do_game_pause do not allocate msg in Game mod GM_MULTI as it's not used nor freed
|
2010-12-04 16:51:40 +01:00 |
|
Chris Taylor
|
f4ec76d74d
|
When setting a bogus sound in gamedata_read_tbl, don't let piggy_close free it. Fixes freeing of non-malloc'd pointer for PC shareware data
|
2010-12-04 13:44:09 +08:00 |
|
zicodxx
|
f0c4d80f48
|
Made resent_delay for net_udp_noloss_process_queue() a bit longer depending on the player's ping
|
2010-12-03 01:09:22 +01:00 |
|
zicodxx
|
822ffc543f
|
When Quitting is called in standard_handler disable Autodemo if active
|
2010-11-30 23:44:47 +01:00 |
|
Chris Taylor
|
287172c3f2
|
Change Mac OS X 'Development' SDK to the built-in one to get rid of depreciated 'ShowCursor' warning
|
2010-12-01 00:06:30 +08:00 |
|
Chris Taylor
|
c34763b070
|
Turn fullscreen off when showing a messagebox for Mac; move songs_play_song(SONG_TITLE) from inferno.c to titles.c
|
2010-11-30 23:40:27 +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
|
0c9a9f4d62
|
Added missing brackets gone missing in r936
|
2010-11-28 16:07:39 +01:00 |
|
zicodxx
|
0c10299a5f
|
Fix for r936 - re-added playing titles song when titles are about to show
|
2010-11-28 15:50:50 +01:00 |
|
Chris Taylor
|
be82a68e77
|
Add support for OS native error/warning boxes, only implemented for Mac for now
|
2010-11-28 20:02:38 +08:00 |
|
zicodxx
|
8f349cfdc5
|
in do_powerup added check for distance of other players to powerup object to make redundant pickups less likely
|
2010-11-28 12:08:14 +01:00 |
|
zicodxx
|
2b02639bd2
|
In multi_new_game when initializing Players structures, also correctly init connected variable which is highly important for spreading pdata to clients and should be set correctly anyways (Thanks to Gold Leader and Flip for help with debugging/testing recent Multiplayer bugs)
|
2010-11-28 01:02:04 +01:00 |
|
zicodxx
|
e2730faa5b
|
If -verbose or -debug is set, write gamelog.txt unbuffered for a higher chance to get messages there in case of a crash; Totally supress messages in stdout/err.txt on _WIN32
|
2010-11-26 13:15:44 +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
|
5a6fb73ed2
|
When verifying objects, do not necessarily check for controlcen as it's not necessarily there in some anarchy missions
|
2010-11-23 16:16:22 +01:00 |
|
zicodxx
|
83d746151a
|
changing max UDP size again - increasing to 576 - should still be safe
|
2010-11-23 16:12:00 +01:00 |
|
zicodxx
|
9e9063901e
|
reducing max buffer size of an UDP packet from 1024 to 512 bytes - should prevent possible turncating, especially when sending obejcts where max size is actually used
|
2010-11-23 01:26:44 +01:00 |
|
Chris Taylor
|
6e7c517338
|
If it can't find descent.hog, still print some useful info
|
2010-11-22 21:09:42 +08:00 |
|
Chris Taylor
|
cfae937bda
|
Make sure read_m3u won't read past the end of the buffer, causing a crash
|
2010-11-22 20:47:46 +08:00 |
|
zicodxx
|
be3b72b316
|
When checking for redundant messages in HUD display, compare new message to most recent one for locking and check whole list only for messages marked with HM_REDUNDANT. This will show all messages in correct order while keeping redundancy-prone messages from looping infinitely
|
2010-11-21 21:19:45 +01:00 |
|
zicodxx
|
21d93e84de
|
For fresh configuration set Redbook music as default for Mac, Builtin music for all others
|
2010-11-21 13:02:45 +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 |
|
Chris Taylor
|
f5c21d249c
|
Make sure read_m3u won't read past the end of the buffer, causing a crash
|
2010-11-13 13:10:57 +08:00 |
|
zicodxx
|
88b5205135
|
In plyr_save_stats setting filename to size of PATH_MAX to have enough space to also hold the player directory prefix which would otherwise create a memory corruption and crash the game
|
2010-11-13 00:46:39 +01:00 |
|
zicodxx
|
17a18b5512
|
When running out of memory slots, do not try to print detailed info as it will only call a negative array index
|
2010-11-09 17:45:24 +01:00 |
|
zicodxx
|
19d00e9851
|
In multi_consistency_error check for Game_wind before trying to set it in/visible - just for safety
|
2010-11-09 11:53:14 +01:00 |
|
zicodxx
|
6e1725d4e5
|
Increased buffer for fname2 in load_briefing_screen, preventing buffer overflow in case replacement filenames are longer than DOS-style
|
2010-11-01 17:47:26 +01:00 |
|
zicodxx
|
950eda94ef
|
In case listbox strings are too long for screen, fit box width to screen width, shorten strings and add a scroll effect to selected item
|
2010-11-01 13:42:21 +01:00 |
|
zicodxx
|
a6312c8397
|
Text string for level music was made smaller some time ago so BROWSE_TXT_SHRT basically became obsolete - removed it now and show BROWSE_TXT instead
|
2010-10-30 01:29:44 +02:00 |
|
zicodxx
|
8d1317b8f8
|
Make songs playing at end briefings loop, like they used to in the original game
|
2010-10-30 01:08:52 +02: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
|
940eaeb3db
|
Finished support for custom textures and robots, fixed some bugs, reformatted code and placed function calls to properly work for designated mission/level
|
2010-10-16 11:13:11 +02: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 |
|
zicodxx
|
aa68347028
|
Fixed compilation of menu.c when USE_SDLMIXER is not defined
|
2010-10-14 11:49:37 +02:00 |
|
zicodxx
|
cde9a7f322
|
Use dynamic PhysicsFS library again to fix linking errors
|
2010-10-14 00:05:21 +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 |
|
Chris Taylor
|
018e24aab0
|
Use dynamic PhysicsFS library again to fix linking errors
|
2010-10-10 18:08:11 +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
|
64387a51e6
|
To fix Dravis's head in endgame debriefing, don't remap the colours and read compressed .bbm bitmaps properly (both my bad)
|
2010-09-19 13:33:22 +00:00 |
|
kreatordxx
|
23975df856
|
Pass -1 instead of 255 as the colour to ogl_ubitmapm_cs when drawing savegame previews, to make sure a black rectangle isn't drawn instead
|
2010-09-19 11:53:39 +00:00 |
|
kreatordxx
|
ba3f54e484
|
Increment version to 0.56.0 for Mac OS X, marking release point
|
2010-09-17 11:36:46 +00:00 |
|
kreatordxx
|
c1a7ffa66d
|
Put in a note that a restart is required when changing the texture filter level (remove later when it isn't)
|
2010-09-17 11:06:48 +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 |
|
kreatordxx
|
0a44a68fed
|
Set default Jukebox music paths to original Redbook music in iTunes for Mac OS X
|
2010-09-17 10:14:37 +00:00 |
|
kreatordxx
|
e669670e47
|
Enable IPv6 for Mac OS X
|
2010-09-17 09:44:45 +00:00 |
|
zicodxx
|
2b069acab4
|
Removed Fusion_last_sound_time and made Fusion_next_sound_time static inside FireLaser() with it's own fallback function for bogus timer values - should make this code insusceptible against errors - last but not least: minus two globals
|
2010-09-04 09:22:07 +00:00 |
|
zicodxx
|
78bbd77b35
|
In briefing_init() init robot angles properly because in show_spinning_robot_frame() robot_angles.h is incremented only but not initialized
|
2010-09-04 08:17:54 +00:00 |
|
zicodxx
|
34db780dbf
|
Reset Fusion_next_sound_time in init_player_stats_level() to hopefully fix Fusion not doing damage or playing sounds
|
2010-09-03 21:49:39 +00:00 |
|
zicodxx
|
328ddd8a55
|
When opening music file via filehandle, made sure buffer is freed after playing to prevent major memory leakage
|
2010-09-02 14:00:26 +00:00 |
|
zicodxx
|
5e3be36c39
|
Using PHYSFSX_findFiles to make sure random demo playback will only find actual demo files and not quit autodemo; added DEMO_EXT for an universal definition of demo file extension
|
2010-09-02 13:58:06 +00:00 |
|
zicodxx
|
a68da514b6
|
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 |
|
kreatordxx
|
8a79002f2d
|
On Mac OS X - no longer have to copy SDL_mixer.h to SDL framework; frameworks can now be in /Library/Frameworks; fix for obscure compile error involving u_int32_t
|
2010-09-02 00:07:37 +00:00 |
|
zicodxx
|
4c5f489d07
|
in pdata communication swap_bytes was set for create_shortpos causing problems on PPC architecture; in multiplayer host menu set citem to START GAME by default
|
2010-09-01 17:01:51 +00:00 |
|
zicodxx
|
445fc76554
|
Added feature to let select_file_reursive() change drive on _WIN32 via CTRL-D; Removed second definition of MEM_K accidentially happened due to bad communication
|
2010-08-31 13:25:45 +00:00 |
|
kreatordxx
|
5f026dfb55
|
In select_file_recursive handle paths relative to the current write directory correctly
|
2010-08-28 02:46:54 +00:00 |
|
kreatordxx
|
1fcd5afe1b
|
Make define of MEM_K apply to non-debug builds as well (whoops)
|
2010-08-28 01:13:01 +00:00 |
|
zicodxx
|
6d475ad6b8
|
In list_dir_el make sure PHYSFS_getRealDir won't give NULL to strcmp which will happen for files located in a Windows root directory
|
2010-08-27 21:16:43 +00:00 |
|
zicodxx
|
067d54f8e3
|
In select_file_handler properly initialize newpath preventing memory errors and crashes
|
2010-08-27 20:32:05 +00:00 |
|
zicodxx
|
887e8ed22c
|
Moving upwards definition of MEM_K so it's not restricted to \!NDEBUG; Initialized **i in list_dir_el properly to silence gcc when compiling
|
2010-08-27 15:43:24 +00:00 |
|
kreatordxx
|
72c62df583
|
Add path browsing feature to make song file/directory selection easier
|
2010-08-27 14:09:19 +00:00 |
|
zicodxx
|
0bc2257b06
|
Made loading of Hires briefings a bit more simpler (more D2-ish) and not using a new briefing_screen structure; Also perform a check if requested image originates from descent.hog or a third-party mission and do not load a Hires version in the latter case
|
2010-08-25 15:14:28 +00:00 |
|
zicodxx
|
9eb82f312b
|
Overhauled detection of TEX/TXB files for Briefings and Endings
|
2010-08-24 14:02:38 +00:00 |
|
kreatordxx
|
c1c60ab68b
|
Use more reliable Mix_LoadMUS for music in directory searchpaths, so WAVE's and MP3's are correctly loaded (probably others)
|
2010-08-22 13:27:47 +00:00 |
|
zicodxx
|
421547e5a1
|
Added link for the Mac Content Sound Effects AddOn Pack
|
2010-08-22 10:09:53 +00:00 |
|
zicodxx
|
010ac80344
|
Moved levelnum-sanity-check in game_param_handler so it will be checked when screen is changed to allow entry of secret levels (which does not work in D2X-Rebirth - it's only done for code similarity); added menu item START GAME for consistency and added proper subtitle for game setup page
|
2010-08-22 09:25:24 +00:00 |
|