1
0
Fork 0
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:
fgenesis 2013-07-15 03:22:41 +02:00
commit 93c59fdb28
3 changed files with 41 additions and 2 deletions

View file

@ -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");