Chris Taylor
|
2fa153489c
|
Move main/editor to editor and move headers to include/editor, like d1x
|
2010-12-28 11:21:43 +08:00 |
|
zicodxx
|
f429c8c1ea
|
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:38 +01:00 |
|
Chris Taylor
|
5cbfece8c4
|
Copy some editor stuff from d1x-rebirth to d2x-rebirth, like use of the OS native cursor
|
2010-12-24 12:34:30 +08:00 |
|
zicodxx
|
535edf0691
|
Align timer_delay for credits so the song (midi or redbook) should at least be heard once
|
2010-12-23 23:38:33 +01:00 |
|
zicodxx
|
a1c830a92b
|
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; Fixded joinign games - GameID was sent for full game info, not lite info
|
2010-12-23 22:42:26 +01:00 |
|
Chris Taylor
|
b82e1c9c61
|
Put event_process() in ui_mega_process(), getting editor to (mostly) work
|
2010-12-22 22:14:46 +08:00 |
|
zicodxx
|
5172e33d84
|
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:55:26 +01:00 |
|
Chris Taylor
|
2b5fc26cff
|
Fix warning for deliberate GameTime64 wrap; change GameTime to GameTime64 for editor
|
2010-12-22 17:48:00 +08:00 |
|
zicodxx
|
ce0930184d
|
added hitobj_list to struct laser_info to get a bit cleaner code
|
2010-12-22 10:41:25 +01:00 |
|
Chris Taylor
|
22102a3c23
|
Activate EDITOR for Mac OS X in Xcode, d2x target; fix some warnings and errors
|
2010-12-22 10:56:28 +08:00 |
|
zicodxx
|
fe84fa3a9a
|
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:59 +01:00 |
|
zicodxx
|
70e43722e1
|
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:14 +01:00 |
|
Chris Taylor
|
c00d35f0eb
|
Activate EDITOR for Mac OS X in Xcode, d2x target; fix some warnings and errors
|
2010-12-21 11:35:50 +08:00 |
|
zicodxx
|
3bcb0ecdde
|
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:17 +01:00 |
|
Chris Taylor
|
3ef5dff1a6
|
Add CON_DEBUG level con_printf's for basic events (not EVENT_IDLE or EVENT_DRAW though)
|
2010-12-05 21:51:34 +08:00 |
|
zicodxx
|
4927b1c680
|
Changed another WIN32 to _WIN32 to avoid accidentially compiling with WORDS_BIGENDIAN when using VisualC
|
2010-12-04 21:59:07 +01:00 |
|
zicodxx
|
4956e746a2
|
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:52:00 +01:00 |
|
Chris Taylor
|
61586a8d26
|
Set a bogus sound when a sound is skipped in gamedata_read_tbl and don't let piggy_close free it
|
2010-12-04 13:45:43 +08:00 |
|
zicodxx
|
3ccde930c3
|
Made resent_delay for net_udp_noloss_process_queue() a bit longer depending on the player's ping
|
2010-12-03 01:09:46 +01:00 |
|
zicodxx
|
cc8296b175
|
When Quitting is called in standard_handler disable Autodemo if active
|
2010-11-30 23:45:10 +01:00 |
|
Chris Taylor
|
47236b142f
|
Add missing stuff to get it to build on Mac OS X; turn fullscreen off when showing a messagebox for Mac
|
2010-12-01 00:00:46 +08:00 |
|
zicodxx
|
e883f01ec9
|
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:23 +01:00 |
|
zicodxx
|
83a955976f
|
Little fixes for rev950 - changed definition from WIN32 to _WIN32, added little hack for incorrectly set HMP loop in Descent2-version of descent.hmp
|
2010-11-30 12:20:09 +01:00 |
|
zicodxx
|
acac225493
|
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:40 +01:00 |
|
zicodxx
|
13c1093ca1
|
Added missing brackets gone missing in r936
|
2010-11-28 16:08:11 +01:00 |
|
Chris Taylor
|
4fa20a3d9f
|
Add support for OS native error/warning boxes, only implemented for Mac for now
|
2010-11-28 20:08:29 +08:00 |
|
zicodxx
|
12e26b2d08
|
in do_powerup added check for distance of other players to powerup object to make redundant pickups less likely
|
2010-11-28 12:08:16 +01:00 |
|
zicodxx
|
a49ccb9dd7
|
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:05 +01:00 |
|
zicodxx
|
b43832c285
|
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:56 +01:00 |
|
zicodxx
|
4b62b03c6a
|
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:18 +01:00 |
|
zicodxx
|
3042de6649
|
When adding data from net_udp_send_mdata_direct to noloss queue, use data_len as length of data stream - not len which is longer and would then cause storing garbage
|
2010-11-25 14:17:28 +01:00 |
|
zicodxx
|
47e07da70a
|
When verifying objects, do not necessarily check for controlcen as it's not necessarily there in some anarchy missions
|
2010-11-23 16:16:36 +01:00 |
|
zicodxx
|
182107ebce
|
changing max UDP size again - increasing to 576 - should still be safe
|
2010-11-23 16:12:09 +01:00 |
|
zicodxx
|
7c3cf3be4c
|
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:57 +01:00 |
|
zicodxx
|
c1f7442f23
|
Took over variable VerifyPlayerJoined for UDP protocol usage as well to get object and extra packet sending in order as well as regulary resending UPID_SYNC for latecoming players. Should resolve problems when joining already running UDP games
|
2010-11-22 22:44:03 +01:00 |
|
Chris Taylor
|
6b8f64cca2
|
If it can't find descent2.hog/d2demo.hog, still print some useful info
|
2010-11-22 21:19:37 +08:00 |
|
Chris Taylor
|
33377d0d2e
|
If it can't find descent2.hog/d2demo.hog, still print some useful info
|
2010-11-22 21:11:24 +08:00 |
|
Chris Taylor
|
dc85211d37
|
Make sure read_m3u won't read past the end of the buffer, causing a crash
|
2010-11-22 20:49:44 +08:00 |
|
zicodxx
|
b860b2826f
|
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:20:00 +01:00 |
|
zicodxx
|
e93c32963b
|
For fresh configuration set Redbook music as default for Mac, Builtin music for all others
|
2010-11-21 13:02:58 +01:00 |
|
zicodxx
|
1482048152
|
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:35 +01:00 |
|
Chris Taylor
|
53eef82836
|
Make sure read_m3u won't read past the end of the buffer, causing a crash
|
2010-11-13 13:11:25 +08:00 |
|
zicodxx
|
cea9239f88
|
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:25 +01:00 |
|
zicodxx
|
11b73f68a7
|
In multi_consistency_error check for Game_wind before trying to set it in/visible - just for safety
|
2010-11-09 11:53:19 +01:00 |
|
zicodxx
|
017a9cab5b
|
In DropOrb PLAYER_FLAGS_FLAG-bit was not removed before calling multi_send_flags which would draw the HUD-box even if player ejected all Hoard orbs
|
2010-11-09 00:28:22 +01:00 |
|
zicodxx
|
583d035b89
|
Apply transparency to Hoard Orb if effect activated
|
2010-11-08 23:39:53 +01:00 |
|
zicodxx
|
ca312dd5bb
|
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:36 +01:00 |
|
zicodxx
|
49de81d9e7
|
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:58 +02:00 |
|
zicodxx
|
6b0e57bed9
|
Make songs playing at end briefings loop, like they used to in the original game
|
2010-10-30 01:09:14 +02:00 |
|
zicodxx
|
ae22f8e037
|
Instead of writing converted MIDI to file, write to buffer so it can be played directly
|
2010-10-29 17:40:42 +02:00 |
|