Age | Commit message (Collapse) | Author |
|
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
|
|
svn-id: r54290
|
|
svn-id: r54289
|
|
Only changed this in engines where 'color' was/is already used
almost exclusively
svn-id: r54288
|
|
svn-id: r54287
|
|
These were actually all "harmless" (i.e. where no obstructions
to RTL support). Still good to get rid of 'em!
svn-id: r54286
|
|
All other instances already were spelled 'color' in the SCI
engine (and also most other parts of ScummVM)
svn-id: r54285
|
|
lskovlun
svn-id: r54284
|
|
- Added SCI3 equivalents for access to object selectors
- Added SCI3 implementation of object relocation
- Added SCI3 implementation of Script::initialiseClasses()
svn-id: r54283
|
|
- Added a SCI3 implementation of Script::load()
- Added a SCI3 implementation of Script::initialiseClasses()
- Removed some duplicate code
svn-id: r54282
|
|
svn-id: r54281
|
|
svn-id: r54280
|
|
later
merged into the script files again in SCI3
svn-id: r54279
|
|
svn-id: r54278
|
|
svn-id: r54277
|
|
commands
svn-id: r54276
|
|
console command
svn-id: r54275
|
|
svn-id: r54272
|
|
svn-id: r54271
|
|
- Add EntityCallData destructor to dispose of frames & Sequences
- Properly dispose of frames in Entities::resetSequences()
svn-id: r54270
|
|
svn-id: r54268
|
|
svn-id: r54267
|
|
svn-id: r54266
|
|
svn-id: r54265
|
|
Also renamed the source/header files, now they are more closely
aligned to how we rename most other source files
svn-id: r54264
|
|
svn-id: r54263
|
|
Use of global vars is what prevents RTL from working in Tinsel (and
probably in other engines). More specifically, the fact that many
global vars are not explicitly inited when the engine is (re)launched.
svn-id: r54262
|
|
svn-id: r54261
|
|
RadiobuttonGroup has a destructor which must be called to avoid leaking memory.
Have also added missing NULL init() declarations on object member pointers to avoid any future issues.
svn-id: r54260
|
|
svn-id: r54259
|