aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb
AgeCommit message (Collapse)Author
2012-03-04DREAMWEB: Clean up the palette brightness codeFilippos Karapetis
2012-03-03DREAMWEB: Simplify some uses of randomNumber()Torbjörn Andersson
Our random number generator isn't restricted to producing numbers between 0 and 255. We can just ask it for the desired range.
2012-03-03DREAMWEB: The rain processing has its own cpp fileBertrand Augereau
2012-02-24DREAMWEB: Remove uneeded Common::String construction.D G Turner
2012-02-24DREAMWEB: Migrate remaining minor functions to using datafile prefix variable.D G Turner
Currently, the usages associated with savegames have been omitted. These will probably need a different prefix constant as it is likely foreign variants still use "DREAMWEB.*" for savegames, while using a different prefix for the datafiles. We may even migrate away from this naming convention as this causes savegame collisions when multiple language variants are present, which could cause issues. The usages in the Room members of the constant g_roomData structure have also been omitted, as the members are copied into the savegame format, thus replacing these and fixing other accesses is not trivial.
2012-02-24DREAMWEB: Migrate loadTextFile() to using datafile prefix variable.D G Turner
2012-02-24DREAMWEB: Migrate loadGraphicsFile() to using datafile prefix variable.D G Turner
2012-02-24DREAMWEB: Migrate loadSounds() to using datafile prefix variable.D G Turner
2012-02-24DREAMWEB: Migrate loadTempText() to using datafile prefix variable.D G Turner
2012-02-24DREAMWEB: Add datafile name prefix to engine and modify showPCX() to it.D G Turner
This new variable removes the need for duplicates strings of the form "DREAMWEB.*" spread throughout the dreamweb engine, replacing them with a common const string on the engine holding the datafile name prefix. This will reduce binary size and it should also simplify adding support for foreign language variants, where the datafile name prefix is changed. To demostrate usage and prove this, showPCX() is migrated to using this.
2012-02-23Merge pull request #189 from fingolfin/cleanupEugene Sandulenko
ALL: Cleanup
2012-02-23DREAMWEB: Dynamically allocate GraphicsFile::_frames.Alyssa Milburn
This avoids extra memory usage due to the previous commit.
2012-02-23DREAMWEB: Remove shared temp graphics variables.Alyssa Milburn
Instead, have a different variable for each use.
2012-02-22DREAMWEB: Avoid including advancedDetector.h from dreamweb.hMax Horn
2012-02-18DREAMWEB: Revert "Fix the detection entries for the French and Spanish CD ↵Willem Jan Palenstijn
versions" This reverts commit 0ff60284ce6e876ac895a13a45657afacddbd8e0. We do not want to encourage people to rename all files in their games. Instead, we should properly support the foreign versions.
2012-02-18DREAMWEB: Fix the detection entries for the French and Spanish CD versionsFilippos Karapetis
2012-02-16DREAMWEB: Document some locationsMax Horn
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-12DREAMWEB: Improve subtitle durations in madman sceneWillem Jan Palenstijn
2012-02-12DREAMWEB: Fix missing subtitle lines in speech+subtitle modeWillem Jan Palenstijn
This is done by adding a (very ugly) way to force the previous timed-temp line off screen, so the next one can be shown.
2012-02-12DREAMWEB: Fix duplicate line in monk end sequenceWillem Jan Palenstijn
2012-02-08DREAMWEB: Remove uneeded duplicate function "printUnderMon".D G Turner
2012-01-12DREAMWEB: Rewrite a comment, since the old one could be misreadTorbjörn Andersson
I read it as "this is how the original code expects save slots to be initialized", but I guess it could be read as "the original engine had 21 save slots". Which it didn't.
2012-01-11DREAMWEB: Change selectSaveLoadPage()'s command type to be uniqueTorbjörn Andersson
At Filippos's and wjp's suggestion. I don't really understand what it does (other than printing the mouse over text), so I had simply copied and pasted from another function.
2012-01-08DREAMWEB: Extend the number of saveslots from 7 to 21 in the originalTorbjörn Andersson
save/load dialogs.
2011-12-29DREAMWEB: Minor clean upWillem Jan Palenstijn
2011-12-29DREAMWEB: Allow quit during endingWillem Jan Palenstijn
2011-12-29DREAMWEB: Correct monitor header message alignment in floppy versions.D G Turner
2011-12-29DREAMWEB: Simplify finalization call in dreamweb main function.D G Turner
Thanks to Fingolfin for the suggestion.
2011-12-28DREAMWEB: Minor clean up and removal of goto usage in dreamweb().D G Turner
2011-12-29DREAMWEB: Minor cleanupMax Horn
2011-12-28DREAMWEB: Remove unnecessary DreamWebEngine:: usesMax Horn
2011-12-28DREAMWEB: Use ObjectType enums in more placesMax Horn
2011-12-28DREAMWEB: Added commandOnlyCond() methodMax Horn
2011-12-28DREAMWEB: Mark some member vars as only being used in keypad.cpp; cleanupMax Horn
2011-12-28DREAMWEB: Fix crash when loading a room without reelsWillem Jan Palenstijn
2011-12-28DREAMWEB: Remove global file handleMax Horn
2011-12-28DREAMWEB: Clean up checkCoordsWillem Jan Palenstijn
2011-12-28DREAMWEB: Move more methods to keypad.cpp, reorder them to match ASMMax Horn
2011-12-28Merge pull request #154 from fingolfin/dreamweb-cleanupFilippos Karapetis
Dreamweb: Mark structs packed, minor tweaks
2011-12-28DREAMWEB: Changed hasSpeech() to also take account of the audio settingsFilippos Karapetis
This fixes an assert in the madman sequence
2011-12-28DREAMWEB: Allow skipping the mad man sequence with the ESC keyFilippos Karapetis
2011-12-28DREAMWEB: Replaced most isCD calls with calls checking for speechFilippos Karapetis
This is quite useful for devices with limited storage, where the user can use the CD version without its speech files
2011-12-28DREAMWEB: Clean up some constantsWillem Jan Palenstijn
2011-12-28DREAMWEB: Add 'packed' attribute to structs that need itMax Horn
... and probably also to some that don't need it; since it seems better to err on the wrong side here for now, I did not check every struct as to whether it really needs this. On the long run, it would be better if the code did not rely on any kind of packing anyway.
2011-12-28DREAMWEB: CleanupMax Horn
2011-12-28DREAMWEB: Rename a member of SetObject & DynObject to objIdMax Horn
SetObject::name and DynObject::id are stored at the exact same offset, and have the exact same meaning (see also objectMatches()). Now they also have the same name, objId.
2011-12-28DREAMWEB: Rename getEitherAdCPP to getEitherAd, use obj type enumsMax Horn
2011-12-28DREAMWEB: Remove unused Sprite fieldsWillem Jan Palenstijn
2011-12-28DREAMWEB: Clean up Sprite::_updateCallbackWillem Jan Palenstijn