381 Commits

Author SHA1 Message Date
Arnaud Boutonné
d74e82fe7f HUGO: Fix loading of config file during game init
Add a check on CONFIG.DAT size in order to avoid loading crap into 
the _config structure during the initialization of the engine.
The game no longer starts in turbo & mute mode

svn-id: r52493
2010-09-02 10:52:29 +00:00
Arnaud Boutonné
ca74eb3e8b HUGO: Fix labyrinth bug in Hugo 2 for Windows
svn-id: r52485
2010-09-01 22:11:01 +00:00
Arnaud Boutonné
c4db714e35 HUGO: Fix a bug in creation tool in act14 (H1 Dos)
Fix a bug (missing character id in initialization) in creation tool
and silent some more warnings.

svn-id: r52414
2010-08-27 21:13:47 +00:00
Arnaud Boutonné
03fe16087e HUGO: Fix previous commit (bad format used)
svn-id: r52407
2010-08-27 10:01:09 +00:00
Arnaud Boutonné
ec9708694e HUGO: Hopefully fix GCC_PRINTF issue in util
* Add a mask in each call of Warn(), Error() and Box() not using one
* cleanup: use the same wording for 'End of namespace Hugo' in all files

svn-id: r52406
2010-08-27 09:48:53 +00:00
Oystein Eftevaag
a7541810b4 HUGO: Removed some dead code and redundant indirection
svn-id: r52404
2010-08-26 23:41:39 +00:00
Oystein Eftevaag
98400327c3 HUGO: Implemented basic MIDI support.
svn-id: r52403
2010-08-26 23:13:17 +00:00
Andre Heider
1b2ae60e27 HUGO: Use GCC_PRINTF on functions with variable arguments
Two instances commented out with a FIXME for Strangerke :P

svn-id: r52391
2010-08-25 17:07:47 +00:00
Andre Heider
088da9e698 HUGO: Fix invalid usage of snprintf with va_args
svn-id: r52390
2010-08-25 17:03:24 +00:00
Johannes Schickel
1a0d7c87d3 Hugo: Some formatting fixes.
svn-id: r52265
2010-08-21 17:27:48 +00:00
Arnaud Boutonné
9d5dada110 Oups - Fix compilation
svn-id: r52231
2010-08-20 16:40:13 +00:00
Arnaud Boutonné
e81eab6133 Hugo : Style - Add parenthesis around condition when conditional operator is used, as mentioned in Code Formatting Conventions
svn-id: r52230
2010-08-20 16:35:20 +00:00
Arnaud Boutonné
53bf93a884 Hugo : Add toggle sound, plus little clean up
svn-id: r52229
2010-08-20 16:25:48 +00:00
Arnaud Boutonné
48c9b4855b Hugo - Fix a problem in the F1 behavior
svn-id: r52228
2010-08-20 16:02:00 +00:00
Arnaud Boutonné
30f1312386 Hugo - Add handling of "turbo" key (F8)
- Modify the score line so it looks like the DOS one

svn-id: r52227
2010-08-20 15:55:56 +00:00
Arnaud Boutonné
0b4fef3aa7 Hugo - Move DOS hardcoded inventory strings to Hugo.dat
svn-id: r52226
2010-08-20 15:30:30 +00:00
Torbjörn Andersson
7f97d56829 HUGO: Fix GCC warnings.
svn-id: r52192
2010-08-18 17:51:44 +00:00
Arnaud Boutonné
844b466573 Hugo - Add F6 Inventory. This is a DOS only feature, but quite convenient as the iconic inventory is not available atm.
svn-id: r52190
2010-08-18 16:44:12 +00:00
Arnaud Boutonné
fa41f9ffd0 Hugo - Check double F1, display properly the content of help.dat if present
svn-id: r52189
2010-08-18 16:14:38 +00:00
Arnaud Boutonné
fc94562c77 H3 win - Suppress an enum and use directly the screen number, with a comment
svn-id: r52188
2010-08-18 15:39:40 +00:00
Arnaud Boutonné
ab5bb86e20 No longer error when BSF file is not found in H1 Dos, as it may be a freeware version.
svn-id: r52187
2010-08-18 15:33:59 +00:00
Eugene Sandulenko
3b81b30171 HUGO: Fix intro crash in H3
svn-id: r52186
2010-08-18 14:12:09 +00:00
Eugene Sandulenko
330d467b51 HUGO: Move engine object creation to more suitable place.
svn-id: r52185
2010-08-18 13:44:22 +00:00
Sven Hesse
54c1a1463f HUGO: Fix file permissions
755->644

svn-id: r52177
2010-08-17 23:55:31 +00:00
Arnaud Boutonné
9698f34d92 Hugo - Fix the sprite modification of the hero (quickest test : H1, entering the machine)
svn-id: r52158
2010-08-17 14:21:04 +00:00
Eugene Sandulenko
1ac434165d HUGO: Fix even more warnings
svn-id: r52154
2010-08-17 11:42:47 +00:00
Eugene Sandulenko
2c545ae1f3 HUGO: Fix warnings
svn-id: r52146
2010-08-17 11:00:29 +00:00
Eugene Sandulenko
789219022a HUGO: Fix game restoring
svn-id: r52145
2010-08-17 11:00:00 +00:00
John Willis
c6a1a746df Hugo: Fix very minor typo.
svn-id: r52140
2010-08-17 09:52:34 +00:00
Eugene Sandulenko
7d7acd7042 HUGO: Fix warnings
svn-id: r52139
2010-08-17 09:47:46 +00:00
Eugene Sandulenko
06960d33e1 HUGO: Adding engine to the main tree
svn-id: r52137
2010-08-17 09:28:20 +00:00