Commit Graph
83 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 94e1c56272 HUGO: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
D G Turner 11ef6ef9da HUGO: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-21 00:14:37 +01:00
Thierry Crozat 99abd640c8 HUGO: Fix undefined behaviour in variadic functions
Passing a type that undergoes default argument promotion as last
argument of a variadic function results in undefined behaviour.
2017-10-06 01:01:11 +01:00
Ori Avtalion cba3909dfd HUGO: Reduce header dependencies 2016-04-13 15:23:11 +03:00
Johannes Schickel a331f4aea9 HUGO: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Strangerke 79ecd017e2 HUFO: Fix CID 1002880, 1002881. Use nullptr where possible instead of 0 2013-11-01 14:15:19 +01:00
Strangerke f1817431df HUGO: Fix CID 1063173, 1002888, 1002886 2013-10-31 08:06:14 +01:00
Strangerke e8546a46a0 HUGO: Remove F9 key handling 2012-06-18 21:30:51 +02:00
Strangerke 179427c78f HUGO: Rename pointers 2012-06-13 21:18:37 +02:00
Strangerke 999ae29de4 HUGO: Rename structs and enums 2012-06-13 20:58:01 +02:00
Strangerke 998448128c HUGO: Some more renaming 2012-06-13 11:50:49 +02:00
Strangerke 2e7b16a8bd HUGO: Apply coding convention (in progress) 2012-06-13 11:28:25 +02:00
Christoph Mallon 23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +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 fe41da83ad HUGO: Add boundaries() to the console. God mode no longer shows boundaries, as in the original 2011-05-25 23:39:10 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +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
strangerke de5ec741ff HUGO: Add a black background behind the score line. This should fix bug #3291959. 2011-04-25 00:08:39 +02:00
Max Horn dd88f39bc7 HUGO: Replace Utils::Box by Utils::notifyBox + Common::String::format 2011-03-21 13:16:35 +01:00
strangerke 02e51f9de5 HUGO: Set all the palette instead of only one color in remapPal.
This fixes the palette issue after the cave in H3
2011-02-27 11:10:09 +01:00
strangerke a99b394836 HUGO: Better fix for graphics glitches in DOS versions, fix H3 ending animation 2011-02-27 01:04:49 +01:00
strangerke 756a343cb8 HUGO: Fix graphic glitches in DOS versions 2011-02-26 14:06:30 +01:00
strangerke fbf41fc66a HUGO:
- Increase savegame version, as it has changed due to RGBa->RGB modification
- Fix regression in restorePal()
- Implement load from GMM
2011-02-24 19:59:36 +01:00
strangerke 93f25b73be HUGO/TOOLS: reorder things in HUGO.DAT, move from RGBA to RGB 2011-02-20 11:32:00 +01:00
strangerke bb51d090a8 HUGO: Fix a bug in setCursorPal() introduced by recent palette modifications 2011-02-20 10:39:32 +01:00
Johannes Schickel e21d6e0d11 Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into master
Conflicts:
	backends/platform/android/android.cpp
	engines/sci/graphics/screen.cpp
	engines/sci/graphics/transitions.cpp
2011-02-19 21:46:45 +01:00
strangerke 2ad969bcac HUGO: Remove extra spaces at end of lines 2011-02-18 22:43:38 +01:00
strangerke ec559360ab HUGO: Move several short function bodies from headers to cpp files 2011-02-18 22:24:32 +01:00
strangerke 399b59a583 HUGO: Avoid duplicated code in functions related to HUGO.DAT 2011-02-18 08:11:55 +01:00
Johannes Schickel a02454644a Merge branch 'master' into osystem-palette
Conflicts:
	backends/platform/wii/osystem_gfx.cpp
2011-02-15 23:42:50 +01:00
strangerke 2f0b35bbb5 HUGO: Replace cypher by a global variable, clean engine destructor 2011-02-15 19:30:15 +01:00
strangerke 402ac930fe HUGO: more refactoring and encapsulation 2011-02-15 10:15:21 +01:00
Johannes Schickel c796dbe7c2 HUGO: Adapt to the setPalette RGBA->RGB change.
This is currently done by converting the internal palette from RGBA(?) to RGB
when setPalette / replaceCursorPalette is called.

This change is not tested, since I do not have any Hugo game.
2011-02-14 17:08:32 +01:00
strangerke 97852d473e HUGO: Some more refactoring
Move _hotspots to mouse class and encapsulate it, rename some variables in route class
2011-02-14 08:31:01 +01:00
Arnaud Boutonné c846231af3 HUGO: Replace Common::File by Common::ReadStream in several functions
svn-id: r55897
2011-02-12 16:20:57 +00:00
Arnaud Boutonné 87ab737e6b HUGO: Cleanup: fix style issue in Doxygen comments
svn-id: r55884
2011-02-11 20:27:48 +00:00
Arnaud Boutonné 3c5fb26a91 HUGO: refactoring: move boundaries to object class
svn-id: r55879
2011-02-11 07:12:29 +00:00
Arnaud Boutonné 4917740b44 HUGO: Cleanup : some refactoring and encapsulation (thanks fuzzie for the help)
svn-id: r55831
2011-02-08 20:52:26 +00:00
Max Horn ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Alyssa Milburn 653196640a HUGO: Spelling fix.
svn-id: r55804
2011-02-07 16:39:10 +00:00
Arnaud Boutonné bc77c8534c HUGO: Fix 2 uninitialized variables
svn-id: r55788
2011-02-05 14:07:30 +00:00
Arnaud Boutonné 935b318798 HUGO: Suppress static variables (except one)
This also fixes the multiple-RTL related music bug reported by D. Gray

svn-id: r55758
2011-02-03 18:25:38 +00:00
Arnaud Boutonné 4263549536 HUGO: 'Constify' engine as much as possible
svn-id: r55741
2011-02-02 21:12:51 +00:00
Arnaud Boutonné 98e329bbd1 HUGO: Cleanup drawRectangle() and keyHandler()
svn-id: r55642
2011-01-29 23:05:12 +00:00
Arnaud Boutonné 946bdcd389 HUGO: Display all (clipped) object zones in God Mode
svn-id: r55614
2011-01-29 14:10:47 +00:00
Arnaud Boutonné cfca829e46 HUGO: Add a function to display exit hotspots in God Mode
svn-id: r55599
2011-01-28 19:54:48 +00:00
Arnaud Boutonné dc31f4b3e2 HUGO: Cleanup: Suppress an obsolete warning and a comment
svn-id: r55556
2011-01-26 22:50:36 +00:00
Arnaud Boutonné f7f42fba21 HUGO: Get rid of (almost) all the remaining defines
svn-id: r55485
2011-01-23 22:51:12 +00:00
Arnaud Boutonné 3f6496d5b5 HUGO: Cleanup
Suppress almost all defines, rename constants

svn-id: r55451
2011-01-23 00:05:52 +00:00