Anders Jenbo
a11bc61ea8
♻️ Render spellbook text via DrawString
5 years ago
thebigMuh
7fbcfeb35c
Adding text rendering flag to adjust spacing to fit horizontally
...
Now also works for multiline strings
5 years ago
Anders Jenbo
34744c068f
♻️ Consitantly use %i and not %d
5 years ago
arcas
6502a3ca4d
Adding resources for translation ( #1973 )
5 years ago
Anders Jenbo
7667880de4
🐛 Implement letter spacing in new font rendering
...
Fixes #1950
5 years ago
Anders Jenbo
0c2042fa52
♻️ Player by reference
...
Update Source/items.cpp
Update Source/lighting.cpp
Update Source/pack.cpp
asd
ads
as
5 years ago
Anders Jenbo
68e73c0dfe
🐛 Fix infopanel text color
5 years ago
Anders Jenbo
69e7f9527a
♻️ Draw character panel text using DrawString
5 years ago
Anders Jenbo
e665a0c4b0
♻️ Draw info box text using DrawString
5 years ago
Anders Jenbo
72598865cc
♻️ Replace PrintGameStr with DrawString
5 years ago
Anders Jenbo
68923c6c33
✨ Generic game text render function
...
This should gradually replace all the direct rendering of game texts
throughout the code. The interface is made to closly mirror that of the
art fonts as that is what will eventually be used for rendering Unicode
fonts both in the menus and ingame.
fixup! ✨ Generic game text render function
5 years ago
Anders Jenbo
6321bf04d5
♻️ Pass player to towner by reference instead of index
5 years ago
Gleb Mazovetskiy
0edfa3de66
🚚 Move CEL rendering to engine/render/cel_render.cpp
5 years ago
Anders Jenbo
f579b2f287
Handle cel/cl2 files as byte arrays
5 years ago
Anders Jenbo
92db72719d
🔥 Remove some unused code
5 years ago
Anders Jenbo
4e284ede14
Correct singular "Scroll" in texts.
5 years ago
Jmgr
994c5e7cfe
Add a keymapper
...
Rename the config entry for changing the quick messages texts
Other small improvements and simplifications
Set the quick spell hotkey text to be white with a black shadow
Add QuitGame action, unbound by default
Set the ItemInfo and QuestDebug keys to be unbound by default
5 years ago
Gleb Mazovetskiy
ff7fdd2848
🐞 Fix spellbook rendering crash in hellfire
...
Fixes a bug introduced in #1796
Frame numbers are 1-based and there are 6, not 5 frames there.
5 years ago
Anders Jenbo
3f891a4333
🌐 Correctly handle two more plural translation
5 years ago
Anders Jenbo
654a2b8834
♻️ Clean up automap code
...
Use Point for x,y pairs. Make helpers for drawing door and squares
5 years ago
Vladimir Olteanu
d9a4ff8729
Use std::string_view for towners' names ( #1750 )
5 years ago
Anders Jenbo
d83fa8edb3
🌐 Apply plural translation where applicable
5 years ago
Anders Jenbo
22d7d41615
🌐 Fix remaning plural form of gold related texts
5 years ago
Anders Jenbo
639e94b3d6
🌐 Use plural form translation for handeling gold related texts
5 years ago
Gleb Mazovetskiy
4408ddc127
🧹 Fix some -Wformat warnings
5 years ago
Gleb Mazovetskiy
1b8b62a8c2
♻️ Store CEL width with the sprite itself
...
Instead of passing the CEL sprite width when drawing, store the CEL
width at load time in the new `CelSprite` struct.
Implemented for most sprites except towners, missiles, or monsters.
5 years ago
Anders Jenbo
48dbb47d70
🌐 Apply static translations
5 years ago
Anders Jenbo
187d547fb8
🌐 Remove unused string from the translation list
5 years ago
Mathieu Maret
8d8711a966
Apply static menu translations ( #1728 )
5 years ago
thebigMuh
ad8f342db0
Adding constness
5 years ago
Anders Jenbo
93e42b9b8c
🌐 Add missing translation string
5 years ago
John Törnblom
e0dddf508a
Add automatically translated string literals ( #1694 )
5 years ago
Anders Jenbo
7912e510f0
🎨 Clean up overuse of SDL types
5 years ago
Anders Jenbo
2969b80163
🎨 Run readability-identifier-naming on all src sub-folders
5 years ago
Jmgr
1d84156509
Simplify bitshift divisions/multiplications
5 years ago
Anders Jenbo
f8e3672469
♻️ Fully apply clang-tidy rules to a few files
5 years ago
Anders Jenbo
9e307a0d4a
🎨 Rename towner[] to towners[]
5 years ago
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
5 years ago
Anders Jenbo
b978d80119
🎨 llvm-include-order
5 years ago
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
5 years ago
thebigMuh
50dcf587f4
Adding fancier XP bar ( #1597 )
5 years ago
Anders Jenbo
c89bd9c001
🚨 Fix remaning warnings for clang and gcc
5 years ago
Gleb Mazovetskiy
95946e3a7c
🧹 Cleanup unused variables ( #1584 )
...
Fixes `unused-variable` and `unused-but-set-variable` compiler warnings.
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
f450d6a125
🚚 Move defines to there proper files
5 years ago
Juliano Leal Goncalves
cc5f2a8f49
🎨 Rename 'attribute_id' enum to 'CharacterAttribute'
...
Members were renamed as well for readability.
5 years ago
Juliano Leal Goncalves
f54cc5aa95
♻️ Convert 'attribute_id' to a scoped enumeration
5 years ago
Juliano Leal Goncalves
28ad9d43c5
🎨 Rename 'plr_class' enum to 'HeroClass'
...
Members were renamed as well for readability.
5 years ago
Juliano Leal Goncalves
7d95bfed39
♻️ Convert 'plr_class' to a scoped enumeration
5 years ago
Anders Jenbo
e7ae8ddd04
🚚 Move all enums to there respective headers
5 years ago