Age | Commit message (Collapse) | Author |
|
svn-id: r54341
|
|
SCI2 strings inherit from arrays, plus kArray and kString are almost the
same, so this is all possible. This is needed, as SCI scripts copy
strings on arrays and then process them as such (e.g. in RAMA and LSL7)
However, we really need to merge SCI2 array types with the SCI2 string
types, and ultimately merge the code with the SCI1 array and string types.
svn-id: r54340
|
|
This commits a slightly modified patch from my patch tracker item #3104630
"OSYSTEM: Add logging API as proposed by Max on -devel".
I was not able to test compilation on Android and SamsungTV, since there is no
toolchain for those on buildbot (or I was too blind to find them).
svn-id: r54339
|
|
svn-id: r54338
|
|
Formerly there was much special handling for the Tooltip dialog in
GuiManager::runLoop. This was replaced by overloading the event handling
functions in Tooltip. Also the Tooltip was adapted to be run like every
other normal dialog.
svn-id: r54337
|
|
disposeParentStream as param
svn-id: r54336
|
|
svn-id: r54335
|
|
svn-id: r54334
|
|
svn-id: r54333
|
|
svn-id: r54332
|
|
svn-id: r54331
|
|
svn-id: r54330
|
|
svn-id: r54329
|
|
svn-id: r54328
|
|
svn-id: r54327
|
|
svn-id: r54326
|
|
svn-id: r54325
|
|
svn-id: r54324
|
|
avoid using 'using'
svn-id: r54323
|
|
The assert() macro may be compiled to be empty. In that case, its
arguments are *NOT* evaluated. Hence, things like
assert(doSomething())
must not be used whenever doSomething() has important side effects.
Also document BufferedWriteStream::flushBuffer() and explain why it
exists parallel to BufferedWriteStream::flush().
svn-id: r54322
|
|
svn-id: r54321
|
|
svn-id: r54320
|
|
svn-id: r54319
|
|
DS backend
svn-id: r54318
|
|
svn-id: r54317
|
|
svn-id: r54316
|
|
svn-id: r54315
|
|
svn-id: r54314
|
|
Currently not used by anything.
svn-id: r54312
|
|
Before, it could be instantiated after an engine loaded and then was never deleted, causing memory fragmentation. Also removed inner tooltip call to the GuiManager runloop, which makes the logic simpler since the tooltip is a bit of a hack. I had to remove it because deleting _tooltip in the inner loop (called from tooltip itself) is trouble.
svn-id: r54311
|
|
This reduces fragmentation.
svn-id: r54310
|
|
Scripts are now loaded from a central place and are properly freed at the correct time. This fixes a regression from r54152.
svn-id: r54309
|
|
- Add support for /clean switch to remove all created files
- Add switches for generating stable & all engines
- Add command line help
- Properly initialize answer variables to default choice
svn-id: r54308
|
|
svn-id: r54307
|
|
This ensures that the pointer to the element that lookupArray() returned
won't be invalidated in case the array is reallocated because of
allocateArray() - same issue as in kClone()
svn-id: r54306
|
|
svn-id: r54305
|
|
- Extended the "verify_scripts" console command for SCI3 scripts
- Added a check for such large scripts when scripts are loaded, with
an error for now, till a mechanism to support such scripts with a
16-bit addressing scheme is in place (e.g. overlaying, or splitting
scripts). Either way, such scripts should span over more than one segment
svn-id: r54304
|
|
svn-id: r54303
|
|
svn-id: r54302
|
|
svn-id: r54301
|
|
This is needed for use with sliders. The screen is now updated fewer times as well.
svn-id: r54300
|
|
This occurred during intro playback and was due to _polyStruct not being initialised to NULL during engine construction/initialisation.
svn-id: r54299
|
|
In version 1.002.011, global 3, used for timing, is incorrectly initialized
to 0, whereas it should be 6 (like in other versions). Initializing it to
the correct value fixes the speed in the intro. This has been based on the
patch for that version by NewRisingSun(NRS) / Belzorash
svn-id: r54298
|
|
svn-id: r54297
|
|
svn-id: r54296
|
|
now in SCI3
svn-id: r54295
|
|
This fixes function key input (e.g. F3) when num lock is on
svn-id: r54294
|
|
- Updated detectLofsType() for SCI3
- Cleaned up op_lofsa and op_lofss and updated them for SCI3
svn-id: r54293
|
|
SCI3 scripts do start up now, however they stop quite early, as there is still
missing functionality which prevents them from running fully. This will be useful
for debugging, though
svn-id: r54292
|
|
- Added a TODO for the usage of the -info- selector in kClone and kDisposeClone in
SCI3 scripts, as it's no longer used in SCI3
- Added information about which of the selectors are missing in SCI3. There are
some more which are missing, but aren't used in SCI2-SCI3 anyway
- Some styling
svn-id: r54291
|