Commit Graph

204 Commits

Author SHA1 Message Date
Kae
f73cb3ce03 improve WorldServer debug logging
is now consistent with WorldServerThread's use of the world id, which is generally more appropriate
2023-07-03 19:32:23 +10:00
Kae
0d266bebe1 Add shared table 2023-07-03 18:31:19 +10:00
Kae
deb96742e0 Prevent particle copy, tweak debugging some more
probably not too time-saving
2023-07-03 18:31:12 +10:00
Kae
1dacc0f41a Add client world.players 2023-07-03 18:22:44 +10:00
Kae
1742b04eec Cache plant piece asset paths 2023-07-03 18:22:31 +10:00
Kae
7f65913762 Use more portable encoding for Unicode character in debug strfs 2023-07-03 16:26:42 +10:00
Kae
11e00a8ded Change debug render time logging to use microseconds 2023-07-03 16:04:17 +10:00
Kae
8ee9c97f54 Tweak debug font 2023-07-03 14:48:42 +10:00
Kae
d018957b09 Fix font glyph generation to work correctly with other fonts 2023-07-03 14:21:51 +10:00
Kae
069d61e487 Fix scaling a better way 2023-07-03 09:10:09 +10:00
Kae
7999442f01 Fix scaling
not happy with having to do this, but whatever
2023-07-03 08:57:30 +10:00
Kae
398a5655f4 Add Drawable <-> Lua conversion to LuaGameConverters 2023-07-03 08:51:42 +10:00
Kae
d7ba113688 Add zoom level keybinds 2023-07-03 04:29:58 +10:00
Kae
7d86194cae fix three constructors having a struct keyword in them
i didn't even notice, and only MSVC silently let it compile. what the fuck
2023-07-03 04:05:42 +10:00
Kae
2386a95342 Input Binding support 2023-07-02 17:19:54 +10:00
Kae
73841ee041 more Input work 2023-07-02 10:55:25 +10:00
Kae
fe3763ed33 Update StarInput.cpp 2023-07-02 08:17:06 +10:00
Kae
3fc7a85a52 More work on the Input system 2023-07-02 08:16:14 +10:00
Kae
15b0e99460 Initial setup of input stuff 2023-07-02 06:34:43 +10:00
Kae
2c43b50531 Fix immediateSound pool logic 2023-07-02 03:18:35 +10:00
Kae
3c65474062 immediateSound and persistentSound now supports random sound pools 2023-07-02 02:26:13 +10:00
Kae
2a610211a1 Correct UpdateWorldProperties handling on server 2023-07-02 02:02:25 +10:00
Kae
17af21fd42 use raw wrapWidth ptr instead of Maybe 2023-07-02 00:52:36 +10:00
Kae
210d6326fc Fix splitting bug and optimize a little 2023-07-02 00:36:32 +10:00
Kae
5a56f8b81a Re-optimize text splitting while maintaining vanilla behavior 2023-07-01 23:20:25 +10:00
Kae
e29a46d100 Fix text wrapping splitting inside of words with color codes in them 2023-07-01 14:01:27 +10:00
Kae
68d1c19455 Throw away 32-bit support 2023-07-01 08:39:38 +10:00
Kae
ce68aad078 Move expensive questIndicatorPosition() call
need to optimize Object configValue at some point
2023-07-01 08:01:29 +10:00
Kae
c48a61bb03 Update StarNameplatePainter.cpp 2023-07-01 07:55:22 +10:00
Kae
bda140ab73 Renderer: Cache uniform and attribute locations 2023-07-01 07:31:40 +10:00
Kae
45c44408ce Update StarInspectionTool.cpp 2023-07-01 07:30:30 +10:00
Kae
a8196dfd64 Reorganize root load order
Turns out increasing the root load thread count is detrimental. The databases are always stepping on eachother's toes
2023-07-01 04:09:11 +10:00
Kae
1a861fb045 Fix GL error 2023-07-01 03:58:02 +10:00
Kae
ee2e134bbf Title music fades in/out 2023-06-30 12:02:00 +10:00
Kae
33b980dacb Change default menu logo 2023-06-30 11:45:26 +10:00
Kae
ad58a960e4 bring player inspection back! 2023-06-30 11:44:42 +10:00
Kae
17daee680a Hopefully fix rare config write race crash 2023-06-30 09:09:40 +10:00
Kae
204d449dda Change how the game renders the world backdrops 2023-06-30 08:37:27 +10:00
Kae
b43c59e828 Update StarPlayer.cpp 2023-06-30 07:23:41 +10:00
Kae
e02607cdf4 Update CMakeLists.txt 2023-06-30 07:23:18 +10:00
Kae
311929cb1e fix EnvironmentPainter issues
Was caused by fixing space dust zooming from the screen corner instead of center in a wrong way
2023-06-30 07:12:22 +10:00
Kae
2cd0c3a0aa typo lol 2023-06-30 06:39:30 +10:00
Kae
94cf66a122 Update StarTilePainter.cpp 2023-06-30 06:39:07 +10:00
Kae
7d847fcd6a Fix rare world lighting thread race 2023-06-30 06:35:46 +10:00
Kae
cb1390e9f3 Fix movement controllers falling through platforms at low timestep hz 2023-06-30 06:35:32 +10:00
Kae
76089ac665 fix snprintf using fmt syntax 2023-06-30 06:34:01 +10:00
Kae
fd5247321f Split world & interface shaders 2023-06-30 05:55:41 +10:00
Kae
d5fbd2001b RenderPrimitive micro-optimizations 2023-06-30 04:34:10 +10:00
Kae
47a527ebbf Update StarHumanoid.cpp 2023-06-30 02:31:41 +10:00
Kae
7fc9260829 Add extra checks to the char creation pane to prevent crashes when the player is not using an extension mod with extra species 2023-06-29 22:02:35 +10:00
Kae
dc134e168b Move lightmap wait into WorldPainter to fix single-frame lightmap lag-behind
unfortunate
2023-06-29 10:31:59 +10:00
Kae
afefd89533 Remove unused 2023-06-29 10:12:51 +10:00
Kae
624c7aaaf1 Move lighting calculation to separate thread 2023-06-29 10:11:19 +10:00
Kae
9d67cda97f Update StarPlayerLuaBindings.cpp 2023-06-29 08:12:27 +10:00
Kae
1e213aac5f Decimal zoom with lerp 2023-06-29 07:05:01 +10:00
Kae
0b479ae1b9 fix parsePersonality on other compilers 2023-06-29 06:38:48 +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
a78102c2a9 Update StarTextPainter.cpp 2023-06-29 02:42:05 +10:00
Kae
306494bd2d Unix fixes 2023-06-29 02:31:12 +10:00
Kae
422871450d Halve SDL audio buffer size to halve audio latency 2023-06-29 01:29:29 +10:00
Kae
bc2080e2c6 Improve windowing logic 2023-06-29 01:12:52 +10:00
Kae
9486a56508 Add base variables for warping cinematics
I literally only did this because I have an ultra-wide monitor and the letterboxing bothered me
2023-06-29 00:13:43 +10:00
Kae
45493ca8dd Revert timestep values to default, make configurable 2023-06-29 00:12:05 +10:00
Kae
99846487b9 Properly clean up SDL controllers and cursors on application exit 2023-06-28 23:34:59 +10:00
Kae
47ae258c2e ok maybe don't override the animation state if it's walk 2023-06-28 22:59:15 +10:00
Kae
0b7ddd05d1 Add extremely basic controller support (only movement) 2023-06-28 22:52:09 +10:00
Kae
0886098242 holy shit I'm never using amend commit again 2023-06-28 20:36:42 +10:00
Kae
4f586418d1 Merge branch 'main' of https://github.com/OpenStarbound/OpenStarbound 2023-06-28 20:35:56 +10:00
Kae
aa8832eb23 Fix becoming deaf after returning to the title (again) 2023-06-28 20:35:53 +10:00
Kae
d8e2d45b7a Fix becoming deaf after returning to the title (again) 2023-06-28 20:33:22 +10:00
Kae
322ee3a187 Fix non-rotated drawables still being included when calling Humanoid::render with items off 2023-06-28 20:29:05 +10:00
Kae
be8c722a7e Fix normal backspace broken by previous change 2023-06-28 20:26:04 +10:00
Kae
98c4e55380 Don't show the held item and rotation in the new inventory portrait 2023-06-28 20:22:25 +10:00
Kae
c37dd994d7 Fix freeze copy/pasting large amounts of text 2023-06-28 20:08:17 +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
1fc295b979 Fun: Draw the actual Humanoid in the inventory pane
undecided. might need to set a scissor rect on the portrait
2023-06-28 02:21:09 +10:00
Kae
326bc7266d Fix text box cursor offset with hidden text 2023-06-28 01:54:37 +10:00
Kae
cd497bbcf3 Support for hiding text box input, hide server connection password box by default 2023-06-28 01:40:55 +10:00
Kae
4c006afc94 Add unused support for using the actual humanoid for armor preview 2023-06-28 01:34:37 +10:00
Kae
59ab7dabe6 Misc internal UI fixes 2023-06-28 01:07:55 +10:00
Kae
a1e428fafa Fix cursor cleanup 2023-06-28 00:51:02 +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
2496789ea7 Improve button audio feedback 2023-06-27 22:17:57 +10:00
Kae
359624119a Fix becoming deaf to positional audio after returning to the title 2023-06-27 21:04:46 +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
14e23a17cc fix ErrorScreen pane never coming back after closing the first error 2023-06-27 01:22:09 +10:00
Kae
4e6e342169 Improve AssetPath::split
also fixed a bug with the cursor changes
2023-06-27 01:04:58 +10:00
Kae
63b68b3a55 Nameplate and chat bubble improvements
They should stack much better now. I also hooked up the true mouth position to the name-tag, but it's too shaky on chat bubbles.
2023-06-27 00:42:07 +10:00
Kae
94c84ad013 Update StarNetworkedAnimator.cpp 2023-06-26 21:41:54 +10:00
Kae
f2fedb0c87 cache NetworkedAnimator drawables
could use a LruCache later
2023-06-26 21:39:22 +10:00
Kae
14ef69c0f6 Move error screen over title 2023-06-26 20:40:32 +10:00
Kae
68d20787cf The camera is now also an audio listener 2023-06-26 19:25:37 +10:00
Kae
4b9b02783f HD Cursor 2023-06-26 18:39:40 +10:00