NiteKat
5e4afea8fc
Fix Player Information
...
Fixes issue where player information was being given when players were not on the active floor.
10 months ago
staphen
707ceb1485
Fix pointer arithmetic in OnSyncData()
10 months ago
staphen
ecb3e46199
Fix clang-tidy warnings in sync.cpp
10 months ago
NiteKat
c3d6a459d2
Fix Repairs and Identifying with Cain
...
This actually fixes repairs (and selling), using CurrentItemIndex correctly and doesn't double dip into the players gold for repairs. Also fixes Cain identifies as before the store wasn't being re-ran after identifying an item.
10 months ago
NiteKat
e7dd6bbab5
Fix putCursorItem
...
Need to explicitly check if HoldItem is empty in DevX
10 months ago
staphen
bea626730f
Redraw everything when floating numbers is enabled
10 months ago
staphen
f1c1e530f5
Draw the filled part of the lower flask
10 months ago
NiteKat
2a1a036021
Fix Repair Logic
...
Fix issue where magical items can have repair cost under 1 gold, and thus not be eligible for repair.
10 months ago
NiteKat
235783fb0c
Fix Quest Text
...
Fix quest text by adding a space between the line breaks.
10 months ago
NiteKat
5a0d215601
Monster Name and Witch Fix
...
Fixes the Monster Name passed to client and fixes buying items from Adria.
10 months ago
NiteKat
a3509e11e2
Fix Towners
...
Fix towners to that cows don't get squished into one entity.
11 months ago
NiteKat
1975a0209e
Prevent Improper Store Usage
...
Store options are built even if quest test is being displayed, so this prevents a DAPI AI from using a store while a quest text is up.
11 months ago
staphen
3c3c3028d9
Enable compiling SFML from source
11 months ago
Eric Robinson
e97b1977d8
Use existing fn for Speedbook Spellmatching Skill
11 months ago
Eric Robinson
b06529b050
Use existing fn for Spell Book Trans matching Skill ( #7857 )
11 months ago
Eric Robinson
4bf3c83ed6
Use existing fn for Spell Book Skill
11 months ago
Eric Robinson
be89b3bf34
Fix crash related to Monster placement
11 months ago
Eric Robinson
7d8d1bc36a
Fix Monster Line of Sight ( #7988 )
11 months ago
NiteKat
81af756109
Fix Placing Items From Cursor
...
This makes placing items from cursor functional as it fully accounts for how DevilutionX handles item graphic cursors (the cursor point is considered in the middle instead of top left)
11 months ago
staphen
bb78f48043
Fix includes in sync.h
11 months ago
staphen
e3460a072d
Do not spawn monsters in town
11 months ago
staphen
8fe94efd47
Fix endian issues related to quest synchronization
11 months ago
staphen
8cf2380960
Fix ASAN alignment issues related to spawned monster deltas
11 months ago
staphen
b761d3fef2
Validate network data when importing quest deltas
11 months ago
staphen
5e561d709a
Validate network data when importing portal deltas
11 months ago
staphen
0d334eff3b
Eliminate fatal errors in message handler functions
11 months ago
staphen
84546f85d4
Validate length of incoming deltas
11 months ago
staphen
1a2e0eb2e5
Validate length of incoming network messages
11 months ago
staphen
f15548213d
Fix size of sgRecvBuf
11 months ago
staphen
a569d6808e
Unify monster sync packet validation and delta validation
11 months ago
staphen
47bb51cd45
Validate item deltas on import
11 months ago
staphen
7831ed6ca1
Isolate monster sync packet validation using Monsters array
11 months ago
NiteKat
550c3e8a62
Add Backend Awareness
...
Adds an enum and to the frameupdate message so the frontend can know what backend it is attached to. Needed since DevilutionX has some differences such as TileIDs and Pepin auto healing, etc.
11 months ago
NiteKat
c423be629d
Refactor and Fix Inv Paste and Witch Sell
...
Fixes Inventory pasting and refactors it based on how DevilutionX works internally. Also fixes Adria's sell window storing wrong OldActiveStore.
11 months ago
staphen
d024381e52
Use paths::GetBasePath() so it can be freed
11 months ago
NiteKat
3fcb9081d7
Fix Command Send Changes
...
Fixes CMD_OPOBJXY and CMD_DISARMXY which are sent with a different NetSend command in DevilutionX.
11 months ago
NiteKat
09c7382f54
Translate interface_mode
...
Frontend uses the custom defined windows message values that 1.09 uses internally. This translates the equivalent DevilutionX messages back to the expected values.
11 months ago
Eric Robinson
e538b457bf
Refactor Missile direction/frame group handling
11 months ago
NiteKat
07a9e24fc3
FIx Menu Actions
...
This allows DAPI to interact with the menu in game.
11 months ago
NiteKat
882b3e8e74
Fix Inventory Functions
...
Fixes compatibility for the inventory manipulation functions for DevilutionX.
11 months ago
staphen
f622ec1428
Fix typo: IsMonsterAvalible -> IsMonsterAvailable
11 months ago
Anders Jenbo
1fb58e4ff2
Load the correct number of monsters
11 months ago
NiteKat
c26aaddfab
Fix Monster Selection Loop and DAPI Griswold
...
Loop crashes (in debug build only somehow?) for selecting monster types when playing Diablo mode due to less monster types being available.
Fixes Griswold data not being sent client side due to extra blank entries in Towners struct.
11 months ago
Anders Jenbo
8d5c7e867c
Fix warnings
11 months ago
NiteKat
57d7c4b3f7
SFML and ProtoClient Fixes
...
Change to newest SFML and fix linkage, additionally fix the DAPIProtoClient to be SFML 3.0 compatible.
11 months ago
Anders Jenbo
95d1b93bd2
Fix building on linux and use unchanged SFML
11 months ago
NiteKat
2d617b7b25
Initial Integration of DAPI
...
This commit adds the DAPI server,the ProtoClient that the server uses to communicate with a front end client, and the supporting SFML networking files, with the necessary CMake file changes to integrate the new files.
Some code was moved from anonymous namespaces in DevilutionX to the devilution namespace so that DAPI server can access them.
This builds, but crashes at the SFML initialization.
11 months ago
staphen
45d7c79ba9
Remove unused function FreeRenderer()
11 months ago
Anders Jenbo
3b18dd35d9
Move some Hellfire differences to data files ( #7943 )
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
11 months ago
obligaron
fe853e484e
Fix freezing the screen when changing the resolution by not recreating the renderer ( #7953 )
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
11 months ago