obligaron
05658de4e9
Make GetInventorySize public
4 years ago
Anders Jenbo
be57d62684
Use UTF8 aware string copying
4 years ago
Anders Jenbo
718c46e7fe
Remove use of tempstr
4 years ago
obligaron
2617332a41
Allow only one gold input panel to be open
4 years ago
Anders Jenbo
fbabb96464
[gamepad] Align cursor after using item
4 years ago
staphen
66d9604923
Only load stash on New Game and Load Game
4 years ago
Anders Jenbo
a48f89007d
Implement stash
4 years ago
Bubio
16df16277a
Fixed an issue that caused the app to run as an iPhone app on iPad.
...
- Redo PR #3764
- To run as an iPad app, the UIDeviceFamily key is required in Info.plist.
https://discord.com/channels/518540764754608128/518541192993046562/920602213901025300
4 years ago
Gleb Mazovetskiy
27feebf389
Revert "GitHub CI: Update OpenDingux toolchains"
...
This reverts commit 28aa03ccf1 .
The newer versions of the toolchain require glibc 2.32 but the GitHub CI
ubuntu-latest (20.04) only has glibc 2.31
4 years ago
Gleb Mazovetskiy
5226fb0360
GitHub CI: Fix check for release upload
...
Fixes an attempt to upload a release when triggering release actions manually.
4 years ago
Anders Jenbo
39591eed9a
Ignore VCode project files
4 years ago
staphen
dcfd057200
Add two-way handshake between ZeroTier peers
4 years ago
Anders Jenbo
770727b5a0
Correct Leave Pepin menu posision
4 years ago
Oleksandr Kalko
d112f7155a
Use apt-get instead of apt in CI
4 years ago
staphen
1f7fb01b0c
Adjust gradle task dependencies to ensure assets are included in the APK
4 years ago
Oleksandr Kalko
ed7690a9dd
Update action for source tarball
...
* Use apt-get instead of apt, since apt has a warning
* Add Gtest as a dependency
4 years ago
Anders Jenbo
422f2bae9d
Fix build warnings
4 years ago
schojo
7fe638ef28
Update building.md ( #4153 )
...
Fixed -DCMAKE_TOOLCHAIN_FILE path for Windows 64-Bit compiling
4 years ago
qndel
220e9f092b
ignore auric amulet of other players in MP ( #4151 )
4 years ago
obligaron
e0ef3a2307
Init monster TRN after monster load
4 years ago
obligaron
973ce9d46e
Use original position for DrawPlayerIconHelper
4 years ago
Oleksandr Kalko
838b167c7b
UK TL: Minor updates
4 years ago
qndel
b8fc442210
fix chatlog translation entry ( #4140 )
4 years ago
Oleksandr Kalko
cdca4b6fa4
Update gradle plugin
4 years ago
staphen
b14fda976f
Fix IsGameHost() function for ZeroTier
4 years ago
Stephen C. Wills
ef1821ce57
Apply sequence number to net turns ( #4122 )
4 years ago
staphen
16f82226eb
[ZeroTier] Send PT_CONNECT to all players when new player joins
4 years ago
Gleb Mazovetskiy
f4b43c478a
Fix reflect icon offset ( #4133 )
...
Regression introduced in f4bce38875
4 years ago
ikonomov
a6c33a19cd
AddHeal converted to use GenerateRndSum ( #4108 )
4 years ago
ephphatha
2a09d7f561
Dedupe network call when dropping items on death
4 years ago
ephphatha
ca1ec8548f
Move GoldAutoPlaceInInventorySlot to anonymous namespace
4 years ago
ephphatha
f5da32a21c
Don't assume holdItem when auto-placing gold
4 years ago
ephphatha
caf60daa00
Fix tests expecting unclean HoldItem uses.
...
These test cases were asserting side-effects of the call to CreatePlayer leaving an initialised gold item in the held item slot.
4 years ago
Andrew James
f64d17bfa9
Initial clean up of code related to creating items ( #2943 )
...
* Move declaration of dItems to items.cpp
This array is never used in dungeon generation, it's closely related to Items so should be kept together. Ideally managing dItems can become responsibility of a container for Items, which will handle adding/removing items from the list and keeping the positions in sync.
* Rename SetPlrHandItem to match purpose/use
* Give more descriptive name to GetPlrHandSeed
This function sets a new seed on a given item struct, not just the held item.
* Don't use HoldItem as a temporary for the players initial inventory
* Take Item by reference in RespawnItem
* Don't use holdItem as a temporary when dropping gold on death
* Update DeadItem to take item by reference, and refer to it consistently
Move code which invalidates the source of dropped items to the caller
Most call sites use a temporary item instance or remove the item from the container, so there's no real point invalidating the item after it's been copied to the drop list.
Update DeadItem to take position instead of player references
4 years ago
Gleb Mazovetskiy
f4bce38875
Use `uint16_t` for sprite widths
4 years ago
Gleb Mazovetskiy
11aaf2a441
Fix `MissileFileData#GetFrame` for a null missile
...
Fixes the following warning:
/usr/include/c++/11/bits/unique_ptr.h:660:14: runtime error: reference binding to null pointer of type 'byte'
4 years ago
Gleb Mazovetskiy
7fede6c4cb
Clean up owned/unowned CelSprite ambiguity
...
Makes `CelSprite` unowned and adds a new `OwnedCelSprite` class for
owned sprites.
This clarifies ownership and makes the code cleaner in a number of
places.
Additionally, because the `CelSprite` class is now tiny (1 less
pointer), we can pass it by-value instead of by-reference, removing a
pointer indirection in the rendering functions.
4 years ago
DakkJaniels
0bae1ea3a1
switch affix_item_type bit flag enum to class format ( #4123 )
4 years ago
staphen
3b3419d519
Treat firstpeer as a recognized source of packets
4 years ago
DakkJaniels
7bc19ee91a
add enum for the spell flags. Adjust code to use them.
4 years ago
qndel
48f102eff1
Chat log
4 years ago
staphen
e877a8ff0a
Filter out ZeroTier packets that do not come from an expected source
4 years ago
qndel
be0845f41d
barb 2h cleanup
4 years ago
Felipe Wannmacher
6a6fd404dc
improved hints and added icons
4 years ago
DakkJaniels
6e9fd1b18b
Max Resist Item Formatting ( #4104 )
...
Change to use MAXRESIST instead of hardcoded 75 when printing resists to panel, in case someone were to change the MAXRESIST number.
4 years ago
KPhoenix
8d71a48b70
Remove MAX from Char Panel Resists ( #4103 )
...
* Remove MAX from Char Panel Resists
Co-authored-by: obligaron <obligaron@live.com>
Co-authored-by: qndel <stefan551@o2.pl>
4 years ago
obligaron
e48b949dad
Stop music on diablo exit
4 years ago
qndel
81800e64bb
MAXCHARLEVEL cleanup
4 years ago
obligaron
d765fad1cc
Continue playing music in menus
4 years ago
obligaron
75ee55af8d
Don't restart music if the same track is played
4 years ago