aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/various.cpp
AgeCommit message (Collapse)Author
2017-08-11JANITORIAL: Fix GCC 7 fall through warningEugene Sandulenko
2016-01-07JANITORIAL: Fix clang printf warningsOri Avtalion
2015-12-28CINE: Prevent buffer overruns in scummVMSaveLoadDialog.Johannes Schickel
2015-12-28CINE: Add support for ScummVM save/load menusFilippos Karapetis
2014-03-22CINE: Add a safeguard, split makeCommandLine() per game typeStrangerke
2014-02-18CINE: Make GPL headers consistent in themselves.Johannes Schickel
2013-04-26CINE: Null terminate string. CID 1003886Eugene Sandulenko
2012-09-07CINE: A little bit enforcement of our formatting guidelines.Johannes Schickel
Powered by astyle & manual fixup afterwards.
2012-08-13CINE: Fix system menu sometimes not appearing in OSVincent Hamm
2011-10-09CINE: Remove unused variable 'di'Torbjörn Andersson
As far as I can tell, it converted the selection back to Y coordinate for no apparent reason.
2011-06-30JANITORIAL: Silence a couple of "variable set but not used" warnings.eriktorbjorn
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-02CINE: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2010-08-09CINE: eliminate global variablesEugene Sandulenko
svn-id: r51937
2010-07-16CINE: Get rid of g_saveFileManMax Horn
svn-id: r50944
2010-05-19Implement FR #2841445: FW: Restart doesn't workEugene Sandulenko
svn-id: r49096
2010-05-19Implement FR #2841494: FW: Pause doesn't workEugene Sandulenko
svn-id: r49095
2010-05-09Patch #2987340: GSoC: CINE: Hide cursor when viewing inventoryEugene Sandulenko
svn-id: r48994
2010-04-21CINE: Change Doxygen commands to match our CFCMax Horn
svn-id: r48764
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-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
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
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
2009-06-27Name Operation Stealth's global variables 251 and 252 and init them in main ↵Kari Salminen
loop. These are used as a sort of a backup for the mouse position (x, y) variables 249 and 250. Future Wars's VAR_MOUSE_Y_MODE and Operation Stealth's VAR_MOUSE_X_POS_2ND (251) clash and that's possibly why executePlayerInput currently works incorrectly with Operation Stealth. More reverse engineering is needed... svn-id: r41915
2009-05-11Fix bug #2055836: "FW: Music is not restarted when loading a saved game"Eugene Sandulenko
svn-id: r40465
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-13Started moving Save/Load code to saveload.cpp/.hFilippos Karapetis
svn-id: r35033
2008-11-12Saving and loading from the GMM is now supported in the cine engineFilippos Karapetis
svn-id: r35031
2008-10-06Added new type Engine::Feature; pushed down some #include dependenciesMax Horn
svn-id: r34755