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
Arnaud Boutonné
98e329bbd1
HUGO: Cleanup drawRectangle() and keyHandler()
...
svn-id: r55642
2011-01-29 23:05:12 +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é
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é
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é
3f6496d5b5
HUGO: Cleanup
...
Suppress almost all defines, rename constants
svn-id: r55451
2011-01-23 00:05:52 +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é
801561e6bc
HUGO: Clean up
...
- Suppress some obsolete comments
- Get rid of some magic numbers
svn-id: r55307
2011-01-18 18:26:33 +00:00
Arnaud Boutonné
4413754ad2
HUGO: Improve mouse support in H3 DOS version
...
- Fix description of Penelope lying (when using mouse)
- Use H3 Win logic in order to handle horizon
- Add a workaround for a data bug in scenery1.dat, fixing the
pathfinding bug in Crash screen
svn-id: r55292
2011-01-18 09:16:52 +00:00
Arnaud Boutonné
01e43fa8dc
HUGO: intros are now skippable
...
svn-id: r55192
2011-01-09 22:42:56 +00:00
Arnaud Boutonné
2665194e6f
HUGO: Merge inventory object and mouse cursor when selected
...
- Merge inventory object and mouse cursor into a new mouse cursor (looks better)
- Use 16 color mouse pointer
- Clean-up
svn-id: r55167
2011-01-08 16:56:52 +00:00
Arnaud Boutonné
868717b444
TOOLS: Add Dos intro music number in hugo.dat
...
svn-id: r55145
2011-01-07 15:14:38 +00:00
Arnaud Boutonné
46e5149269
HUGO: Implement DOS player
...
svn-id: r55132
2011-01-06 14:06:04 +00:00
Arnaud Boutonné
9ee74fee8a
HUGO: Implement menu commands
...
Also did some cleanup, and had to comment out
handleMouseUp() as it's currently not working really well
svn-id: r55114
2011-01-04 08:36:03 +00:00
Arnaud Boutonné
42a41ebd85
HUGO: Load bitmaps from hugo.dat
...
- set menu bitmaps to 'on' buttons by default
- rename menu entries to match a bit better the original
svn-id: r55103
2011-01-03 16:19:00 +00:00
Eugene Sandulenko
30b40c4745
HUGO: Stub for the top menu
...
svn-id: r55100
2011-01-03 12:38:13 +00:00
Arnaud Boutonné
eeaeab93e8
HUGO: Fix 2 bugs that were causing several crashes using the mouse
...
svn-id: r55097
2011-01-02 21:32:56 +00:00
Arnaud Boutonné
5d6771e3df
HUGO: Midi are no longer looping. Add handling to default playlist
...
svn-id: r55084
2011-01-01 10:51:57 +00:00
Arnaud Boutonné
473ddccf50
HUGO: Reduce CPU usage by adding a delay in the main loop
...
svn-id: r55083
2011-01-01 10:13:42 +00:00
Arnaud Boutonné
18d3e58825
HUGO: Suppress some obsolete volume related variables
...
svn-id: r55019
2010-12-22 22:56:42 +00:00
Arnaud Boutonné
6d30449d5a
HUGO: Implement syncSoundSettings()
...
svn-id: r55018
2010-12-22 22:25:52 +00:00
Henry Bush
e20c902812
HUGO: Add music debug level, some cleanup when opening driver
...
svn-id: r54999
2010-12-22 09:09:38 +00:00
Arnaud Boutonné
184d56df0a
HUGO: Improve keyboard handling
...
- Handle keypad
- Fix 'QWERTY' only issue
- Suppress useless variable and parameter
svn-id: r54977
2010-12-20 17:25:58 +00:00
Arnaud Boutonné
76eb9d7f64
HUGO: Clean-up, move MidiPlayer class definition to .h file
...
svn-id: r54923
2010-12-15 20:37:09 +00:00
Arnaud Boutonné
a90fdce46d
HUGO: Add splash screen in H2 and H3 Win
...
svn-id: r54902
2010-12-13 21:08:52 +00:00
Arnaud Boutonné
c428cfbb85
HUGO: Fix "mouse" bug in H3 Dos, TPS tuning
...
- Fix "mouse" bug in H3 DOS. Game is still not completable
- Use variable normal TPS, as it was slightly different in
some DOS versions
svn-id: r54880
2010-12-12 07:40:00 +00:00
Arnaud Boutonné
e6366d4972
HUGO: Fix bug in HUGO.DAT loading
...
svn-id: r54852
2010-12-10 07:03:24 +00:00
Arnaud Boutonné
efc5ab5398
HUGO: Fix an episode name and several picture directories
...
svn-id: r54834
2010-12-08 20:51:44 +00:00
David Turner
8ca0b867e0
HUGO: Fixed Valgrind Errors and Segfault when hugo.dat is missing.
...
svn-id: r54804
2010-12-06 23:15:25 +00:00
David Turner
d3719a8192
HUGO: Partial Fix For Leaks from ReadPCX()
...
The shutdown() call has been reinstated, and freeObjects() now works without a double free and thus segfault, but this still misses some allocated resources...
svn-id: r54789
2010-12-05 22:02:04 +00:00
David Turner
349ebe94f1
HUGO: Add Missing shutdown() Call - Currently Disabled.
...
The engine shutdown() function is required to be called to clean up a number of allocated memory blocks. Unfortunately, this currently causes double free issues. This call is added, but commented out with a FIXME explaining this.
svn-id: r54726
2010-12-01 23:15:28 +00:00
Arnaud Boutonné
85d42c405d
HUGO: Use cursorman, add a windows-looking cursor
...
Cursor copied from Mohawk engine, thanks clone2727
svn-id: r54717
2010-12-01 20:11:24 +00:00
David Turner
27a3173d93
HUGO: Close Two Memory Leaks.
...
Note that the first leak is the allocation of the Common::RandomSource, _rnd. I'm not sure of the effect of deallocating this while it is still registered to g_eventRec, but all other engines seem to be the same (or implicitly do this by making a Common::RandomSource member of the engine object) so this is not a engine specific issue, but should be assessed.
svn-id: r54659
2010-11-30 00:01:54 +00:00
Arnaud Boutonné
45f55128b1
HUGO: Add GMM save/load and RTL
...
svn-id: r54576
2010-11-29 17:42:08 +00:00
Arnaud Boutonné
bab5aa433b
HUGO: Get rid of initial savegame
...
svn-id: r54503
2010-11-26 23:17:16 +00:00
Arnaud Boutonné
8bb43361cb
HUGO: Suppress useless enums, cleanup
...
svn-id: r54421
2010-11-22 19:50:57 +00:00
David Turner
6c78ca4876
HUGO: Close two minor memory leaks.
...
Destructor added to SoundHandler and added delete for _intro in engine destructor.
svn-id: r54225
2010-11-13 08:08:58 +00:00
Arnaud Boutonné
fd82c3783d
TOOL+HUGO: Misc modifications
...
- Fix H1 Dos bug (animations not showing in Hall and after)
- Get rid of _textSchedule and everything related
H1 Dos shoud now be completable (not tested yet)
svn-id: r54218
2010-11-12 18:05:23 +00:00