44 Commits

Author SHA1 Message Date
Ori Avtalion
cba3909dfd HUGO: Reduce header dependencies 2016-04-13 15:23:11 +03:00
Torbjörn Andersson
531029f54a HUGO: Avoid drawing text above screen (bug #6799)
When drawing cursor text, don't draw it above the top of the screen,
since this would lead to memory corruption and crashes. I'm not quite
sure this is all of bug #6799 since it also mentioned that "sometimes
simply using a hotspot will be enough", but it's a start.
2015-02-05 00:04:04 +01:00
Johannes Schickel
a331f4aea9 HUGO: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Strangerke
fd50556d1e HUGO: Reduce the scope of some variables 2014-02-09 11:37:30 +01:00
Strangerke
79ecd017e2 HUFO: Fix CID 1002880, 1002881. Use nullptr where possible instead of 0 2013-11-01 14:15:19 +01:00
Strangerke
ba50475dfa HUGO: Fix CID 1003199-1003200, better fix of CID 1003197-1003198 2013-10-31 08:13:16 +01:00
Strangerke
6548104b96 HUGO: Fix Uninitialized scalar variables 2013-04-17 08:13:19 +02: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
fbc2c6d08a HUGO: More renaming 2012-06-13 17:44:09 +02:00
Strangerke
2e7b16a8bd HUGO: Apply coding convention (in progress) 2012-06-13 11:28:25 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
strangerke
c15b858765 HUGO: Silent several warnings reported by littleboy 2011-04-20 22:22:01 +02:00
Max Horn
dd88f39bc7 HUGO: Replace Utils::Box by Utils::notifyBox + Common::String::format 2011-03-21 13:16:35 +01:00
strangerke
38f70f66f0 HUGO: Fix crash when Hugo.dat not found (or wrong version detected) 2011-02-20 11:33:17 +01:00
strangerke
2ad969bcac HUGO: Remove extra spaces at end of lines 2011-02-18 22:43:38 +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
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é
69d907151b HUGO: Cleanup based on Fingolfin comments
svn-id: r55887
2011-02-12 08:13:35 +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é
4917740b44 HUGO: Cleanup : some refactoring and encapsulation (thanks fuzzie for the help)
svn-id: r55831
2011-02-08 20:52:26 +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é
fb8b4e1016 HUGO: Handle mouse 'UP' events instead of 'DOWN'.
This fixes the multiple clicks on object + message reported by D.Gray

svn-id: r55569
2011-01-27 18:43:02 +00:00
Arnaud Boutonné
2846ce14f3 HUGO: Move text arrays to a separate class
svn-id: r55507
2011-01-25 00:32: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é
878bedf454 HUGO: Move mouseHander() out of runMachine()
svn-id: r55332
2011-01-19 18:02:53 +00:00
Arnaud Boutonné
3c8689fb7b HUGO: Modify hint position when an object is selected
svn-id: r55181
2011-01-09 10:16:55 +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
Eugene Sandulenko
30b40c4745 HUGO: Stub for the top menu
svn-id: r55100
2011-01-03 12:38:13 +00:00
Arnaud Boutonné
1dd3142330 HUGO: Fix several bugs reported by D. Gray
svn-id: r55067
2010-12-30 21:07:38 +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é
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é
694758fd2a HUGO: Clean-up
svn-id: r52988
2010-10-03 08:08:42 +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
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
Sven Hesse
54c1a1463f HUGO: Fix file permissions
755->644

svn-id: r52177
2010-08-17 23:55:31 +00:00
Eugene Sandulenko
2c545ae1f3 HUGO: Fix warnings
svn-id: r52146
2010-08-17 11:00:29 +00:00
Eugene Sandulenko
06960d33e1 HUGO: Adding engine to the main tree
svn-id: r52137
2010-08-17 09:28:20 +00:00