Commit Graph

194 Commits

Author SHA1 Message Date
Arnaud Boutonné
9dde7e2b87 HUGO: Little cleanup
svn-id: r55128
2011-01-05 23:39:36 +00:00
Arnaud Boutonné
7b1e6bd2f8 HUGO: Fix warning using GCC
svn-id: r55127
2011-01-05 22:35:07 +00:00
Arnaud Boutonné
0ac25c43a0 HUGO: Use Win2 fonts in intro.
Win1 font is loaded too, but fails as it's not yet supported

svn-id: r55126
2011-01-05 22:28:37 +00:00
Eugene Sandulenko
11780744c2 HUGO: Proper implementation for menu closing when clicked outside of it
svn-id: r55121
2011-01-04 21:45:09 +00:00
Arnaud Boutonné
2477c733da HUGO: Use several 'off' buttons in the menu
svn-id: r55117
2011-01-04 14:18:43 +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
Filippos Karapetis
cdb5e55f75 HUGO: Renamed the "cmd" parameter to "command", as "cmd" is a struct in game.h
svn-id: r55108
2011-01-03 19:44:30 +00:00
Eugene Sandulenko
f517b6d344 HUGO: Added stub for menu commands and implemented menu closing
svn-id: r55107
2011-01-03 19:08:10 +00:00
Eugene Sandulenko
3344d1b5aa HUGO: Implement top menu autoscaling
svn-id: r55105
2011-01-03 18:17:13 +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
3d2104460d HUGO: Show bitmap on first button in menu as a proof of concept
svn-id: r55101
2011-01-03 12:48:28 +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é
fcf40ad626 HUGO: Some space/tab cleanups
svn-id: r55088
2011-01-01 23:57:50 +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é
3358001c39 HUGO: Add CTRL-l and CTRL-s keys used in Win versions.
CTRL-n has been added too, but is currently only a STUB

svn-id: r55081
2010-12-31 22:44:16 +00:00
Arnaud Boutonné
11d4742520 HUGO: Saving a game is no longer authorized when gameOverFl is set
svn-id: r55079
2010-12-31 16:25:28 +00:00
Arnaud Boutonné
1df582aecb HUGO: F6 now also closes inventory in Win versions
svn-id: r55076
2010-12-31 14:50:22 +00:00
Arnaud Boutonné
542f946155 HUGO: Fix default values in object_t structure for viewx field and followings.
This fixes some other bugs reported by D. Gray

svn-id: r55068
2010-12-30 22:07:12 +00:00
Arnaud Boutonné
1dd3142330 HUGO: Fix several bugs reported by D. Gray
svn-id: r55067
2010-12-30 21:07:38 +00:00
David Turner
98783a15e8 HUGO: Fix MIDI Player Memory Leak in H3 Win.
svn-id: r55040
2010-12-26 13:58:39 +00:00
Arnaud Boutonné
8cc28b218c HUGO: Suppress two obsolete defines
svn-id: r55020
2010-12-22 23:11:41 +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
Arnaud Boutonné
d9cc9d5800 HUGO: Replace function comments by doxygen comments
svn-id: r55014
2010-12-22 18:25:48 +00:00
Arnaud Boutonné
51e9cdb12c HUGO: Fix little bug in sound player
Mute/unmute sound and music at the same time

svn-id: r55013
2010-12-22 17:51:07 +00:00
Johannes Schickel
c309bbde28 HUGO: Slight formatting fix.
svn-id: r55008
2010-12-22 14:23:22 +00:00
Henry Bush
ada3c01cc1 HUGO: Set some volume levels to get the MAME adlib emul working
svn-id: r55000
2010-12-22 09:22:14 +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é
39fec99f26 HUGO: Fix several warnings reported by CppCheck
svn-id: r54979
2010-12-20 17:40:19 +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é
9fd43ba6cc HUGO: Add god mode to H1 Dos and H2 Dos
svn-id: r54970
2010-12-20 00:18:03 +00:00
Arnaud Boutonné
8a1f628d37 HUGO: Fix case bug in God Mode
svn-id: r54969
2010-12-19 23:44:53 +00:00
Arnaud Boutonné
5e9002a4aa HUGO: Implement setBackgroundColor()
svn-id: r54963
2010-12-19 16:07:03 +00:00
Arnaud Boutonné
222d2809e9 HUGO: little code cleanup
svn-id: r54948
2010-12-17 23:12:36 +00:00
Arnaud Boutonné
a2bb676c19 HUGO: Fix pathfinding bug in 'bridge' screen (H3 Dos)
svn-id: r54926
2010-12-15 23:52:24 +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é
ca547118e3 HUGO: Ensure F6 (inventory) is only active when appropriate
svn-id: r54922
2010-12-15 20:11:59 +00:00
Arnaud Boutonné
f05f5348b7 HUGO: No longer shift down inventory by 8 pixels
svn-id: r54920
2010-12-15 07:35:20 +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é
51685f26dc TOOL: Fix palette bug in H3 Dos (when leaving the cave)
svn-id: r54898
2010-12-13 00:20:45 +00:00
Arnaud Boutonné
2bbe59ad8d HUGO: Replace PROMPT box by YESNO box in H3 Dos
This only applies to the old man dialog. 
This makes H3 Dos completable.

svn-id: r54881
2010-12-12 08:37:19 +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é
f8fa960cfd HUGO: Enable the use of the icon based inventory
In Win versions, F6 now opens the directory. Not perfect yet... 

svn-id: r54853
2010-12-10 07:08:54 +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é
9a117e3eca HUGO: Hopefully fix overlapping memory regions
Thanks Digitall for debugging that

svn-id: r54835
2010-12-08 21:18:48 +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
Arnaud Boutonné
e0a6ecaca9 TOOLS: Fix the "Mouse text" crash in Hugo
svn-id: r54831
2010-12-08 07:18:38 +00:00
Max Horn
6edc86a19b DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine
svn-id: r54815
2010-12-07 18:54:21 +00:00