Commit Graph

91 Commits

Author SHA1 Message Date
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