Commit Graph

101 Commits

Author SHA1 Message Date
Kae
809744c300 Fix horizontal alignment with font, add new fonts 2023-07-03 19:46:56 +10:00
Kae
0d266bebe1 Add shared table 2023-07-03 18:31:19 +10:00
Kae
11e00a8ded Change debug render time logging to use microseconds 2023-07-03 16:04:17 +10:00
Kae
d018957b09 Fix font glyph generation to work correctly with other fonts 2023-07-03 14:21:51 +10:00
Kae
398a5655f4 Add Drawable <-> Lua conversion to LuaGameConverters 2023-07-03 08:51:42 +10:00
Kae
73841ee041 more Input work 2023-07-02 10:55:25 +10:00
Kae
15b0e99460 Initial setup of input stuff 2023-07-02 06:34:43 +10:00
Kae
17af21fd42 use raw wrapWidth ptr instead of Maybe 2023-07-02 00:52:36 +10:00
Kae
5a56f8b81a Re-optimize text splitting while maintaining vanilla behavior 2023-07-01 23:20:25 +10:00
Kae
76089ac665 fix snprintf using fmt syntax 2023-06-30 06:34:01 +10:00
Kae
d5fbd2001b RenderPrimitive micro-optimizations 2023-06-30 04:34:10 +10:00
Kae
fb0ab85089 Lua: player.* identity getters and setters 2023-06-29 05:58:24 +10:00
Kae
8a2de03b0f i may be silly 2023-06-29 04:08:11 +10:00
Kae
306494bd2d Unix fixes 2023-06-29 02:31:12 +10:00
Kae
48ec889579 TextPainter now uses StringView 2023-06-28 20:08:11 +10:00
Kae
4b91eb7175 Fix StringView::substr 2023-06-28 20:07:22 +10:00
Kae
efa3872396 Don't do spatial logging on the server 2023-06-28 00:50:47 +10:00
Kae
152af87655 Fix broken regex, make game timestep non-const 2023-06-28 00:20:22 +10:00
Kae
baf3a1cf76 Fix crash warping to planets and leftover formatting errors 2023-06-27 20:55:10 +10:00
Kae
332983c97b The Formatting String Catastrophe 2023-06-27 20:23:44 +10:00
Kae
14b9689b6d Change formatting to use fmtlib (STILL NEED TO CHANGE TO FMT SYNTAX!) 2023-06-27 19:24:35 +10:00
LDA
c9e889723b resolved most of the compiler warnings/errors under gcc
also update xxhash and tinyformat
2023-06-26 11:58:35 -07:00
Kae
4585c9cafa Lazy-loading of ImageOperation inside Directives
also fixed cases of drawables not staying centered after adding directives that scale
2023-06-27 03:38:57 +10:00
Kae
4e6e342169 Improve AssetPath::split
also fixed a bug with the cursor changes
2023-06-27 01:04:58 +10:00
Kae
f2fedb0c87 cache NetworkedAnimator drawables
could use a LruCache later
2023-06-26 21:39:22 +10:00
Kae
32411daa67 Fix 1:1 scale cursors being Australian 2023-06-26 18:05:00 +10:00
Kae
c6cb370c13 Optimize replace processing 2023-06-26 17:09:19 +10:00
Kae
ec9a138e1a Handle abnormal directives prefixes 2023-06-26 15:34:41 +10:00
Kae
ed3d5dffc0 slight NetworkedAnimator drawables optimization 2023-06-26 14:40:14 +10:00
Kae
500e81329a Fix minor issues 2023-06-26 01:51:57 +10:00
Kae
09d26d43b5 Add string view variant of Star::String and use it
it's 1:30 AM AGAIN !! !!!!!
This might have broken the inventory icons of custom hats a little, need to look into that
2023-06-26 01:42:18 +10:00
Kae
13a74602bd Upgrade to C++17 2023-06-25 20:01:32 +10:00
Kae
df661be1a3 apparently GCC hates this 2023-06-25 18:27:36 +10:00
Kae
ee092dd85d fix inline mismatch 2023-06-25 18:24:54 +10:00
Kae
7d205330db More directives optimization 2023-06-25 18:12:54 +10:00
Kae
e2424b7dcf Fix up new Object directives handling, more directives rendering improvements, fix chat bubbles and nametags only moving every 2px 2023-06-25 16:10:57 +10:00
Kae
25b021c0cb More improvements to directives
Error logging is back where it should be
2023-06-25 14:00:20 +10:00
Kae
008bd6d3df more!! more!!!! 2023-06-25 01:16:40 +10:00
Kae
2bd399fd00 Armor optimizations 2023-06-24 23:38:27 +10:00
Kae
7eb010d4a1 Pretty much working now 2023-06-24 22:49:47 +10:00
Kae
aa08eaac99 Compileable now 2023-06-24 20:10:53 +10:00
Kae
7bde128a87 DirectivesGroup prototype 2023-06-24 19:41:52 +10:00
Kae
51a9de3af3 This is overkill 2023-06-24 13:06:13 +10:00
Kae
2798d4bf66 what the fuck it's 1:30 AM. god 2023-06-24 01:30:55 +10:00
Kae
e64aabfcf1 add Nametag Directives 2023-06-23 20:24:40 +10:00
Kae
ca195431ff Disable Lua string coercion to int 2023-06-21 23:50:11 +10:00
Kae
643ae5d1b8 Fix border for font 2023-06-21 23:32:28 +10:00
Kae
f0fec34dc9 The Fontpocalypse
I hate it
2023-06-21 22:29:40 +10:00
Kae
f2e64e1752 Font improvements
?border and ?outline blend nicer when applied to font glyphs
2023-06-21 18:59:15 +10:00
Kae
391527d812 Hashing improvements 2023-06-21 15:57:05 +10:00
Kae
6352e8e319 everything everywhere
all at once
2023-06-20 14:33:09 +10:00