qndel
354e329644
Players[MyPlayerId] -> MyPlayer
4 years ago
obligaron
2b0b944afb
Manage friendly mode per player and sync state between clients
4 years ago
Anders Jenbo
0645d9b2a1
Correct missing hellfire level mapping in leveltype
...
Hellfire never added the 2 new dungion types, instead it makes
additional checks on currlevel. This is confusing and mess, so cleaned
it up.
4 years ago
staphen
08494378e4
Ignore leave requests if the player leaving is the local player
4 years ago
staphen
851b03215b
Accept all PT_MESSAGE packets when buffering messages
4 years ago
staphen
eb485c2e89
Validate remote players in multiplayer games
4 years ago
staphen
5093d324ee
Fix order of operations when reading from Single Player save
4 years ago
Gleb Mazovetskiy
a66ca44695
Zero-based frame indexing
...
Index frames starting at 0 instead of 1.
4 years ago
Gleb Mazovetskiy
ade8aba822
Fix some more warnings
4 years ago
staphen
c27364dd86
Do not exit game on network timeout
4 years ago
obligaron
299469c710
Sync mana between clients
4 years ago
Anders Jenbo
1409e604f5
Reduce string conversions
4 years ago
qndel
48f102eff1
Chat log
4 years ago
obligaron
79b926c375
Move more options to OptionEntryBase
4 years ago
staphen
dcb376d284
Fix blinking when position desyncs during E/W movement
4 years ago
staphen
b85485b8f3
Resolve game crash when syncing Diablo items in Hellfire games
4 years ago
KPhoenix
34266ff4c7
Show correct death animation ( #3953 )
...
Shows death animation based on what armor you are wearing while dying. Dropping items on death results in showing light armor animation.
4 years ago
staphen
aeddbb7f98
Reset game info after failing to join game
4 years ago
KPhoenix
a08026097a
Chat Interface Revision ( #3840 )
...
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
4 years ago
obligaron
0f5fd4a7b1
Add OptionEntry Friendly Fire
4 years ago
obligaron
e6320090ac
Add OptionEntry Cow Quest
4 years ago
obligaron
a69cd0db2a
Add OptionEntry Theo Quest
4 years ago
obligaron
31f0b91783
Add OptionEntry Run in Town
4 years ago
Andrew James
796e2813cf
Use scoped enums for DungeonFlags/BFLAG ( #3135 )
4 years ago
Gleb Mazovetskiy
3d308983a8
Migrate to libmpq
...
libmpq is a much simpler alternative to StormLib for reading MPQ archives.
We use our own fork of libmpq: https://github.com/diasurgical/libmpq
Impact:
* DevilutionX is now a lot more portable. Unlike StormLib, libmpq only
needs platform-specific code for Windows.
* Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only).
* RAM usage is **300 KiB** lower than StormLib.
* Stripped release linux_x86_64 binary is **32 KiB** smaller.
* Amiga build now hangs instead of crashing.
4 years ago
staphen
ffbbcc6d62
Support unencrypted multiplayer games with no password
4 years ago
qndel
2ae06f1cf5
use SNPLAYER_OTHERS ( #3117 )
4 years ago
Anders Jenbo
b4f699f0a3
Validate item network messages
4 years ago
Anders Jenbo
a56452eec3
Validate player sync
4 years ago
Anders Jenbo
614fba6af6
Cleanup package slicing
5 years ago
Anders Jenbo
58257c7cdc
Remove unessesery null checks in multi_msg_add
5 years ago
Anders Jenbo
7001ead263
Mark network pointers as const
5 years ago
obligaron
3bd6091297
Rename debug_mode_key_i to DebugDisableNetworkTimeout
5 years ago
Siddharth singh chouhan
ba161f623e
Move documentation from implementations to declarations. ( #2858 )
5 years ago
ephphatha
b12de6fe12
Use scoped enum for Direction
...
Identified and removed an instance of Direction being used as an argument for a bool parameter
Removed a single-use temporary variable being cast from sprite frame to direction to size_t
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Fix alignment of WalkSettings array
5 years ago
Anders Jenbo
2d47c12515
Fix charpanel always showing player 0 stats
5 years ago
Juliano Leal Goncalves
28134d099c
🚚 Rename 'PkPlayerStruct' to 'PlayerPack'
5 years ago
Anders Jenbo
4044fadeb5
Clean up some players references
5 years ago
Anders Jenbo
d07b2204d3
Remove -j argument
...
Use the changelevel command instead
5 years ago
Anders Jenbo
6bc8475e8c
Clean up debug commands for loading levels
5 years ago
Anders Jenbo
9c4e34f988
Player by reference
5 years ago
Anders Jenbo
8ba3bbb6a4
Have PosOkPlayer take PlayerStruct as input ( #2430 )
5 years ago
Vladimir Olteanu
f8d98560ae
Refactor timed message handling
5 years ago
Anders Jenbo
0889780923
Remove more usage of miniwin types
5 years ago
Jonathan Bergeron
33ad9fa187
renamed Source/mainmenu.cpp and .h to menu.cpp/.h
5 years ago
Vladimir Olteanu
dd4b70a24b
* dthread.cpp: replace TMegaPkt with DThreadStruct
...
* consistently use uint8_t for pnum
* get rid of checks that never fail
* use atomic_bool for dthread_running
* dthread: eliminate superfluous memory copies
* Pass correct-sized buffer to DeltaExportJunk
* dthread: Fix crash when list is empty
* DthreadHandler: eliminate delay
* Dthread: use SdlMutex and lock_guard
* dhtread: explicitly provide T for lock_guard
5 years ago
obligaron
f5b437dd9c
Use save number to load/save games (instead of hero name)
5 years ago
Anders Jenbo
96bf75b502
Rename player globals
5 years ago
Anders Jenbo
07ad083fda
Rename monster globals
5 years ago
Anders Jenbo
bc0d1f7ac0
clang-tidy/Android Stuidio cleanups 3
5 years ago