Commit Graph

221 Commits

Author SHA1 Message Date
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
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é
839926ef10 HUGO: Clean-up
Modify debug level for 2 debug messages, 
Suppress obsolete comments,
Fix typo in comment

svn-id: r55291
2011-01-18 08:32:10 +00:00
Arnaud Boutonné
ac6c88869e HUGO: Improve mouse support for DOS versions
- Enlarge Exit hotspots
- Fix newspaper issue in H2 Dos (screen 33)

svn-id: r55219
2011-01-13 00:32:10 +00:00
Arnaud Boutonné
3da25986d2 HUGO: Improve mouse support in DOS versions.
- Fix default verb for 'open door' in first screenActions
- Add 'go to' values on objects
- improve hotspot info related to objects

svn-id: r55213
2011-01-11 23:16:57 +00:00
Arnaud Boutonné
a9d3e5c284 HUGO: Fix typo in help message
svn-id: r55193
2011-01-09 22:43:25 +00:00
Arnaud Boutonné
01e43fa8dc HUGO: intros are now skippable
svn-id: r55192
2011-01-09 22:42:56 +00:00
Arnaud Boutonné
3c8689fb7b HUGO: Modify hint position when an object is selected
svn-id: r55181
2011-01-09 10:16:55 +00:00
Arnaud Boutonné
896d4947da HUGO: Fix an assert when mouse hit the top of the screen
svn-id: r55168
2011-01-08 17:26:39 +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é
fc130351f3 HUGO: Fix GCC warnings, second try (sorry)
svn-id: r55134
2011-01-06 14:30:34 +00:00
Arnaud Boutonné
910d2d577a HUGO: Fix GCC warnings
svn-id: r55133
2011-01-06 14:16:23 +00:00
Arnaud Boutonné
46e5149269 HUGO: Implement DOS player
svn-id: r55132
2011-01-06 14:06:04 +00:00
Arnaud Boutonné
bb9ad6afe4 HUGO: Improve intro in H3 Dos
After a check on youtube (clone2727), fix the character used 
in the map during intro in H3 DOS

svn-id: r55131
2011-01-06 07:54:23 +00:00
Matthew Hoops
0338febe57 HUGO: Correct font sizes used in the Hugo1 DOS intro
svn-id: r55129
2011-01-05 23:48:44 +00:00
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