[Ohrrpgce] SVN: teeemcee/8137 Rewrite scriptname: load all script names once. It was very slow esp. if
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Sun Sep 4 18:25:40 PDT 2016
teeemcee
2016-09-04 18:25:40 -0700 (Sun, 04 Sep 2016)
443
Rewrite scriptname: load all script names once. It was very slow esp. if definescript was used.
There is a single function load_script_triggers_and_names to load
lookup1.bin and plotscr.lst.
The script name is looked up when triggering a script. Games which
had a lot of scripts, used definescript instead of plotscript and
triggered a lot of timer scripts at once suffered noticeable pauses.
(I'm talking about Entrepreneur: The Beginning)
---
U wip/common.bi
U wip/common.rbas
U wip/custom.bas
U wip/game.bas
U wip/loading.bi
U wip/loading.rbas
U wip/subs2.bas
U wip/yetmore2.bas
More information about the Ohrrpgce
mailing list