aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-09-06COMMON: (Inactive) code to debug memory leaks in memory pools + typo fixBertrand Augereau
svn-id: r43990
2009-09-06SCI: Rename SegManager::exports_wide to _exportsAreWide and changed it to a ↵Max Horn
bool, and rename setExportWidth() to setExportAreWide() svn-id: r43988
2009-09-06SCI: Script::obj_indices is now protectedMax Horn
Add new methods init, allocateObject and getObject to class Script, and use them instead of directly accessing Script::obj_indices. Replace RAW_GET_CLASS_INDEX with Script::getObject() svn-id: r43987
2009-09-06SCI: Replace "IntMapper *id_seg_map" in SegManager with a ↵Max Horn
Common::HashMap<int,int> This simplifies the code considerably. Also changed the savegame format accordingly, which required me to bump the format version to 10. Old saves should still load fine. svn-id: r43986
2009-09-06SCI: Convert saveload code to use the versioning feature of Common::SerializerMax Horn
svn-id: r43985
2009-09-06SCI: cleanupMax Horn
svn-id: r43984
2009-09-06COMMON: HashMap::getVal now allows specifying a default value.Max Horn
A new variant of HashMap::getVal with a second 'default value' parameter has been added. This helps avoid many contains() + getVal() combos (which incur double lookup penalty), and is much lighter than using find() (which has to create an iterator). svn-id: r43983
2009-09-06SCI: cleanupMax Horn
svn-id: r43982
2009-09-06SCI: Cleanup for some SegManager internalsMax Horn
- rename segGet and getSegment to getScriptSegment; the two can be distinguished by the parameter count. - rename type SCRIPT_GET to ScriptLoadType to conform with our code formatting conventions - rename get_class_address to getClassAddress - some cleanup svn-id: r43981
2009-09-06SCI: Rename resManager -> resMan; segManager -> segManMax Horn
svn-id: r43980
2009-09-06SCI: Rename player -> s_player and made it static; allocate MemoryReadStream ↵Max Horn
in two cases on the stack, for simplicity svn-id: r43979
2009-09-06SCI: Change script_lookup_export to use SegManager::validateExportFuncMax Horn
svn-id: r43978
2009-09-06Constness fixBertrand Augereau
svn-id: r43975
2009-09-06Minor constness fixesBertrand Augereau
svn-id: r43974
2009-09-06start sound positioning with 1 as in original engine.Vladimir Menshakov
svn-id: r43973
2009-09-06implemented mansion drawers-book puzzle and fake chili.Vladimir Menshakov
svn-id: r43972
2009-09-06LOL: fixed warningFlorian Kagerer
svn-id: r43971
2009-09-06LOL/Floppy: fix menusFlorian Kagerer
svn-id: r43970
2009-09-05more callbacks from the third episodeVladimir Menshakov
svn-id: r43969
2009-09-05LOL/Floppy: fix compassFlorian Kagerer
svn-id: r43968
2009-09-05LOL/Floppy: fix bug in dialogue displayerFlorian Kagerer
svn-id: r43967
2009-09-05made second chapter completable.Vladimir Menshakov
svn-id: r43966
2009-09-05Support for SMB shares, cleaned up async FS functions.Andre Heider
svn-id: r43965
2009-09-05more callbacks, removed anotherMansionTry()Vladimir Menshakov
svn-id: r43964
2009-09-05added actor_animation for the dialogVladimir Menshakov
svn-id: r43963
2009-09-05LOL: fix floppy version static dataFlorian Kagerer
svn-id: r43962
2009-09-05added orientation to moveTo() function, added support for the sound queue.Vladimir Menshakov
svn-id: r43961
2009-09-05LOL: fix inventory drawing in floppy versionFlorian Kagerer
svn-id: r43960
2009-09-05Updated xcode projectOystein Eftevaag
svn-id: r43959
2009-09-05removed debug rendering of bounding boxesVladimir Menshakov
svn-id: r43957
2009-09-05cleaned up mess in initialization, added original mouse cursorVladimir Menshakov
svn-id: r43956
2009-09-05added teenagent.dat to dist filesVladimir Menshakov
svn-id: r43955
2009-09-05removed magic exe offsets, added teenagent.dat support.Vladimir Menshakov
svn-id: r43954
2009-09-05added teenagent.datVladimir Menshakov
svn-id: r43953
2009-09-05added create_teenagent toolVladimir Menshakov
svn-id: r43952
2009-09-04Playtoons - Add workaround in order to ignore hardcoded paths in ↵Arnaud Boutonné
oPlaytoons_checkData. Useful for playtoons sticks found on deutsch Addy4 svn-id: r43951
2009-09-04Some more int16->uint16 changes, to accommodate for Playtoons larger ↵Sven Hesse
variable space svn-id: r43950
2009-09-04Gob/Adi2 - In playtoons and later, there are 50 more sprite pointers Arnaud Boutonné
svn-id: r43949
2009-09-04Add oPlaytoons_getObjAnimSize. It's uncomplete, but it allows to use some ↵Arnaud Boutonné
functionalities of the construction mode svn-id: r43948
2009-09-04TEEN: Made some stuff constMax Horn
svn-id: r43947
2009-09-04TEEN: Some whitespace fixesMax Horn
svn-id: r43946
2009-09-04TEEN:Max Horn
* don't use "using namespace", instead put stuff into its correct namespace * when using #include, always prefix engine header files with the engine name * some cleanup svn-id: r43945
2009-09-04TEEN: Fix header file guards to match our conventionsMax Horn
svn-id: r43944
2009-09-04OopsFilippos Karapetis
svn-id: r43943
2009-09-04- Allow SCI games to set the cursor position when it's hidden once againFilippos Karapetis
- Changed the message shown when the game tries to move the cursor off the screen bounds from a warning to a debug message, to avoid spam in games that do this behavior, e.g. the Camelot demo svn-id: r43942
2009-09-04- Removed the gfx error defines. When resources are not found, or are ↵Filippos Karapetis
corrupted, we should error out instead of piggy-banking an error flag to another function - Do not try and set the position of the mouse cursor when it's hidden svn-id: r43941
2009-09-04SCI: Reset signal before playing song.Walter van Niftrik
svn-id: r43940
2009-09-04Removed the "reverse alpha" flag from the graphics driver code. Alpha values ↵Filippos Karapetis
are now always 0 for transparent, up to 255 for opaque svn-id: r43939
2009-09-04Removed the bilinear and trilinear FreeSCI scalers, and only left the ↵Filippos Karapetis
unfiltered scaler in (to be replaced by ScummVM's scaler code). We really don't need bilinear and trilinear filtered scaling in the engine, as ScummVM's filters already perform bilinear and trilinear filtered scaling, if requested svn-id: r43938
2009-09-04Fixing signed/unsigned comparison warningSven Hesse
svn-id: r43937