8150 Commits
Author SHA1 Message Date
obligaron 51ab0106ab Sync monster spawn in multiplayer 2024-01-12 00:35:40 +01:00
obligaron 423150b457 Introduce SpawnMonster 2024-01-12 00:35:40 +01:00
obligaron cd840513b9 Introduce Player::isLevelOwnedByLocalClient 2024-01-12 00:35:40 +01:00
Gleb Mazovetskiy 647f8c38e4 Slightly improve CJK infobox rendering
It still isn't perfect (there just isn't enough space) but we now
cut off fewer pixels at the bottom.
2024-01-11 09:34:35 +00:00
Gleb Mazovetskiy dbf14dd6d4 Fix item label height for CJK 2024-01-11 09:32:57 +00:00
obligaron b32cc11ad9 Disable chat in singleplayer also for debug builds 2024-01-10 22:18:58 +01:00
obligaron bd3d17975c Fix MSVC SDL1 warnings 2023-12-22 17:03:01 +01:00
obligaron 95205294e8 Fix MSVC x86 warnings 2023-12-22 17:03:01 +01:00
obligaron 780015bfd4 Fix warnings in MpqWriter 2023-12-21 20:55:45 +01:00
obligaron 63f4f3896e Fix warnings in SDL_RWops_FromMpqFile 2023-12-21 20:55:45 +01:00
staphen 4f8dc6c4d0 Remove byte order logic from half-transparency lookups 2023-12-20 00:05:49 +01:00
obligaron ecb781db03 Fix MSVC warnings in stores.cpp 2023-12-17 19:43:14 +01:00
obligaron c8b8996cdd Fix MSVC warnings in controls\* 2023-12-17 15:42:33 +01:00
obligaron b0f0da5537 Fix remaining MSVC warnings in network code 2023-12-16 21:51:14 +01:00
obligaron ccaf8d1dac Use uint8_t in msg/multi/sync and fix MSVC warnings (#6856)
* Fix MSVC warnings in msg.cpp

* Move TBuffer to multi.cpp

* Fix MSVC warnings in multi.cpp

* SNet* change databytes to size_t

* msg/muli/sync: Change playerId to uint8_t
2023-12-16 18:56:06 +01:00
obligaron 8cb167ac98 Implement quick spell cycling 2023-12-14 22:17:57 +01:00
obligaron dc4cd43e8f Remove duplicate function definitions from control.h 2023-12-14 22:17:57 +01:00
obligaron 8bda637a08 Introduce IsValidSpeedSpell 2023-12-14 22:17:57 +01:00
obligaron 658918e5e6 Support unsetting spell hotkey 2023-12-14 22:17:57 +01:00
obligaron 426dd4c4af Add scroll wheel support to keymapper 2023-12-14 22:17:57 +01:00
obligaron 244d3d2f3a Remove scroll wheel hack 2023-12-14 22:17:57 +01:00
obligaron 7c1688ba5b Fix MSVC warnings in objects.cpp 2023-12-05 22:14:00 +01:00
Gleb Mazovetskiy 124d113b57 Extract spell data to a TSV 2023-12-05 21:33:23 +01:00
obligaron 2da492d203 Change some functions to Player reference 2023-12-05 20:40:30 +01:00
obligaron b42b72221f Use PlayerAtPosition at more places 2023-12-05 20:40:30 +01:00
obligaron fae6b3d817 Change Player::getId() and MyPlayerId to uint8_t 2023-12-05 19:05:08 +01:00
obligaron 19b6e2bcc4 Fix debug spawning monsters 2023-12-03 11:12:27 +01:00
qndel 16c814badf fix trn path in debug cmd 2023-12-03 02:27:31 +01:00
Anders Jenbo 34adaa66e7 Fix object layer height when loading in set levels 2023-12-02 20:29:50 +01:00
obligaron 22ec684671 Fix some MSVC warnings 2023-12-02 12:57:34 +01:00
obligaron f445bb4ef8 Change CastSpell to Player reference 2023-12-02 12:57:34 +01:00
obligaron 82aa0635c1 Simplify delay player messages 2023-12-02 12:57:34 +01:00
obligaron e7ba810af7 Update existing monsters after loading monster gfx 2023-12-02 00:50:45 +01:00
obligaron d4a70a2bc5 Fix MSVC warnings in monster.cpp/monsterdat.cpp 2023-11-28 22:18:51 +01:00
obligaron 7cd7a3445f Remove global SetPiece Handling 2023-11-28 17:24:18 +01:00
obligaron 42e1b82a91 Use GetDunSize in loops 2023-11-28 17:24:18 +01:00
obligaron dc85e7db43 Introduce GetDunSize 2023-11-28 17:24:18 +01:00
obligaron 75f68e1b8f Introduce Player::occupyTile 2023-11-26 23:38:34 +01:00
obligaron f3831deeb1 Fix a MSVC warning in towners.cpp 2023-11-26 17:39:50 +01:00
obligaron 81d738e303 Introduce Monster::occupyTile 2023-11-26 17:39:50 +01:00
obligaron 79a43dc1de Introduce AddMissile overloads specific for player and monster 2023-11-26 13:36:28 +01:00
Gleb Mazovetskiyandstaphen e5c7f0f174 Only enable exceptions for builds with ZeroTier (#6824)
Co-authored-by: staphen <[email protected]>
2023-11-26 10:15:25 +01:00
obligaron b2acfbc95d Fix remaining warnings in DiabloUI 2023-11-25 11:43:37 +01:00
obligaron d3bdd4b8cc Change DiabloUI list callbacks indexes from int to size_t 2023-11-25 11:43:37 +01:00
staphen ef30ea1b5d Don't access sgSFX if sound is not initialized 2023-11-24 08:43:14 +01:00
staphen 73777b276a Ignore invalid PT_DISCONNECT packets instead of crashing 2023-11-22 19:51:03 +01:00
staphen 2e958ee546 Avoid sending PT_DISCONNECT packet to dropped player 2023-11-22 19:51:03 +01:00
KPhoenix b8738ab4cf Validation: Validate Item Drop Packets 2023-11-20 06:37:52 +01:00
staphen c4792be763 Remove invalid items after loading heroitem data 2023-11-19 23:48:21 +01:00
staphen 293ad814e6 Restore packed item state when regenerating an item using heroitem data 2023-11-19 23:48:21 +01:00