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
David Turner
8ca0b867e0
HUGO: Fixed Valgrind Errors and Segfault when hugo.dat is missing.
...
svn-id: r54804
2010-12-06 23:15:25 +00:00
Arnaud Boutonné
077102f8db
HUGO: Fix crash in H3 (Swinger display name)
...
svn-id: r54801
2010-12-06 20:22:53 +00:00
David Turner
dda67d651b
HUGO: Fixed ReadPCX Memory Leak
...
freeObjects now works correctly.
svn-id: r54796
2010-12-06 01:56:42 +00:00
David Turner
d3719a8192
HUGO: Partial Fix For Leaks from ReadPCX()
...
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-05 22:02:04 +00:00
David Turner
7adecddbfc
HUGO: Remove Invalid Memory Read in getSound() - Size not defined until after function returns.
...
svn-id: r54787
2010-12-05 21:52:42 +00:00
David Turner
349ebe94f1
HUGO: Add Missing shutdown() Call - Currently Disabled.
...
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-01 23:15:28 +00:00
Arnaud Boutonné
85d42c405d
HUGO: Use cursorman, add a windows-looking cursor
...
Cursor copied from Mohawk engine, thanks clone2727
svn-id: r54717
2010-12-01 20:11:24 +00:00
Arnaud Boutonné
af79de331e
HUGO: Fix palette issue after restoring a game in H3
...
svn-id: r54685
2010-11-30 20:15:02 +00:00
David Turner
7aca10bf9a
HUGO: Close Memory Leak in PlayMusic() Function.
...
svn-id: r54664
2010-11-30 01:49:00 +00:00
David Turner
27a3173d93
HUGO: Close Two Memory Leaks.
...
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-30 00:01:54 +00:00
Arnaud Boutonné
1fbd80b1e3
HUGO: Fix save/load screens, which were always showing slot0 info
...
svn-id: r54658
2010-11-29 23:57:15 +00:00
Arnaud Boutonné
66ba82a451
HUGO: Fix assert in H3 Win when displaying the elephant and the plane
...
svn-id: r54653
2010-11-29 22:31:57 +00:00
Arnaud Boutonné
fe806a1aba
HUGO: Fix a remaining warning
...
svn-id: r54578
2010-11-29 18:03:05 +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é
54b756e1ba
HUGO: Modify or suppress some obsolete comments and warnings
...
svn-id: r54530
2010-11-28 16:38:01 +00:00
Arnaud Boutonné
5f7ac43a24
HUGO: Add F4/F5 keys to save/restoreGame
...
Currently, it only saves/restores slot #0 , no selection
screen is displayed
svn-id: r54515
2010-11-27 23:09:19 +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
Torbjörn Andersson
83206e20cb
HUGO: Fix warning
...
svn-id: r54506
2010-11-27 08:27:13 +00:00
Arnaud Boutonné
b70aa0d419
HUGO: Add Win save/restore behavior to the Dos versions
...
(useful to debug the lake screen)
svn-id: r54505
2010-11-26 23:57:39 +00:00
Arnaud Boutonné
fd6157e778
HUGO: Avoid using 'short' in function definition
...
svn-id: r54504
2010-11-26 23:30:31 +00:00
Arnaud Boutonné
bab5aa433b
HUGO: Get rid of initial savegame
...
svn-id: r54503
2010-11-26 23:17:16 +00:00
Arnaud Boutonné
a0cc07268d
HUGO: Clean up Scheduler
...
svn-id: r54502
2010-11-26 22:15:31 +00:00
Arnaud Boutonné
7711cc57d6
HUGO: Rewrite saveObjects() and restoreObjects()
...
This fixes (at least for me) save and restore. saveEvents()
and restoreEvents() still have to be rewritten.
svn-id: r54422
2010-11-22 22:49:24 +00:00
Arnaud Boutonné
8bb43361cb
HUGO: Suppress useless enums, cleanup
...
svn-id: r54421
2010-11-22 19:50:57 +00:00
Arnaud Boutonné
e5177eebfd
HUGO: Start using endianness-safe read/write functions
...
svn-id: r54389
2010-11-19 23:49:04 +00:00
Filippos Karapetis
325d93d5d8
HUGO: Fixed crash on exit when hugo.dat is not available
...
svn-id: r54228
2010-11-13 13:41:43 +00:00
David Turner
6c78ca4876
HUGO: Close two minor memory leaks.
...
Destructor added to SoundHandler and added delete for _intro in engine destructor.
svn-id: r54225
2010-11-13 08:08:58 +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é
84e4c1742a
HUGO: Suppress the use of Utils::Error, cleanup
...
svn-id: r54198
2010-11-11 10:36:10 +00:00
Arnaud Boutonné
95a58b2471
HUGO: Fix the last leaks in H1 Dos
...
Thanks Hkz for the help!
svn-id: r54175
2010-11-09 23:31:08 +00:00
Arnaud Boutonné
d002800b52
HUGO: Fix several memory leaks
...
svn-id: r54168
2010-11-09 20:26:12 +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
Arnaud Boutonné
86d005e4a3
HUGO: Fix crash when hugo.dat is not the expected version
...
svn-id: r54124
2010-11-07 18:52:47 +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é
1da44acae3
HUGO: Implement REMAPPAL.
...
Palettes in H3 Win intro are now correct
svn-id: r54100
2010-11-06 09:59:07 +00:00
Arnaud Boutonné
6b88fd44c0
HUGO: Silent GCC warning introduced in r54087
...
svn-id: r54095
2010-11-05 12:36:20 +00:00
Arnaud Boutonné
85513b2040
HUGO: Suppress useless case in processRoute()
...
svn-id: r54087
2010-11-05 08:36:37 +00:00
Arnaud Boutonné
913afa041a
HUGO: Suppress status variables related to playback
...
svn-id: r54086
2010-11-05 08:14:12 +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é
4246afcb0e
HUGO: Fix 'exit' command in DOS versions
...
svn-id: r54054
2010-11-03 23:56:34 +00:00
Arnaud Boutonné
c6ddf22057
HUGO: Fix typo... sorry
...
svn-id: r54044
2010-11-02 23:22:25 +00:00
Arnaud Boutonné
ffa455bef9
HUGO: Fix cypher for v1 Dos
...
svn-id: r54043
2010-11-02 23:16:28 +00:00
Max Horn
3d5e2fa820
HUGO: Replace Utils::Warn() by warning()
...
svn-id: r54021
2010-11-01 20:40:33 +00:00
Arnaud Boutonné
7d09121c71
HUGO: Fix typo
...
svn-id: r54019
2010-11-01 20:21:01 +00:00
Arnaud Boutonné
e0fec60874
HUGO: Convert class member comments to Doxygen format
...
svn-id: r54018
2010-11-01 20:20:21 +00:00
Max Horn
e27b05ef35
COMMON: Rename String::printf() to String::format()
...
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.
The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.
svn-id: r54004
2010-11-01 16:02:28 +00:00
Arnaud Boutonné
4c6eb76d79
HUGO: Make some scheduler functions and variables protected
...
svn-id: r53999
2010-11-01 15: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
Max Horn
9995c7bd98
HUGO: Comment out all occurrences of FILE *fpb
...
These are not portable, and (at least in the current code)
do nothing useful either: a file is opened, and closed again,
in write mode. At most this may create / delete the file.
But since the method containing this code is never called...
svn-id: r53957
2010-10-30 21:25:30 +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é
c4d4277807
HUGO: Add specific schedulers for each DOS version.
...
This fixes intro (and game) in H3 DOS, general game
behavior in H2 Dos. H1 Dos is still broken.
svn-id: r53858
2010-10-26 21:16:16 +00:00
Arnaud Boutonné
b42faf72e8
HUGO: Add specific versions of doAction() for Dos versions
...
svn-id: r53831
2010-10-25 19:59:32 +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é
4e9a2798ef
HUGO: Fix display priority order in H1 Dos
...
svn-id: r53823
2010-10-25 13:20:15 +00:00
Arnaud Boutonné
8e923d9c54
HUGO: Add specific function variantes for H2 Dos and H3 Dos
...
Also add pathfinding to H1 Dos
svn-id: r53822
2010-10-25 12:07:07 +00:00
Arnaud Boutonné
0053b7011e
HUGO: Add missing files (sorry!)
...
svn-id: r53812
2010-10-25 09:22:46 +00:00
Arnaud Boutonné
6889fe42a3
HUGO: Fix GCC warnings
...
svn-id: r53811
2010-10-25 09:19:06 +00:00
Arnaud Boutonné
eb6dd6d8c8
HUGO: Add specific v1d object class
...
svn-id: r53810
2010-10-25 09:13:57 +00:00
Max Horn
3534cff8ef
ALL: Fix indention (whitespaces -> tabs)
...
svn-id: r53738
2010-10-23 15:46:50 +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
Arnaud Boutonné
6049a370b3
HUGO: Fix NULL pointer dereferencing
...
svn-id: r53466
2010-10-15 06:08:42 +00:00
Arnaud Boutonné
7723d91c95
HUGO: Add lineHandler for v3 Dos, fix/add comments
...
svn-id: r53170
2010-10-12 21:12:54 +00:00
Arnaud Boutonné
7e5f66a4c8
HUGO: enable left diagonals
...
svn-id: r53167
2010-10-12 20:00:23 +00:00
Arnaud Boutonné
2978053a00
HUGO: Split classes with multiple version in separate files
...
svn-id: r53152
2010-10-11 21:41:31 +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é
6ebd324be4
HUGO: Add specific takeObject and dropObject for H1 DOS
...
svn-id: r53135
2010-10-10 22:13:38 +00:00
Arnaud Boutonné
9c56271839
HUGO: Add debug channels to new parser functions
...
svn-id: r53128
2010-10-10 20:13:59 +00:00
Arnaud Boutonné
440bcaa060
HUGO: Fix 'Exit' command behavior in the DOS versions
...
svn-id: r53116
2010-10-10 13:06:48 +00:00
Arnaud Boutonné
550d340959
HUGO: Now force initial save
...
This should fix the corrupted initial savegame problem
svn-id: r53111
2010-10-10 10:00:55 +00:00
Arnaud Boutonné
c50a149a35
HUGO: Remove sound off when saving
...
svn-id: r53110
2010-10-10 09:59:40 +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é
5727cab0f1
HUGO: Remove viewport variables from _config
...
svn-id: r52963
2010-10-01 09:13:47 +00:00
Arnaud Boutonné
2efaedb29b
HUGO: Fix crash using mouse
...
Fix crash when clicking on objects without a
default 'TAKE' action (like the hero, the eyes and
the bat in the first screen)
svn-id: r52962
2010-10-01 06:16:24 +00:00
Arnaud Boutonné
cc69fa8297
HUGO: Improve message boxes
...
- Use OK and YES/NO messages boxes when required
- Empty messages are no longer displayed
svn-id: r52960
2010-09-30 22:22:05 +00:00
Arnaud Boutonné
07427bed74
HUGO: Suppress useless parameter in several functions
...
svn-id: r52933
2010-09-28 19:49:53 +00:00
Arnaud Boutonné
d46f4a2fc0
HUGO: Move strlwr to Utils
...
svn-id: r52921
2010-09-27 21:50:11 +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
Torbjörn Andersson
5537ac91bf
JANITORIAL: Removed unnecessary semi-colons.
...
svn-id: r52910
2010-09-26 15:46:25 +00:00
Arnaud Boutonné
64017f266e
HUGO: Remove extra ;
...
svn-id: r52903
2010-09-26 11:43:07 +00:00
Arnaud Boutonné
20a6180459
HUGO: Add H1 Dos intro
...
svn-id: r52902
2010-09-26 11:32:52 +00:00
Arnaud Boutonné
009e481547
HUGO: Add H2 Dos splash screen
...
svn-id: r52880
2010-09-25 13:39:19 +00:00
Arnaud Boutonné
387753705a
HUGO: Fix stricmp use and text color in splash screen
...
svn-id: r52878
2010-09-25 12:59:35 +00:00
Arnaud Boutonné
be4d619864
HUGO: Add intro for H3 Dos
...
svn-id: r52877
2010-09-25 12:45:12 +00:00
Arnaud Boutonné
b9b1905378
HUGO: Constify char* parameters in Screen
...
svn-id: r52860
2010-09-22 21:22:11 +00:00
Arnaud Boutonné
0db9a4d6b4
HUGO: Fix intro in H3 Win
...
This fixes the path on the world map, during intro
svn-id: r52858
2010-09-22 20:37:03 +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é
2315907de5
HUGO: Rename some classes for better readibility
...
svn-id: r52720
2010-09-14 05:32:20 +00:00
Arnaud Boutonné
4ac61cc290
HUGO: Fix GCC warning (Thanks MSVC for not showing those)
...
svn-id: r52698
2010-09-12 23:10:31 +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
Arnaud Boutonné
8bd741d41b
HUGO: Add support for multiple scenery files
...
This is used by H3Dos only.
svn-id: r52571
2010-09-05 20:37:38 +00:00
Johannes Schickel
8733cdb900
HUGO: Formatting.
...
svn-id: r52529
2010-09-04 17:30:39 +00:00
Torbjörn Andersson
871064b3c7
HUGO: Add destructor to Scheduler class
...
GCC complained, and I think this is what it wanted.
svn-id: r52528
2010-09-04 17:22:27 +00:00
Arnaud Boutonné
a29ae44296
HUGO: Fix decryption in H2 DOS, plus some cleanup
...
svn-id: r52525
2010-09-04 16:02:16 +00:00
Arnaud Boutonné
21a09427de
HUGO: Cleanup and fix mouse pointer issue
...
- Suppress commented code
- Suppress readConfig() and writeConfig()
- Fix the disappearing mouse issue
svn-id: r52495
2010-09-02 12:50:10 +00:00
Arnaud Boutonné
e284852b64
HUGO: Fix warnings
...
svn-id: r52494
2010-09-02 11:43:00 +00:00
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