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
Arnaud Boutonné
a0199df818
HUGO: Cleanup, move several functions and variables to the object class
...
svn-id: r54212
2010-11-11 23:04:04 +00:00
Arnaud Boutonné
b0bf67b424
TOOL: Suppress useless strings in textUtil
...
Also add DOS version for this text array
svn-id: r54202
2010-11-11 15:01:57 +00:00
Arnaud Boutonné
95a58b2471
HUGO: Fix the last leaks in H1 Dos
...
Thanks Hkz for the help!
svn-id: r54175
2010-11-09 23:31:08 +00:00
Arnaud Boutonné
d002800b52
HUGO: Fix several memory leaks
...
svn-id: r54168
2010-11-09 20:26:12 +00:00
Arnaud Boutonné
74d0ad8371
HUGO: Use DOS names for and exact names in endGame()
...
svn-id: r54131
2010-11-07 22:10:29 +00:00
Arnaud Boutonné
86d005e4a3
HUGO: Fix crash when hugo.dat is not the expected version
...
svn-id: r54124
2010-11-07 18:52:47 +00:00
David Turner
1cbab9885b
HUGO: Added basic debugging console to engine
...
Since HUGO uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands.
svn-id: r54117
2010-11-07 15:04:47 +00:00
Arnaud Boutonné
a4cd83061e
HUGO: Move fonts to display.cpp
...
Some cleanup
svn-id: r54103
2010-11-07 00:02:48 +00:00
Arnaud Boutonné
f5d2695800
HUGO: Move _palette to display.cpp
...
svn-id: r54102
2010-11-06 13:21:18 +00:00
Arnaud Boutonné
913afa041a
HUGO: Suppress status variables related to playback
...
svn-id: r54086
2010-11-05 08:14:12 +00:00
Arnaud Boutonné
4246afcb0e
HUGO: Fix 'exit' command in DOS versions
...
svn-id: r54054
2010-11-03 23:56:34 +00:00
Arnaud Boutonné
e0fec60874
HUGO: Convert class member comments to Doxygen format
...
svn-id: r54018
2010-11-01 20:20:21 +00:00
Arnaud Boutonné
4c6eb76d79
HUGO: Make some scheduler functions and variables protected
...
svn-id: r53999
2010-11-01 15:29:06 +00:00
Arnaud Boutonné
e48cdb378c
HUGO: Move _actListArr to scheduler
...
svn-id: r53995
2010-11-01 00:27:11 +00:00
Arnaud Boutonné
f757d489a0
HUGO: Suppress Playback code
...
Also change 3 variable types in order to match types used
in create_hugo
svn-id: r53987
2010-10-31 21:20:22 +00:00
Arnaud Boutonné
6c702094a8
HUGO: Free some more memory before exiting
...
- suppress two useless variables
- initialize some variables
svn-id: r53956
2010-10-30 20:48:54 +00:00
Arnaud Boutonné
724a702fdf
HUGO: Free memory on exit
...
svn-id: r53945
2010-10-30 16:04:43 +00:00
Arnaud Boutonné
b42faf72e8
HUGO: Add specific versions of doAction() for Dos versions
...
svn-id: r53831
2010-10-25 19:59:32 +00:00