Adrian Frühwirth
99c72c7b5c
HUGO: Remove unnecessary call to setSeed()
...
Initializing Common::RandomSource's seed with a fixed value will always
yield the same sequence of pseudo-random numbers which is probably not
desirable. Since the constructor takes care of initializing the seed
properly doing so manually is not needed.
2018-03-23 12:48:11 +00:00
Colin Snover
432fd522d2
ENGINES: Remove default1x scaler flag
...
This flag is removed for a few reasons:
* Engines universally set this flag to true for widths > 320,
which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
since its behaviour was almost completely undocumented and users
would need to figure out that they'd need an explicit non-default
scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
deciding how the backend may choose to render its virtual screen.
The choice of rendering behaviour belongs to the user, and the
backend, in that order.
A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Ben Castricum
ebaab44cd1
ALL: Leave out instructions for engine data issues
2016-12-08 13:38:56 +01:00
Ben Castricum
55512414dd
ALL: Change instructions for engine data file issues
...
The engine data files should be included in the package, so downloading
may not be the best suggestion. Instead refer to the README.
2016-12-06 14:16:37 +01:00
Ben Castricum
1cf3f50b74
ALL: Unify 'wrong version of engine data' message
2016-12-06 09:38:25 +01:00
Ben Castricum
eb7ffb1e2c
ALL: Unify 'corrupted engine data' message
2016-12-06 09:38:19 +01:00
Ben Castricum
e1ec91b69a
ALL: Unify 'missing engine data' message
2016-12-05 21:04:50 +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
79ecd017e2
HUFO: Fix CID 1002880, 1002881. Use nullptr where possible instead of 0
2013-11-01 14:15:19 +01:00
Strangerke
f1817431df
HUGO: Fix CID 1063173, 1002888, 1002886
2013-10-31 08:06:14 +01:00
Sven Hesse
989ea7cb56
JANITORIAL: Remove trailing whitespace
2013-07-14 19:01:47 +02:00
Strangerke
d7a4a12b67
HUGO: Initialize variables in Hugo engine constructor. CID 1002886
2013-04-19 00:21:37 +02:00
Strangerke
53ee7f52a9
HUGO: Remove dead code
2012-06-18 21:23:39 +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
Willem Jan Palenstijn
d21402ef3c
HUGO: Fix incorrect usage of sizeof
...
Thanks to salty-horse for the report. The new sizes are
the ones that were replaced by sizeof in 399b59a583 .
2011-06-25 21:35:17 +02:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn
477d6233c3
ENGINES: Change 2nd param of Engine::saveGameState to Common::String
2011-06-02 18:31:59 +02:00
strangerke
6098506a42
HUGO: Fix comments
2011-05-25 23:58:46 +02:00
strangerke
fe41da83ad
HUGO: Add boundaries() to the console. God mode no longer shows boundaries, as in the original
2011-05-25 23:39:10 +02:00
Matthew Hoops
9539017ee3
ALL: initialise -> initialize
2011-05-25 11:17:11 -04:00
Max Horn
4cbe4ede66
COMMON: Registers RandomSources in constructor with the event recorder
...
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +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
6959ee22e4
HUGO: Fix bug #3292400 : Overlapping help windows when using the menu bar
2011-04-25 14:28:19 +02:00
strangerke
4f708b0212
HUGO: Hopefully fix the valgrind error reported by Digitall in bug #3292391
2011-04-24 22:29:27 +02:00
strangerke
882c042a73
HUGO: - BSF file is no longer mandatory for H2 and H3 Dos.
...
- Replace error by a notifyBox in BSF related functions
- Fix cypher (broken in previous commit)
- Add checks on distributor in intro
2011-03-29 23:54:47 +02:00
Max Horn
dd88f39bc7
HUGO: Replace Utils::Box by Utils::notifyBox + Common::String::format
2011-03-21 13:16:35 +01:00
dhewg
dfa5f743de
HUGO: Init volume levels on startup
2011-03-19 16:04:53 +01:00
strangerke
9fb28410b5
HUGO: Misc savegame modifications
...
- Add initial savegame on slot 0
- Save viewstate as it may now contain several different values when saving
- Fix loading from GMM
- Implement ctrl-N
2011-03-08 00:21:02 +01:00
strangerke
29b5b4afa6
HUGO: Fix registration messages for H1 Dos Freeware version (in intro)
2011-03-07 19:40:20 +01:00
strangerke
a99b394836
HUGO: Better fix for graphics glitches in DOS versions, fix H3 ending animation
2011-02-27 01:04:49 +01:00
strangerke
fbf41fc66a
HUGO:
...
- Increase savegame version, as it has changed due to RGBa->RGB modification
- Fix regression in restorePal()
- Implement load from GMM
2011-02-24 19:59:36 +01:00
strangerke
93f25b73be
HUGO/TOOLS: reorder things in HUGO.DAT, move from RGBA to RGB
2011-02-20 11:32:00 +01:00
strangerke
c9223b9b9b
HUGO: Some more refactoring
2011-02-20 10:37:41 +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
2f0b35bbb5
HUGO: Replace cypher by a global variable, clean engine destructor
2011-02-15 19:30:15 +01:00
strangerke
402ac930fe
HUGO: more refactoring and encapsulation
2011-02-15 10:15:21 +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
strangerke
1036979de3
HUGO: Fix a bug in engine destructor
2011-02-12 19:29:56 +01:00
strangerke
c04682b3ae
HUGO: Start to simplify hugo.dat loading
2011-02-12 19:01:46 +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é
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é
3c5fb26a91
HUGO: refactoring: move boundaries to object class
...
svn-id: r55879
2011-02-11 07:12:29 +00:00