Commit Graph
44 Commits
Author SHA1 Message Date
Thierry Crozat 99abd640c8 HUGO: Fix undefined behaviour in variadic functions
Passing a type that undergoes default argument promotion as last
argument of a variadic function results in undefined behaviour.
2017-10-06 01:01:11 +01:00
Ori Avtalion cba3909dfd HUGO: Reduce header dependencies 2016-04-13 15:23:11 +03:00
Johannes Schickel a331f4aea9 HUGO: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Strangerke 179427c78f HUGO: Rename pointers 2012-06-13 21:18:37 +02:00
Strangerke 999ae29de4 HUGO: Rename structs and enums 2012-06-13 20:58:01 +02:00
Strangerke 998448128c HUGO: Some more renaming 2012-06-13 11:50:49 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
strangerke 756a343cb8 HUGO: Fix graphic glitches in DOS versions 2011-02-26 14:06:30 +01:00
strangerke ec559360ab HUGO: Move several short function bodies from headers to cpp files 2011-02-18 22:24:32 +01:00
strangerke 399b59a583 HUGO: Avoid duplicated code in functions related to HUGO.DAT 2011-02-18 08:11:55 +01:00
strangerke 2f0b35bbb5 HUGO: Replace cypher by a global variable, clean engine destructor 2011-02-15 19:30:15 +01:00
strangerke 97852d473e HUGO: Some more refactoring
Move _hotspots to mouse class and encapsulate it, rename some variables in route class
2011-02-14 08:31:01 +01:00
Arnaud Boutonné c846231af3 HUGO: Replace Common::File by Common::ReadStream in several functions
svn-id: r55897
2011-02-12 16:20:57 +00:00
Arnaud Boutonné 4ad7f20b77 HUGO: little optimization in decodeString(), cleanup
svn-id: r55894
2011-02-12 14:37:59 +00:00
Arnaud Boutonné 87ab737e6b HUGO: Cleanup: fix style issue in Doxygen comments
svn-id: r55884
2011-02-11 20:27:48 +00:00
Arnaud Boutonné 3c5fb26a91 HUGO: refactoring: move boundaries to object class
svn-id: r55879
2011-02-11 07:12:29 +00:00
Alyssa Milburn 653196640a HUGO: Spelling fix.
svn-id: r55804
2011-02-07 16:39:10 +00:00
Arnaud Boutonné 935b318798 HUGO: Suppress static variables (except one)
This also fixes the multiple-RTL related music bug reported by D. Gray

svn-id: r55758
2011-02-03 18:25:38 +00:00
Arnaud Boutonné 4263549536 HUGO: 'Constify' engine as much as possible
svn-id: r55741
2011-02-02 21:12:51 +00:00
Arnaud Boutonné cfca829e46 HUGO: Add a function to display exit hotspots in God Mode
svn-id: r55599
2011-01-28 19:54:48 +00:00
Arnaud Boutonné f7f42fba21 HUGO: Get rid of (almost) all the remaining defines
svn-id: r55485
2011-01-23 22:51:12 +00:00
Arnaud Boutonné 3f6496d5b5 HUGO: Cleanup
Suppress almost all defines, rename constants

svn-id: r55451
2011-01-23 00:05:52 +00:00
Arnaud Boutonné 896d4947da HUGO: Fix an assert when mouse hit the top of the screen
svn-id: r55168
2011-01-08 17:26:39 +00:00
Arnaud Boutonné 2665194e6f HUGO: Merge inventory object and mouse cursor when selected
- Merge inventory object and mouse cursor into a new mouse cursor (looks better)
- Use 16 color mouse pointer
- Clean-up

svn-id: r55167
2011-01-08 16:56:52 +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
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é 4e9a2798ef HUGO: Fix display priority order in H1 Dos
svn-id: r53823
2010-10-25 13:20:15 +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é 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
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é 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é 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é 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
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