Commit Graph

260 Commits

Author SHA1 Message Date
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é
4ad7f20b77 HUGO: little optimization in decodeString(), cleanup
svn-id: r55894
2011-02-12 14:37:59 +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é
fffb8f5617 HUGO: Fix warning "virtual function override intended?" reported by LordHoto (thanks for the explanation)
svn-id: r55881
2011-02-11 07:42:35 +00:00
Arnaud Boutonné
7bca1f136c HUGO: Fix regression in H3: game exits at the end of the intro
svn-id: r55880
2011-02-11 07:24:42 +00:00
Arnaud Boutonné
3c5fb26a91 HUGO: refactoring: move boundaries to object class
svn-id: r55879
2011-02-11 07:12:29 +00:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +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
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é
e990453a4d HUGO: Fix leak (thanks digitall)
svn-id: r55789
2011-02-05 14:45:36 +00:00
Arnaud Boutonné
bc77c8534c HUGO: Fix 2 uninitialized variables
svn-id: r55788
2011-02-05 14:07:30 +00:00
Arnaud Boutonné
118ee375db HUGO: Increase the height of window view
This fixes a bug related to hotspots in H3 Win reported by D. Gray (in witch hut)

svn-id: r55775
2011-02-04 21:51:10 +00:00
Arnaud Boutonné
6a93178341 HUGO: Fix menu icon order (bug reported by D. Gray)
svn-id: r55774
2011-02-04 19:24:34 +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é
31fc032c27 HUGO: in the menu, show modified button before closing the menu, with a short delay.
Thanks _sev for the help!

svn-id: r55710
2011-02-01 20:45:22 +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é
785f1776c4 HUGO: Fix warning reported by GCC
svn-id: r55670
2011-01-30 23:19:30 +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
Arnaud Boutonné
aba8451744 HUGO: Fix a crash in maze and a bug in lineHandler()
svn-id: r55651
2011-01-30 07:53:44 +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
Filippos Karapetis
b25a5d1862 HUGO: Fixed crash when an incorrect hugo.dat file is found
svn-id: r55572
2011-01-27 20:42:19 +00:00
Arnaud Boutonné
fb8b4e1016 HUGO: Handle mouse 'UP' events instead of 'DOWN'.
This fixes the multiple clicks on object + message reported by D.Gray

svn-id: r55569
2011-01-27 18:43:02 +00:00
Arnaud Boutonné
b7a8444992 HUGO: As requested by D. Gray, use 'exit' (DOS) command in Win versions
svn-id: r55557
2011-01-26 23:18:26 +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é
b0def10892 HUGO: Ensure savegames are not impacted by unexpected ANULL actions, by replacing delEventType() and delQueue() in H1 Dos
svn-id: r55555
2011-01-26 20:03:12 +00:00
Sylvain Dupont
177b656edf HUGO: Fix some save/restore issues
Invalidates current savegames! (now version 3)

svn-id: r55540
2011-01-26 00:21:54 +00:00
Arnaud Boutonné
2846ce14f3 HUGO: Move text arrays to a separate class
svn-id: r55507
2011-01-25 00:32:48 +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é
caab214260 HUGO: Fix on more GCC warning
svn-id: r55454
2011-01-23 00:29:08 +00:00
Arnaud Boutonné
7f4e1bde1e HUGO: Fix several warnings
svn-id: r55453
2011-01-23 00:19:40 +00:00
Arnaud Boutonné
93409aa381 HUGO: Fix GCC compilation
svn-id: r55452
2011-01-23 00:08:47 +00:00
Arnaud Boutonné
3f6496d5b5 HUGO: Cleanup
Suppress almost all defines, rename constants

svn-id: r55451
2011-01-23 00:05:52 +00:00
Arnaud Boutonné
a321f2a007 HUGO: Merge misc versions of display, intro and scheduler classes
svn-id: r55365
2011-01-20 22:50:50 +00:00
David Turner
5a7e25a3a6 HUGO: Close Memory Leak in TopMenu Surfaces.
svn-id: r55363
2011-01-20 22:31:05 +00:00
Arnaud Boutonné
30a94d2af6 HUGO: Cleanup: Remove some C-style comments
svn-id: r55360
2011-01-20 19:33:31 +00:00
Arnaud Boutonné
878bedf454 HUGO: Move mouseHander() out of runMachine()
svn-id: r55332
2011-01-19 18:02:53 +00:00
Arnaud Boutonné
9058b6a88b HUGO: Add specific decodeString() for H1 Dos
This fixes act3 logic. 
Also move some functions from public to protected.

svn-id: r55325
2011-01-19 14:45:18 +00:00
Arnaud Boutonné
3ba7a21c62 HUGO: Merge the 2 versions of doAction, cleanup
svn-id: r55318
2011-01-19 00:49:49 +00:00
Arnaud Boutonné
6a586881af HUGO: Rename objNumb to objIndex when used as an index
svn-id: r55316
2011-01-18 21:32:18 +00:00