Commit Graph

56 Commits

Author SHA1 Message Date
Arnaud Boutonné
3f6496d5b5 HUGO: Cleanup
Suppress almost all defines, rename constants

svn-id: r55451
2011-01-23 00:05:52 +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é
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é
868717b444 TOOLS: Add Dos intro music number in hugo.dat
svn-id: r55145
2011-01-07 15:14:38 +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é
fcf40ad626 HUGO: Some space/tab cleanups
svn-id: r55088
2011-01-01 23:57:50 +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é
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é
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é
e0a6ecaca9 TOOLS: Fix the "Mouse text" crash in Hugo
svn-id: r54831
2010-12-08 07:18:38 +00:00
Arnaud Boutonné
077102f8db HUGO: Fix crash in H3 (Swinger display name)
svn-id: r54801
2010-12-06 20:22:53 +00:00
Arnaud Boutonné
b6f9407ec6 HUGO: Fix compilation
svn-id: r54577
2010-11-29 17:50:30 +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é
8b7c42f0b0 TOOLS: Fix 'Boat' bug in H1 Dos
H1 Dos is now completable

svn-id: r54507
2010-11-27 16:48:38 +00:00
Arnaud Boutonné
bab5aa433b HUGO: Get rid of initial savegame
svn-id: r54503
2010-11-26 23:17:16 +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é
74d0ad8371 HUGO: Use DOS names for and exact names in endGame()
svn-id: r54131
2010-11-07 22:10:29 +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é
749d2afd1f TOOL: Fix bug in data in Hugo2 Dos
svn-id: r54085
2010-11-05 07:59:55 +00:00
Arnaud Boutonné
bf787323ab TOOL: Fix ticks per seconds for H1 Dos
svn-id: r54063
2010-11-04 12: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é
f4ae774751 HUGO: Add a debug channel for Object functions
svn-id: r53826
2010-10-25 14:03:01 +00:00
Arnaud Boutonné
35f220ace2 HUGO: cleanup: Suppress trailing spaces and tabs
svn-id: r53825
2010-10-25 13:31:01 +00:00
Arnaud Boutonné
4a0ba817e5 HUGO: Move findObjectSpace() to ObjectHandler class
svn-id: r53705
2010-10-22 20:45:00 +00:00
Arnaud Boutonné
0101a0e0bb HUGO: Moved _objects to a separate file
also suppressed some dereferencing

svn-id: r53674
2010-10-21 17:09:57 +00:00
Max Horn
4ccce19876 ENGINES: Enhance namespace comments a bit
svn-id: r53484
2010-10-15 12:48:19 +00:00
Max Horn
34cc54eaa9 Add doxygen comment for namespaces of several engines.
This is an empty template which ideally engine maintainers
would update and complete with concrete information...

svn-id: r53481
2010-10-15 12:28:56 +00:00
Arnaud Boutonné
bd18e20f7d HUGO: Merge engine and hugo files
- Move initNewScreenDisplay to display.cpp
- Merge engine.cpp and hugo.cpp

svn-id: r53468
2010-10-15 06:16:27 +00:00
Matthew Hoops
ed93a58955 HUGO: Use _targetName for naming save files
svn-id: r53145
2010-10-10 23:24:57 +00:00
Arnaud Boutonné
a4c16f7447 HUGO: Move Dos strings from Parser to hugo.dat
svn-id: r53109
2010-10-10 09:47:19 +00:00
Arnaud Boutonné
ced1aba1ea HUGO: New parser for H1 Dos and H2 Dos.
Add specific parser functions for H1 Dos and H2 Dos

svn-id: r53106
2010-10-10 07:43:42 +00:00
Arnaud Boutonné
694758fd2a HUGO: Clean-up
svn-id: r52988
2010-10-03 08:08:42 +00:00
Arnaud Boutonné
3db60d9e44 HUGO: Add F3 behavior (recall), little cleanup
- Add F3 behavior
- Move drawStatusText() to Screen

svn-id: r52920
2010-09-27 20:24:36 +00:00
Arnaud Boutonné
1e9e8cd64a HUGO: Fix crash in the first screen of H1 Dos
- Fix crash in the first screen of H1 Dos
- Clean up

svn-id: r52787
2010-09-17 22:40:53 +00:00
Arnaud Boutonné
c7b38c4510 HUGO: Fix H1 DOS initialization
Fix a bug in hugo.dat loading and initialize properly Hugo1 DOS

svn-id: r52755
2010-09-16 23:03:03 +00:00
Arnaud Boutonné
597eed0266 HUGO: Use fonts in HUGO.DAT for the DOS version
This is only a temporary solution, to be replaced by a proper .FON 
handling. Hugo 2 and 3 (dos) now start.

svn-id: r52697
2010-09-12 22:59:32 +00:00
Arnaud Boutonné
be53141091 HUGO: Clean up creation tool
Fix typos and suppress all identical noun arrays. 

svn-id: r52596
2010-09-06 16:09:56 +00:00
Arnaud Boutonné
2bea43357f HUGO: Add hints in DOS versions
In DOS versions, display hints when mouse is over a
hotspot. This behavior is based on the one of Hugo Win
versions.

svn-id: r52590
2010-09-06 12:09:11 +00:00