85 Commits

Author SHA1 Message Date
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
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
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Strangerke
36ad5d89c1 HUGO: Take into account wjp's and LordHoto's suggestions 2011-11-06 20:38:18 +01:00
Strangerke
f691cadfc1 HUGO: Fix a CppCheck warning reported by Tetsuo55 2011-11-05 17:40:16 +01:00
Strangerke
b60a706751 JANITORIAL: Fix some formatting glitches in gob, hugo and toon 2011-09-08 07:55:40 +02:00
Alyssa Milburn
5efba92b8e HUGO: Coding style fixes. 2011-08-24 10:58:06 +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
Matthew Hoops
9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04: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
09bf964807 HUGO: Add workaround for bug #3292389: Penelope splits up when dying in chasm 2011-04-26 00:10:08 +02:00
strangerke
bec42f78b7 HUGO: Remove debug message 2011-04-16 19:40:59 +02:00
Eugene Sandulenko
550615f157 HUGO: Implement prompt text box
Still it sometimes asserts with repeated dialog launches.
2011-04-16 15:10:12 +03:00
Max Horn
dd88f39bc7 HUGO: Replace Utils::Box by Utils::notifyBox + Common::String::format 2011-03-21 13:16:35 +01:00
Max Horn
458ebbafd2 HUGO: Split Utils::Box -> new funcs Utils::yesNoBox and Utils::promptBox
This also fixes a bug in the kBoxPrompt code (it returned a pointer to
the content of a temporary string object).
2011-03-21 12:53:50 +01:00
Max Horn
e9dad7859c HUGO: Silence GCC warning 2011-03-02 14:07:46 +01:00
D G Turner
95b1bfa0be HUGO: Correction for Schedule saveActions() mistake. 2011-03-01 07:02:21 +00:00
strangerke
d05428015e HUGO: Rewrite saveActions() and readActions() in order to be platform and endian safe.
This breaks (again) the savegame file formats... Hopefully for the last time
2011-03-01 00:44:28 +01:00
strangerke
41927e0f6d HUGO: cleanup, fix several bad indirections (thanks LordHoto) 2011-02-28 23:15:06 +01:00
strangerke
560eb302f1 HUGO: Fix assert while saving under linux 2011-02-28 21:58:10 +01:00
strangerke
1b16b482f9 HUGO: Remove forgotten debug message 2011-02-28 00:59:38 +01:00
strangerke
a4d4dc81a9 HUGO: rewrite saveEvents() and restoreEvents() in order to be endian and platform safe 2011-02-28 00:58:25 +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
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
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é
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é
7bca1f136c HUGO: Fix regression in H3: game exits at the end of the intro
svn-id: r55880
2011-02-11 07:24:42 +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é
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é
a07d37d3a5 HUGO:
- Replace several char* by Common::String
- Fix a bug in showDosInventory()

svn-id: r55669
2011-01-30 23:08:05 +00:00
Arnaud Boutonné
dc31f4b3e2 HUGO: Cleanup: Suppress an obsolete warning and a comment
svn-id: r55556
2011-01-26 22:50:36 +00:00
Arnaud Boutonné
b0def10892 HUGO: Ensure savegames are not impacted by unexpected ANULL actions, by replacing delEventType() and delQueue() in H1 Dos
svn-id: r55555
2011-01-26 20:03:12 +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é
a321f2a007 HUGO: Merge misc versions of display, intro and scheduler classes
svn-id: r55365
2011-01-20 22:50:50 +00:00