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