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é
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é
913afa041a
HUGO: Suppress status variables related to playback
...
svn-id: r54086
2010-11-05 08:14:12 +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é
e0fec60874
HUGO: Convert class member comments to Doxygen format
...
svn-id: r54018
2010-11-01 20:20:21 +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
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é
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é
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é
eb6dd6d8c8
HUGO: Add specific v1d object class
...
svn-id: r53810
2010-10-25 09:13:57 +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
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é
7723d91c95
HUGO: Add lineHandler for v3 Dos, fix/add comments
...
svn-id: r53170
2010-10-12 21:12:54 +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é
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
Torbjörn Andersson
5537ac91bf
JANITORIAL: Removed unnecessary semi-colons.
...
svn-id: r52910
2010-09-26 15:46:25 +00:00
Arnaud Boutonné
20a6180459
HUGO: Add H1 Dos intro
...
svn-id: r52902
2010-09-26 11:32:52 +00:00
Arnaud Boutonné
be4d619864
HUGO: Add intro for H3 Dos
...
svn-id: r52877
2010-09-25 12:45:12 +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é
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é
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
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é
ca74eb3e8b
HUGO: Fix labyrinth bug in Hugo 2 for Windows
...
svn-id: r52485
2010-09-01 22:11:01 +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
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
Eugene Sandulenko
06960d33e1
HUGO: Adding engine to the main tree
...
svn-id: r52137
2010-08-17 09:28:20 +00:00