Commit Graph
134 Commits
Author SHA1 Message Date
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
Sven Hesse 989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Strangerke d7a4a12b67 HUGO: Initialize variables in Hugo engine constructor. CID 1002886 2013-04-19 00:21:37 +02:00
Strangerke 53ee7f52a9 HUGO: Remove dead code 2012-06-18 21:23:39 +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 fbc2c6d08a HUGO: More renaming 2012-06-13 17:44:09 +02:00
Strangerke 2e7b16a8bd HUGO: Apply coding convention (in progress) 2012-06-13 11:28:25 +02:00
Willem Jan Palenstijn d21402ef3c HUGO: Fix incorrect usage of sizeof
Thanks to salty-horse for the report. The new sizes are
the ones that were replaced by sizeof in 399b59a583.
2011-06-25 21:35:17 +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
Max Horn 477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +02:00
strangerke 6098506a42 HUGO: Fix comments 2011-05-25 23:58:46 +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
Matthew Hoops 9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04:00
Max Horn 4cbe4ede66 COMMON: Registers RandomSources in constructor with the event recorder
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +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 6959ee22e4 HUGO: Fix bug #3292400 : Overlapping help windows when using the menu bar 2011-04-25 14:28:19 +02:00
strangerke 4f708b0212 HUGO: Hopefully fix the valgrind error reported by Digitall in bug #3292391 2011-04-24 22:29:27 +02:00
strangerke 882c042a73 HUGO: - BSF file is no longer mandatory for H2 and H3 Dos.
- Replace error by a notifyBox in BSF related functions
- Fix cypher (broken in previous commit)
- Add checks on distributor in intro
2011-03-29 23:54:47 +02:00
Max Horn dd88f39bc7 HUGO: Replace Utils::Box by Utils::notifyBox + Common::String::format 2011-03-21 13:16:35 +01:00
dhewg dfa5f743de HUGO: Init volume levels on startup 2011-03-19 16:04:53 +01:00
strangerke 9fb28410b5 HUGO: Misc savegame modifications
- Add initial savegame on slot 0
- Save viewstate as it may now contain several different values when saving
- Fix loading from GMM
- Implement ctrl-N
2011-03-08 00:21:02 +01:00
strangerke 29b5b4afa6 HUGO: Fix registration messages for H1 Dos Freeware version (in intro) 2011-03-07 19:40:20 +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 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 c9223b9b9b HUGO: Some more refactoring 2011-02-20 10:37:41 +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
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
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
strangerke 1036979de3 HUGO: Fix a bug in engine destructor 2011-02-12 19:29:56 +01:00
strangerke c04682b3ae HUGO: Start to simplify hugo.dat loading 2011-02-12 19:01:46 +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é 69d907151b HUGO: Cleanup based on Fingolfin comments
svn-id: r55887
2011-02-12 08:13:35 +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 2d1c8a3533 ALL: Fix whitespaces / indention
svn-id: r55818
2011-02-07 23:01:06 +00:00
Max Horn 41121be4d6 GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTarget
This avoids hiding an overloaded virtual method, which in turn can
cause weird bugs (see also the next commit).

svn-id: r55815
2011-02-07 22:58:22 +00:00
Arnaud Boutonné e990453a4d HUGO: Fix leak (thanks digitall)
svn-id: r55789
2011-02-05 14:45:36 +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é 088b5f7743 HUGO: Use a separate thread for honker player and fix ticks per seconds
This fixes the speaker music stopped by message boxes, and the speaker music itself.

svn-id: r55700
2011-02-01 00:08:12 +00:00
Arnaud Boutonné 1799c4f045 Hugo: Some cleanup
svn-id: r55690
2011-01-31 18:22:20 +00:00
Arnaud Boutonné a07d37d3a5 HUGO:
- Replace several char* by Common::String
- Fix a bug in showDosInventory()

svn-id: r55669
2011-01-30 23:08:05 +00:00