Commit graph

12 commits

Author SHA1 Message Date
Gleb Mazovetskiy
7e1fea6f76 clang-format all files in {Source,test}/
Also includes a few manual tweaks to comments and newlines for better results.

Co-authored-by: Anders Jenbo <anders@jenbo.dk>
2021-11-24 23:44:12 +01:00
Anders Jenbo
7f5ea145e9 Fix MSVC C4477 warning
Also take translation in to account when printing XP info
2021-07-08 09:05:15 -07:00
Anders Jenbo
2ca6e37c46 Clean up sub folders using clang-tidy/Android Studio 2021-07-08 03:30:25 -07:00
Anders Jenbo
72598865cc ♻️Replace PrintGameStr with DrawString 2021-05-08 18:48:19 +02:00
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
2021-05-08 18:48:19 +02:00
Gleb Mazovetskiy
b9d452390b 🧹 Source/qol: FastDraw -> UnsafeDraw 2021-05-06 12:58:06 +02:00
Gleb Mazovetskiy
afef72f916 🎉 New map renderer
Uses integer math only: This speeds up the rendering and eliminates some
zoom artifacts.

Improves player indicator look -- it's now symmetric and more legible.
2021-05-06 12:58:06 +02:00
Gleb Mazovetskiy
8257837801 🎨 Fix line endings in Source/qol/* 2021-05-01 23:26:35 +02:00
thebigMuh
ad8f342db0 Adding constness 2021-04-26 23:30:02 +02:00
thebigMuh
7ce3957a8a Split of QoL features into separate files 2021-04-26 19:31:25 +02:00
Anders Jenbo
7912e510f0 🎨 Clean up overuse of SDL types 2021-04-24 17:07:07 +02:00
thebigMuh
50dcf587f4
Adding fancier XP bar (#1597) 2021-04-19 02:59:20 +02:00