Commit Graph

82 Commits

Author SHA1 Message Date
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Strangerke
8fc8c69345 HUGO: Fix some uninitialized variables. CID 1002887 2013-04-26 08:43:23 +02:00
Filippos Karapetis
ef671f20b1 HUGO: Use surface width instead of its pitch when copying to raw memory blobs
This is according to wjp's suggestion - the pitch didn't make sense there
2012-09-14 03:35:18 +03:00
Filippos Karapetis
fb6a5a140d HUGO: Switch to the common PCX decoder 2012-09-13 01:51:21 +03:00
Strangerke
6e11720e29 HUGO: Missing file in previous commit 2012-06-18 21:27:58 +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
998448128c HUGO: Some more renaming 2012-06-13 11:50:49 +02:00
Strangerke
2e7b16a8bd HUGO: Apply coding convention (in progress) 2012-06-13 11:28:25 +02:00
Johannes Schickel
7c5cf1b400 GUI: Add helper to SaveLoadChooser, which uses the currently active target.
This reduces the code duplication in all client code, which formerly duplicated
the querying of the plugin, game id etc. and now simply calls the newly added
method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10 04:53:17 +02:00
Johannes Schickel
15046a7529 GUI: Get rid of SaveLoadChooser::setSaveMode.
We already pass the title and process button name to the constructor of
SaveLoadChooser and then do not offer any way of changing it, thus changing
the edit mode of the chooser is kind of pointless and was never actually used.
Instead we pass the mode on SaveLoadChooser construction now.
2012-06-10 04:19:45 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +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
3de8b25003 HUGO: Fix BE issue in getSound(). Thanks wjp for finding that issue. 2011-04-24 23:22:39 +02:00
strangerke
4f708b0212 HUGO: Hopefully fix the valgrind error reported by Digitall in bug #3292391 2011-04-24 22:29:27 +02:00
Max Horn
7c16f9ac3c HUGO: Fix s_bootCypherLen *for real* 2011-03-30 00:21:40 +02:00
Max Horn
3be61257d0 HUGO: Fix cypher fix ;) 2011-03-30 00:10:25 +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
9a646cde46 HUGO: Turn FileManager::getBootCypher into a const static variable 2011-03-24 16:46:49 +01:00
Max Horn
754c250c65 HUGO: When erroring out due to a missing file, tell the user which file is missing 2011-03-24 16:46:45 +01:00
Max Horn
dd88f39bc7 HUGO: Replace Utils::Box by Utils::notifyBox + Common::String::format 2011-03-21 13:16:35 +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
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
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
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é
4917740b44 HUGO: Cleanup : some refactoring and encapsulation (thanks fuzzie for the help)
svn-id: r55831
2011-02-08 20:52:26 +00:00
Max Horn
41121be4d6 GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTarget
This avoids hiding an overloaded virtual method, which in turn can
cause weird bugs (see also the next commit).

svn-id: r55815
2011-02-07 22:58:22 +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é
1799c4f045 Hugo: Some cleanup
svn-id: r55690
2011-01-31 18:22:20 +00:00
Arnaud Boutonné
785f1776c4 HUGO: Fix warning reported by GCC
svn-id: r55670
2011-01-30 23:19:30 +00:00
Arnaud Boutonné
a07d37d3a5 HUGO:
- Replace several char* by Common::String
- Fix a bug in showDosInventory()

svn-id: r55669
2011-01-30 23:08:05 +00:00
Sylvain Dupont
177b656edf HUGO: Fix some save/restore issues
Invalidates current savegames! (now version 3)

svn-id: r55540
2011-01-26 00:21:54 +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é
801561e6bc HUGO: Clean up
- Suppress some obsolete comments
- Get rid of some magic numbers

svn-id: r55307
2011-01-18 18:26:33 +00:00
Arnaud Boutonné
9ee74fee8a HUGO: Implement menu commands
Also did some cleanup, and had to comment out 
handleMouseUp() as it's currently not working really well

svn-id: r55114
2011-01-04 08:36:03 +00:00
David Turner
7adecddbfc HUGO: Remove Invalid Memory Read in getSound() - Size not defined until after function returns.
svn-id: r54787
2010-12-05 21:52:42 +00:00
Arnaud Boutonné
fe806a1aba HUGO: Fix a remaining warning
svn-id: r54578
2010-11-29 18:03:05 +00:00
Arnaud Boutonné
45f55128b1 HUGO: Add GMM save/load and RTL
svn-id: r54576
2010-11-29 17:42:08 +00:00
Arnaud Boutonné
bab5aa433b HUGO: Get rid of initial savegame
svn-id: r54503
2010-11-26 23:17:16 +00:00