aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/hugo.cpp
AgeCommit message (Collapse)Author
2011-02-08HUGO: Cleanup : some refactoring and encapsulation (thanks fuzzie for the help)Arnaud Boutonné
svn-id: r55831
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-07GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTargetMax Horn
This avoids hiding an overloaded virtual method, which in turn can cause weird bugs (see also the next commit). svn-id: r55815
2011-02-05HUGO: Fix leak (thanks digitall)Arnaud Boutonné
svn-id: r55789
2011-02-03HUGO: Suppress static variables (except one)Arnaud Boutonné
This also fixes the multiple-RTL related music bug reported by D. Gray svn-id: r55758
2011-02-02HUGO: 'Constify' engine as much as possibleArnaud Boutonné
svn-id: r55741
2011-02-01HUGO: Use a separate thread for honker player and fix ticks per secondsArnaud Boutonné
This fixes the speaker music stopped by message boxes, and the speaker music itself. svn-id: r55700
2011-01-31Hugo: Some cleanupArnaud Boutonné
svn-id: r55690
2011-01-30HUGO: Arnaud Boutonné
- Replace several char* by Common::String - Fix a bug in showDosInventory() svn-id: r55669
2011-01-29HUGO: Cleanup drawRectangle() and keyHandler()Arnaud Boutonné
svn-id: r55642
2011-01-28HUGO: Add a function to display exit hotspots in God ModeArnaud Boutonné
svn-id: r55599
2011-01-27HUGO: Handle mouse 'UP' events instead of 'DOWN'. Arnaud Boutonné
This fixes the multiple clicks on object + message reported by D.Gray svn-id: r55569
2011-01-25HUGO: Move text arrays to a separate classArnaud Boutonné
svn-id: r55507
2011-01-23HUGO: Get rid of (almost) all the remaining definesArnaud Boutonné
svn-id: r55485
2011-01-23HUGO: CleanupArnaud Boutonné
Suppress almost all defines, rename constants svn-id: r55451
2011-01-20HUGO: Cleanup: Remove some C-style commentsArnaud Boutonné
svn-id: r55360
2011-01-19HUGO: Move mouseHander() out of runMachine()Arnaud Boutonné
svn-id: r55332
2011-01-18HUGO: Clean upArnaud Boutonné
- Suppress some obsolete comments - Get rid of some magic numbers svn-id: r55307
2011-01-18HUGO: Improve mouse support in H3 DOS versionArnaud Boutonné
- 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-09HUGO: intros are now skippableArnaud Boutonné
svn-id: r55192
2011-01-08HUGO: Merge inventory object and mouse cursor when selectedArnaud Boutonné
- 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-07TOOLS: Add Dos intro music number in hugo.datArnaud Boutonné
svn-id: r55145
2011-01-06HUGO: Implement DOS playerArnaud Boutonné
svn-id: r55132
2011-01-04HUGO: Implement menu commandsArnaud Boutonné
Also did some cleanup, and had to comment out handleMouseUp() as it's currently not working really well svn-id: r55114
2011-01-03HUGO: Load bitmaps from hugo.datArnaud Boutonné
- set menu bitmaps to 'on' buttons by default - rename menu entries to match a bit better the original svn-id: r55103
2011-01-03HUGO: Stub for the top menuEugene Sandulenko
svn-id: r55100
2011-01-02HUGO: Fix 2 bugs that were causing several crashes using the mouseArnaud Boutonné
svn-id: r55097
2011-01-01HUGO: Midi are no longer looping. Add handling to default playlistArnaud Boutonné
svn-id: r55084
2011-01-01HUGO: Reduce CPU usage by adding a delay in the main loopArnaud Boutonné
svn-id: r55083
2010-12-22HUGO: Suppress some obsolete volume related variablesArnaud Boutonné
svn-id: r55019
2010-12-22HUGO: Implement syncSoundSettings()Arnaud Boutonné
svn-id: r55018
2010-12-22HUGO: Add music debug level, some cleanup when opening driverHenry Bush
svn-id: r54999
2010-12-20HUGO: Improve keyboard handlingArnaud Boutonné
- Handle keypad - Fix 'QWERTY' only issue - Suppress useless variable and parameter svn-id: r54977
2010-12-15HUGO: Clean-up, move MidiPlayer class definition to .h fileArnaud Boutonné
svn-id: r54923
2010-12-13HUGO: Add splash screen in H2 and H3 WinArnaud Boutonné
svn-id: r54902
2010-12-12HUGO: Fix "mouse" bug in H3 Dos, TPS tuningArnaud Boutonné
- 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-10HUGO: Fix bug in HUGO.DAT loadingArnaud Boutonné
svn-id: r54852
2010-12-08HUGO: Fix an episode name and several picture directoriesArnaud Boutonné
svn-id: r54834
2010-12-06HUGO: Fixed Valgrind Errors and Segfault when hugo.dat is missing.David Turner
svn-id: r54804
2010-12-05HUGO: Partial Fix For Leaks from ReadPCX()David Turner
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-01HUGO: Add Missing shutdown() Call - Currently Disabled.David Turner
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-01HUGO: Use cursorman, add a windows-looking cursorArnaud Boutonné
Cursor copied from Mohawk engine, thanks clone2727 svn-id: r54717
2010-11-30HUGO: Close Two Memory Leaks.David Turner
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-29HUGO: Add GMM save/load and RTLArnaud Boutonné
svn-id: r54576
2010-11-26HUGO: Get rid of initial savegameArnaud Boutonné
svn-id: r54503
2010-11-22HUGO: Suppress useless enums, cleanupArnaud Boutonné
svn-id: r54421
2010-11-13HUGO: Close two minor memory leaks.David Turner
Destructor added to SoundHandler and added delete for _intro in engine destructor. svn-id: r54225
2010-11-12TOOL+HUGO: Misc modificationsArnaud Boutonné
- 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-11HUGO: Cleanup, move several functions and variables to the object classArnaud Boutonné
svn-id: r54212
2010-11-11TOOL: Suppress useless strings in textUtil Arnaud Boutonné
Also add DOS version for this text array svn-id: r54202