obligaron
a1e24b33fc
Default values for PlayerStruct
5 years ago
Juliano Leal Goncalves
b3ec79af4f
Leverage 'Point' in Lighting and Player functions ( #2048 )
5 years ago
obligaron
27a1a3bbfb
Use SimpleIni build-in bool/long/double methods
5 years ago
obligaron
7d5fe022ee
Switch ini library from Radon to simpleini
5 years ago
Juliano Leal Goncalves
cc936dacd7
♻️ Replace 'int' with 'Direction' parameter on 'PlrDirOK'
5 years ago
Anders Jenbo
43f26084d0
Fix warnigns
5 years ago
Anders Jenbo
6ce8f13751
Apply clang-tidy to more code and do some related cleanups
5 years ago
Juliano Leal Goncalves
21fdb0dcd9
♻️ Replace manual direction displacement logic with 'Point' add operator
5 years ago
Juliano Leal Goncalves
d55cd99dd5
🚚 Rename 'direction' enum to 'Direction'
5 years ago
Juliano Leal Goncalves
07e6a98fc4
✏️ Fix typos and spelling mistakes on 'HeroSpeech' members
5 years ago
Juliano Leal Goncalves
15c46b9eb0
💬 Rename HeroSpeech members to improve discoverability
5 years ago
Gleb Mazovetskiy
8ceb36a4cb
♻️ GetItemTextColor(item) -> item.getTextColor()
...
This will help with the Alt highlight feature.
5 years ago
Gleb Mazovetskiy
b76f7656f3
🧹 LoadArt: BYTE -> uint8_t
...
The change in include order necessitated a couple of other minor
cleanups, one in stubs.h and one in sdl2_to_1_2_backports.h
5 years ago
qndel
69b903743a
fix typos
5 years ago
Juliano Leal Goncalves
5350250a76
🚚 Rename speech functions to 'Say' variations
5 years ago
Juliano Leal Goncalves
8c620ce29e
♻️ Extract 'HeroSpeech' enum class for hero sounds instead of using raw `int`s
5 years ago
Gleb Mazovetskiy
e72def02e6
🔨 Add `STREAM_ALL_AUDIO` build setting
...
For extremely memory-constrained devices. Gets into town on RG99 (18 FPS -> 14 FPS).
5 years ago
qndel
faae9a65c7
fix typos ( #2038 )
5 years ago
Gleb Mazovetskiy
bb95e0c337
cl2_render: Use memset when rendering outline
...
A minor cleanup that replaces the for-loop rendering for a fill run
with memsets.
5 years ago
Anders Jenbo
9e2206a673
Format code
5 years ago
obligaron
e99af6cbb1
Remove old positioning logic for manashield and reflect
5 years ago
obligaron
86e1d488e6
Draw Reflect Icon similiar to Manashield
5 years ago
Anders Jenbo
6acb49bea4
Render quest and menu text using common text rendering
5 years ago
Jmgr
0e7ada15fc
Apply new format to ngexttext translations
5 years ago
Jmgr
bbd39aa513
Replace sprintfs with strcpy for translatable strings
5 years ago
Jmgr
6e85cde978
Update format strings
5 years ago
Jmgr
0c27e756f7
Add fmt::format
5 years ago
staphen
635f760815
Add options for DISABLE_TCP and DISABLE_ZERO_TIER.
5 years ago
obligaron
1c21607ccf
Use new stand animation for cast in town
5 years ago
obligaron
11f8c952e5
CheckNewPath: Use correct player for repeated attack check
5 years ago
staphen
1dd5245158
Fix camera jerking when changing direction on controller.
5 years ago
obligaron
a295586636
Support changing animation data on-the-fly even if the number of frames differ
5 years ago
Anders Jenbo
4c6ddc79a1
Clean up text render
5 years ago
Anders Jenbo
fd96bb9ab5
Render chat messages using common text rendering
5 years ago
Anders Jenbo
a03a2c2634
Render chat panel using common text rendering
5 years ago
Anders Jenbo
d723ebce1a
Render help text using common text rendering
5 years ago
Anders Jenbo
44b58c4970
Clean up L5dflags flags
5 years ago
Trihedraf
f2186d4d10
Change Multiplier if RunInTown Enabled to Fix Stuttering.
5 years ago
obligaron
417a3f124a
DrawPlayerHelper: Use correct player offset
5 years ago
Gleb Mazovetskiy
2f3fa76320
Fix gkd350h build
...
Works around a GCC bug on some platforms:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97044
5 years ago
staphen
d89221b15e
Close Cathedral Map when B button is pressed on the controller.
5 years ago
staphen
4c39ac4402
Fix crash when using Town Portal on controller.
5 years ago
obligaron
1c77a22735
Fix movement with hold mouse button and stand animation
5 years ago
obligaron
7b16fafbff
track_process: Player by reference
5 years ago
Gleb Mazovetskiy
c79ec673f4
♻️ Implement std's Lockable for SDL mutex wrapper
...
Rather than rolling our own lock guard, implement the requirements for
using `std::lock_guard` et al and use that.
5 years ago
Anders Jenbo
a11bc61ea8
♻️ Render spellbook text via DrawString
5 years ago
Anders Jenbo
2600b44141
Remove old help text
...
The help for the shareware version appears to be an older and more verbose version that simply was never updated (both are unchanged between 1.00 and 1.09).
5 years ago
Vladimir Olteanu
0c7c71d579
Cleanup of items.cpp ( #1967 )
...
- Apply Point where applicable
- Deduplicate vendor logic
- Add comment about unhanded edge case in GetSuperItemLoc
- Initialize some variables at deceleration
5 years ago
obligaron
55fa72d138
When changing items hot-swap the hero animation data and don't start a new animation
5 years ago
obligaron
4d2ac0502a
Add new GetOffsetForWalking helper and use it for player drawing and camera
5 years ago