aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/items.cpp
AgeCommit message (Collapse)Author
2006-09-17- removes the kyra specific language flag system, and uses the language enum ↵Johannes Schickel
defined in Common for that now - also reworks the game flag system in general svn-id: r23920
2006-05-08Replaced a bunch of delay loops with a new delayUntil() function. Now all ofTorbjörn Andersson
them will at least sleep if the remaining delay is at least 10 ms. (Personally, I don't like the idea of busy-waiting even 9 ms, but now that it's in its own function, it becomes much easier if we want to change that behaviour. There are still plenty of custom delay loops left, though.) svn-id: r22393
2006-05-08As LordHoto pointed out, placeItem is already initialised to false, so we onlyTorbjörn Andersson
need to set it to true. svn-id: r22391
2006-05-08Small cleanup. It's not that I mind fallthroughs - as long as they are clearlyTorbjörn Andersson
labelled as being intentional - but to save just one line of code? That hardly seems worth it. svn-id: r22390
2006-05-08Cleanup: Use ScummVM indentation style for switch() cases. In some cases, ITorbjörn Andersson
have added or removed "break"s, but not in any way which should change the program's behaviour. I.e. I've added "break" to the final case, and after calling quitGame(), and I've removed "break" after "return". svn-id: r22383
2006-02-14Made the kyra debug extensions more generic, i.e. scumm engine could replaceJohannes Schickel
their debugC calls now with the new introduced debugC calls. (A mail how to use it will follow shortly on -devel) Also now these special engine debug flags can be specified from the commandline. Also made the -c & --config parameter check more secure. svn-id: r20695
2006-02-14Reworked kyra debug output system. Now he have special kyra intern debug ↵Johannes Schickel
levels + the global debug levels, for now I enable all kyra debug levels if the global debug level is not -1. see 'toggle_debug' in the kyra debugger and kyra.h for the different levels. (This is just the beginning of it anyway, for example the sound debug level isn't used for now) svn-id: r20678
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582