Gleb Mazovetskiy
117695489b
DrawArt: Fix bounds check ( #3395 )
...
The bounds checks were performed against the global screen dimensions
instead of the output buffer dimensions.
Also includes some minor cleanup of DrawArt.
Fixes #3388
4 years ago
staphen
b5d96665c9
Enable SDL1 build option for Windows
4 years ago
staphen
7782621ee4
Close SDL_RWops in LoadPNG()
4 years ago
Gleb Mazovetskiy
19cbe65ed8
packet.h: Fix `-Wunused-variable` ( #3379 )
4 years ago
Gleb Mazovetskiy
12b73076b8
Fix build error in plrctrl.cpp ( #3374 )
...
Follow-up to #3370
4 years ago
Gleb Mazovetskiy
4e8c2e3644
Fix line endings in a few files
4 years ago
Stephen C. Wills
423441c3dc
Fix speedbook navigation on gamepad
4 years ago
staphen
884f9ed46b
[Virtual Gamepad] Turn player when stand button is pressed
4 years ago
qndel
5a35e0640b
shorter & better MeasureSolidHorizontalBounds
4 years ago
Andrew James
e87b67aa8a
Remove no-op assignment ( #3362 )
4 years ago
Anders Jenbo
6bb0c4db07
Mark store owner names for translation
4 years ago
Andrew James
7dcc6d15f7
Update some quest object activation functions to use references ( #3356 )
...
- rename with a hopefully more descriptive name
4 years ago
ephphatha
d2940e8f7f
Update GetObjectStr to take a const Object&
...
Brings it in line with GetItemStr
4 years ago
ephphatha
5f112576a4
move variable declaration into correct scope
4 years ago
joewis
9cd6f206ad
Disable shift-clicking of items you don't have stats to wear
4 years ago
Anders Jenbo
b21e92baae
Mark store owner names for translation
4 years ago
Gleb Mazovetskiy
64a88343e8
Refactor: Use item iterators in 7 more places
4 years ago
ephphatha
6d545868d2
Move objectIsDisabled to a member function
...
While it does reference a global configuration option it's mainly concerned with the properties of the object itself, so makes sense to be a member of the object class.
4 years ago
ephphatha
782e07d967
Refactor DrawObject to avoid repeated Objects lookup
...
The check if the object position is offset is not strictly necessary as a displacement of {0, 0} remains the same after the world/screen transform.
4 years ago
ephphatha
e98b80c992
Remove declaration of private/anonymous function
...
Never used outside objects.cpp so it was rightly moved into the anonymous namespace, but the header was not updated at the time.
4 years ago
Andrew James
76ef0e8128
Dedupe SyncNakrulRoom code ( #3325 )
4 years ago
qndel
bee45d61d6
make monster lights compatible with vanilla
4 years ago
Anders Jenbo
e880f25c85
Fix viewing into in Hellfire Shareware mode
4 years ago
Anders Jenbo
c0c97bf224
[gamepad] Operate object as last option for primery action
...
Fixes #3307
4 years ago
Anders Jenbo
2d986430be
Allow for slightly better item name generation
4 years ago
obligaron
851ed8d557
Start attract mode only if a intro is present
4 years ago
staphen
f090da3ca8
[Gamepad] Prevent player applying stat points to maxed stat
4 years ago
staphen
e2408bc6bc
[Virtual Gamepad] Set primary action button graphic to apply in char panel when applying stat points for level up
4 years ago
Anders Jenbo
af433d8890
Check for null spells
4 years ago
Anders Jenbo
e9bc05063c
[translation] Allow reordering of prefix
4 years ago
qndel
124675386d
refresh panel when chat is active
4 years ago
Anders Jenbo
0fa49c4f84
Fix typo
4 years ago
Anders Jenbo
fdd5d2c0d6
Make start screen behave more in line with other similar menus
...
Double clicking a menu list was not intuitive and could leave some
people confused about how to progress from the very first screen.
This is unfortunatly more important then having a nice preview when
using arrow keys to high light the other option :(
4 years ago
obligaron
2158faadab
Use SDL_StartTextInput for gold drop dialog
4 years ago
obligaron
98ecd0ecc5
Introduce CloseGoldDrop
4 years ago
Anders Jenbo
5342cd87a8
Update support text and translations there of
...
Fixes #3284
4 years ago
Anders Jenbo
444b07e46d
Add license notice
4 years ago
Anders Jenbo
73e749f491
Adjust dialog font metrics
4 years ago
staphen
c698e06596
Rotate arrows in the appropriate direction when blocking
4 years ago
qndel
9c10f43019
disable using crippling shrines with controller
4 years ago
Anders Jenbo
f0cc7adbdf
Show error dialog when ZeroTier fails
...
Fixes #2708
4 years ago
Anders Jenbo
160c0fc2e4
Fix OOB when monsters attack monsters
4 years ago
staphen
048735114b
Prevent buffer overruns due to oversized INI values
4 years ago
staphen
c32d2ed11a
Fix size of option string used for determining language code
4 years ago
Anders Jenbo
bff9140995
Expand buffers to handle Bulgarian translation
4 years ago
Anders Jenbo
b77686213a
🐛 Correctly wipe temp data from saves
...
Fixes #3167
4 years ago
qndel
255ff93b06
🐛 Don't confuse dlvl8 stairs up for stairs to town
4 years ago
Ivan Epifanov
525c57431d
Fix Vita IME input languages
4 years ago
Anders Jenbo
615a9a46cf
Sync monster aggro state
4 years ago
Joerg Wissen
a274c6eab4
Swap weapons between body and inventory with shift-click
4 years ago