Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The sequence loading helper should already check if the sequence is loaded and clean up the instance if not
|
|
(CID1004167)
|
|
|
|
The string stored is now strlen(s)+1, with length 0 indicating NULL.
Increment savegame version for this new format.
Old savegames are fixed by assuming VAL_STRING should never be NULL.
|
|
Scripts executing from ScEngine::tick() can call
ScEngine::unbreakableTick() via scCallMethod("SaveGame") and
applyEvent("BeforeSave").
This recursive execution could cause finished scripts being removed
from _scripts while ScEngine::tick() is still iterating over that array.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Replace use of getTimeAndDate() by getMillis() when computing
elapsed time. This fixes an issue when playing around midnight.
Also rename some variables for clarity (since they contain a time
in seconds having Hour in the name was a bit confusing).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|