mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-05 13:51:04 +00:00
Minor extensions to script interface:
- quad_setRepeatTexture() - quad_setRepeatScale() - quad_isRepeatTexture() (bone, entity, ... as well) - getOldDT() - return unmodified dt - getDT() - as passed to update(), for complicated edge cases where dt is unavailable but required.
This commit is contained in:
parent
8ac88b9749
commit
93c59fdb28
3 changed files with 41 additions and 2 deletions
|
@ -953,6 +953,7 @@ Core::Core(const std::string &filesystem, const std::string& extraDataDir, int n
|
|||
|
||||
srand(time(NULL));
|
||||
old_dt = 0;
|
||||
current_dt = 0;
|
||||
|
||||
aspectX = 4;
|
||||
aspectY = 3;
|
||||
|
@ -2956,6 +2957,7 @@ void Core::main(float runTime)
|
|||
if (verbose) debugLog("modify dt");
|
||||
modifyDt(dt);
|
||||
|
||||
current_dt = dt;
|
||||
|
||||
if (verbose) debugLog("check runtime/quit");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue