mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
clean up Lua frame handling a bit
There's no need to keep all this infrastructure to run every frame for a barely used situation. This cleans it up a bit and does the position reset in the actual drawString function.
This commit is contained in:
1 parent
2fd98c908b
commit
826dfd01fc
6 files changed
+9
-24
No files matched your search
@@ -185,11 +185,6 @@ int script_state::CreateLuaState()
|
||||
return 1;
|
||||
}
|
||||
|
||||
void script_state::EndLuaFrame()
|
||||
{
|
||||
scripting::api::graphics_on_frame();
|
||||
}
|
||||
|
||||
static bool sort_table_entries(const ade_table_entry* left, const ade_table_entry* right) {
|
||||
const char* leftCmp = left->Name != nullptr ? left->Name : left->ShortName;
|
||||
const char* rightCmp = right->Name != nullptr ? right->Name : left->ShortName;
|
||||
|
||||
Reference in new issue
Block a user