Commit Graph
64 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh b458ea47dd PARALLACTION: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Bastien Bouclet e303937592 PARALLACTION: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko b16c5439b0 PARALLACTION: Cleanup object initialization 2016-05-28 15:26:31 +02:00
Johannes Schickel 56a99b1d37 PARALLACTION: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Strangerke b603ea0223 PARALLACTION: Janitorial - Fix spacing errors 2013-11-24 01:40:35 +01:00
Eugene Sandulenko 4decd8c808 PARALLACTION: Initialize class variable. CID 1002715 2013-11-09 13:17:30 +02:00
Alyssa Milburn 41d337c549 PARALLACTION: Clean up global variables a bit. 2012-09-27 22:41:51 +02:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
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-20 00:59:48 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel 71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel 9734c7be64 PARALLACTION: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:30:12 +02:00
Nicola Mettifogo c67bcddf85 Initialize variable in NS gui code (was crashing a demo). Patch #3089932 by fuzzie.
svn-id: r53701
2010-10-22 14:19:37 +00:00
Torbjörn Andersson c91a07229a JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.

svn-id: r52791
2010-09-18 10:55:16 +00:00
Nicola Mettifogo dae53f7d74 Changed the last global objects to class members.
svn-id: r49011
2010-05-12 09:28:29 +00:00
Nicola Mettifogo 498d8000ca Fix bug 2969257 (labels) and hopefully plug all the leaks.
svn-id: r48811
2010-04-27 08:59:13 +00:00
Travis Howell a55cb7fa10 Fix bug #2979193 - NIPPON: Crash at character introduction (regression). By restoring the kEngineBlockInput engine flag.
svn-id: r48464
2010-04-02 12:51:42 +00:00
Nicola Mettifogo 58df840a13 Moved Nippon Safes specific code from Parallaction to Parallaction_ns and adapted client code.
svn-id: r39813
2009-04-03 16:32:47 +00:00
Nicola Mettifogo 8723afd6f4 * Added a generic sound manager that hides engine-specific managers and allows accessing them through a simplified command/parameter interface.
* Updated client code to use the new manager.
* Moved Nippon Safes sound code from sound.cpp to sound_ns.cpp.

svn-id: r39394
2009-03-14 15:09:31 +00:00
Max Horn f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Nicola Mettifogo 3874465bdb Fix for bug #1864270. Music now goes on after the the credits have been displayed in the Amiga demo version of Nippon Safes.
svn-id: r38664
2009-02-21 05:19:35 +00:00
Nicola Mettifogo e98bc7e402 Removed some unused code.
svn-id: r35357
2008-12-14 10:08:31 +00:00
Nicola Mettifogo 5581030972 * removed the obsolete _quit flag
* refactored most cleanup code for locations and game

svn-id: r34939
2008-11-08 14:56:45 +00:00
Nicola Mettifogo e6337d11aa * completed transition to Common::Archive for Nippon Safes.
* removed lots of old Archive swap magic

svn-id: r34931
2008-11-07 15:35:18 +00:00
Nicola Mettifogo 4ab5d3fdc4 Merging more of the GSoC 2008 RTL branch: PARALLACTION
svn-id: r34268
2008-09-02 01:58:55 +00:00
Nicola Mettifogo 4cda7abda1 More cleanup.
svn-id: r34223
2008-08-31 10:24:32 +00:00
Nicola Mettifogo 1fd91e2bb0 Moved save/load code into SaveLoad class.
svn-id: r34220
2008-08-31 06:14:45 +00:00
Nicola Mettifogo 983863bef3 Uniformed the interface of Parallaction class (and its hierarchy) with regards of gui code, which is now independent of engine version.
svn-id: r34219
2008-08-31 05:18:25 +00:00
Nicola Mettifogo 2e9bdfb3b1 Removed global g_system.
svn-id: r34209
2008-08-30 15:49:54 +00:00
Nicola Mettifogo 0a387bca12 Moved mouse cursor loading/handling to Input class.
svn-id: r34206
2008-08-30 10:27:20 +00:00
Nicola Mettifogo 18250a8560 Fixed regression: show mouse and enable input in NS Demo.
svn-id: r34144
2008-08-25 09:35:22 +00:00
Christopher Page c22f9b2358 Fixes for Parallaction loading from launcher
svn-id: r33923
2008-08-16 04:15:11 +00:00
Christopher Page 0725f7ec93 Made changes to keep KYRA and PARA compatible with RTL/GMM
svn-id: r33628
2008-08-05 02:11:00 +00:00
Nicola Mettifogo 884a6b1dfb Converted BRA to work with the new menu approach. It is not yet well plugged-in as in NS, but it suffices for the moment.
svn-id: r33272
2008-07-25 06:35:02 +00:00
Nicola Mettifogo d1a6b175f5 * Merged old input management flags into a single mouse status variable.
* Mouse is now displayed when it is needed, and hidden when it is not ;)

svn-id: r33270
2008-07-25 02:37:55 +00:00
Nicola Mettifogo ba1f91eba8 Fixed leak in new gui code.
svn-id: r33261
2008-07-24 09:42:44 +00:00
Nicola Mettifogo 4936e5f7df * Moved end intro and end game sequences code to gui.
* Rewrote all gui code to be run inside the main loop
* Added code to avoid crashes when a scene with no standard background is drawn

svn-id: r33260
2008-07-24 09:24:32 +00:00
Nicola Mettifogo 53615c9128 Removed the historical waitUntilLeftClick function and adapted code to use the more general readInput and waitForButtonEvent.
svn-id: r33226
2008-07-23 07:52:43 +00:00
Nicola Mettifogo 28e32bb7cb Fix for bug #2001193. Character confirmation screen didn't appear and game crashed because too many strings were added to the draw list.
svn-id: r32762
2008-06-24 13:21:22 +00:00
Nicola Mettifogo 765f976008 * Cleanup of input code.
* Removed old timer routines.

svn-id: r32135
2008-05-15 01:18:26 +00:00
Nicola Mettifogo 40ff1537a9 - Moved input code to its own class.
- Slightly simplified inventory highlight code thanks to changes in input code.

svn-id: r32115
2008-05-14 14:34:01 +00:00
Nicola Mettifogo ccc0f6b92d Slightly simplified Archive selection when loading resources.
svn-id: r30714
2008-01-31 10:38:15 +00:00
Nicola Mettifogo 0e02a9398a Cleanup (step 2). No code outside Gfx reference screen buffers anymore.
svn-id: r30695
2008-01-29 09:37:03 +00:00
Nicola Mettifogo 1a36ba488c Cleanup (step 1).
svn-id: r30689
2008-01-28 20:40:05 +00:00
Nicola Mettifogo 68fc3f1dee Removed usage of kBitFront and kBitBack. Only the old kBit2 buffer is kept to store the background picture.
svn-id: r30687
2008-01-28 19:56:29 +00:00
Nicola Mettifogo 5fb19e226c Oops. Forgot to update this in the last commit.
svn-id: r30683
2008-01-28 17:37:15 +00:00
Nicola Mettifogo a206f6e873 Changed guiSelectCharacter to work with only screen buffer.
svn-id: r30682
2008-01-28 17:36:08 +00:00
Nicola Mettifogo 56eed45317 Move low level background management into Gfx.
svn-id: r30681
2008-01-28 17:28:16 +00:00
Jordi Vilalta Prat d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00