aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
AgeCommit message (Collapse)Author
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-04-28CINE: Get rid of some global constructor usesMax Horn
svn-id: r48843
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-21CINE: Change Doxygen commands to match our CFCMax Horn
svn-id: r48764
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-23Cine: Fix regression in executePlayerInput (Caused slowness when clicking ↵Kari Salminen
when moving). The regression was caused by r47505. svn-id: r48373
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-02-08Get rid of the workaround for a g++ (code generation) bug on AMD64, by ↵Johannes Schickel
passing a reference of a Color instance to saturatedAddColor instead of a value. svn-id: r48006
2010-02-08According to Buddha^ it should be fine to calculate (and set) the AMIGA dim ↵Johannes Schickel
palette in Palette::setGlobalOSystemPalette. svn-id: r48005
2010-01-31Fix return of a reference to a temporary object introduced with r47766. ↵Johannes Schickel
(Hopefully this "workaround" will work also for Chrilith's compiler ;-). svn-id: r47771
2010-01-31Slight fixes to comply with our coding guidelines.Johannes Schickel
svn-id: r47770
2010-01-31Prevent my compiler to crash and object copy hopefully it doesn't break ↵Chris Apers
something svn-id: r47766
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Hopefully fix highlight background color in PC versions of CinE games.Johannes Schickel
svn-id: r47556
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-24Cine: executePlayerInput: Operation Stealth: Fix target object name not ↵Kari Salminen
disappearing when passing over an empty area with a verb already chosen. svn-id: r47519
2010-01-24Cine: executePlayerInput: Fix broken Y-movement in Operation Stealth (D'oh! ↵Kari Salminen
Copy-pasted X to where Y was meant :-P). - Hopefully NOW things should work without r33872! svn-id: r47518
2010-01-24Cine: executePlayerInput: Add TODO about investigating why some buttons ↵Kari Salminen
don't work currently. svn-id: r47517
2010-01-24Cine: executePlayerInput: Revert r33872 as things should work without it now.Kari Salminen
With the latest changes to executePlayerInput we should now be able to free the girl at the bottom of the ocean without the r33872. The commit log from r33872 was: "Fix for bugging moving at the bottom of the ocean when trying to free the girl from the ropes and swimming to the surface. Some global variables related to mouse position weren't being updated in executePlayerInput, now they are and things seem to work. Also enables moving in the labyrinth arcade sequence at the palace." svn-id: r47516
2010-01-24Cine: executePlayerInput: Add makeActionMenu-part to keyboard handling and a ↵Kari Salminen
couple of TODOs for Operation Stealth. - NOTE: This doesn't seem to work correctly yet. My current guess is that it has to do with how some keyboard events are handled in cine/main_loop.cpp's processEvent-function and some in cine/various.cpp's executePlayerInput. svn-id: r47515
2010-01-24Cine: executePlayerInput: Implement moving using keyboard for Operation Stealth.Kari Salminen
svn-id: r47513
2010-01-24Cine: executePlayerInput: Implement 'A player command is given, left mouse ↵Kari Salminen
button is down, right mouse button is up'-case for Operation Stealth. - Also changed a do-while -loop into a while-loop as it should be for both FW and OS according to disassembly. svn-id: r47512
2010-01-24Cine: executePlayerInput: Fix 'No player command is given, left mouse button ↵Kari Salminen
is down, right mouse button is up'-case for Operation Stealth. svn-id: r47510
2010-01-24Cine: executePlayerInput: Fix 'left and right mouse buttons are up'-case for ↵Kari Salminen
Operation Stealth. svn-id: r47509
2010-01-24Cine: executePlayerInput: Combine 'left mouse button is up, right mouse ↵Kari Salminen
button is down'-cases into one code part. Additionally: - Operation Stealth specific: Make makeActionMenu() use canUseOnItemTable. This would seem to be the correct way according to disassembly (Although there is of course a possibility that I have overlooked some part of the code). svn-id: r47508
2010-01-24Cine: executePlayerInput: Name used keys in switch-clause (F1-F10, Ins, Del).Kari Salminen
svn-id: r47507
2010-01-24Cine: executePlayerInput: Combine mouse handling plus a few other things.Kari Salminen
- Combines mouse position and button state fetching from two branches (allowPlayerInput / !allowPlayerInput) into a single loop with a little more exotic while-clause. NOTE! Added manageEvents-call into the unified version although there was no manageEvents-call in one of the versions that was combined. Tested a little and didn't seem to matter, but hopefully won't cause any regressions! - Limit first possible 'renderer->setCommand(commandBuffer)' call to Future Wars only (Checked with FW & OS disassembly). - Combined all cases of 'left and right mouse buttons are down' into a single if-clause (All those cases call makeSystemMenu). svn-id: r47505
2010-01-24Cine: Document branches in executePlayerInput and remove dead code ↵Kari Salminen
(if-clauses that are always true or always false). svn-id: r47503
2010-01-24Cine: Cleanup (Use an enumeration for mouse button states rather than values ↵Kari Salminen
1 and 2). svn-id: r47502
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-19Convert more engines from Mixer::playRaw to Mixer::playInputStreamMax Horn
svn-id: r47377
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-07The default keycolor for mouse pointers used to be 255.Marcus Comstedt
This makes sense as a default for CLUT8 modes, but not really for anything else. As part of the gsoc2009-16bit merge, the default was changed to "all ones", with extra code in the SDL backend to truncate this to the depth of the mode. However, "all ones" (white) still isn't a very useful default for RGB modes. So rather than jumping through hoops to provide a bad default, it's better to remove the default altogether. Engines which relied on the old default of 255 have been updated to specify it explicitly. svn-id: r47118
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-12-01Fill out doxygen comment about supported gamesEugene Sandulenko
svn-id: r46235
2009-11-24Added Doxygen comments for the various engine namespaces (currently mostly ↵Max Horn
without details; help filling these out is welcome) svn-id: r46128
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-24Change "=" to ":=" in some module.mk files for consistency.Johannes Schickel
svn-id: r45364
2009-10-09Fix warnings about non-static const member in class without a constructorMax Horn
svn-id: r44848
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
2009-09-22Clear menu stack in FWRenderer deconstructor.Johannes Schickel
svn-id: r44264
2009-09-22Implement menu stack to support all menu color effects, specific to the ↵Johannes Schickel
Amiga version of the game. svn-id: r44263
2009-09-21Changed AMIGA menu code to closer match the original. (The menu item ↵Johannes Schickel
highlight selection is still wrong though.) svn-id: r44231
2009-09-21Add more shouldQuit checks in event loops.Johannes Schickel
svn-id: r44230