aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lastexpress/entities')
-rw-r--r--engines/lastexpress/entities/abbot.h14
-rw-r--r--engines/lastexpress/entities/alexei.cpp2
-rw-r--r--engines/lastexpress/entities/alexei.h12
-rw-r--r--engines/lastexpress/entities/alouan.h4
-rw-r--r--engines/lastexpress/entities/anna.cpp2
-rw-r--r--engines/lastexpress/entities/anna.h12
-rw-r--r--engines/lastexpress/entities/august.h20
-rw-r--r--engines/lastexpress/entities/boutarel.h10
-rw-r--r--engines/lastexpress/entities/chapters.cpp2
-rw-r--r--engines/lastexpress/entities/cooks.h4
-rw-r--r--engines/lastexpress/entities/coudert.cpp2
-rw-r--r--engines/lastexpress/entities/coudert.h8
-rw-r--r--engines/lastexpress/entities/entity_intern.h30
-rw-r--r--engines/lastexpress/entities/francois.cpp2
-rw-r--r--engines/lastexpress/entities/francois.h10
-rw-r--r--engines/lastexpress/entities/hadija.h4
-rw-r--r--engines/lastexpress/entities/ivo.h4
-rw-r--r--engines/lastexpress/entities/kahina.cpp2
-rw-r--r--engines/lastexpress/entities/kahina.h4
-rw-r--r--engines/lastexpress/entities/kronos.cpp2
-rw-r--r--engines/lastexpress/entities/mahmud.h8
-rw-r--r--engines/lastexpress/entities/max.h4
-rw-r--r--engines/lastexpress/entities/mertens.h10
-rw-r--r--engines/lastexpress/entities/milos.h10
-rw-r--r--engines/lastexpress/entities/mmeboutarel.h8
-rw-r--r--engines/lastexpress/entities/pascale.h4
-rw-r--r--engines/lastexpress/entities/rebecca.h18
-rw-r--r--engines/lastexpress/entities/salko.h2
-rw-r--r--engines/lastexpress/entities/servers0.cpp4
-rw-r--r--engines/lastexpress/entities/servers0.h12
-rw-r--r--engines/lastexpress/entities/servers1.cpp4
-rw-r--r--engines/lastexpress/entities/servers1.h10
-rw-r--r--engines/lastexpress/entities/tatiana.h12
-rw-r--r--engines/lastexpress/entities/vassili.h2
-rw-r--r--engines/lastexpress/entities/verges.h6
-rw-r--r--engines/lastexpress/entities/vesna.h6
-rw-r--r--engines/lastexpress/entities/yasmin.h4
37 files changed, 137 insertions, 137 deletions
diff --git a/engines/lastexpress/entities/abbot.h b/engines/lastexpress/entities/abbot.h
index ac4d260311..7e7b78b3be 100644
--- a/engines/lastexpress/entities/abbot.h
+++ b/engines/lastexpress/entities/abbot.h
@@ -48,7 +48,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Handles entering/exiting a compartment.
@@ -56,7 +56,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment and updates position/play animation
@@ -64,7 +64,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment2, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment2, const char *sequence, ObjectIndex compartment)
/**
* Process callback action when the entity direction is not kDirectionRight
@@ -78,7 +78,7 @@ public:
* @param sequence2 The sequence to draw for the second entity
* @param entity The EntityIndex of the second entity
*/
- DECLARE_FUNCTION_3(draw2, const char* sequence1, const char* sequence2, EntityIndex entity)
+ DECLARE_FUNCTION_3(draw2, const char *sequence1, const char *sequence2, EntityIndex entity)
/**
* Updates parameter 2 using time value
@@ -99,7 +99,7 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Saves the game
@@ -125,7 +125,7 @@ public:
* @param action The action
* @param sequence2 The sequence name for the savepoint
*/
- DECLARE_FUNCTION_4(callSavepoint, const char* sequence1, EntityIndex entity, ActionIndex action, const char* sequence2)
+ DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
/**
* Updates the position
@@ -134,7 +134,7 @@ public:
* @param car The car
* @param position The position
*/
- DECLARE_FUNCTION_3(updatePosition, const char* sequence1, CarIndex car, Position position)
+ DECLARE_FUNCTION_3(updatePosition, const char *sequence1, CarIndex car, Position position)
/**
* Process callback action when somebody is standing in the restaurant or salon.
diff --git a/engines/lastexpress/entities/alexei.cpp b/engines/lastexpress/entities/alexei.cpp
index 974025ec14..dc6d5f0729 100644
--- a/engines/lastexpress/entities/alexei.cpp
+++ b/engines/lastexpress/entities/alexei.cpp
@@ -555,7 +555,7 @@ IMPLEMENT_FUNCTION(18, Alexei, chapter1Handler)
}
//////////////////////////////////////////////////////////////////////////
-IMPLEMENT_FUNCTION(19 ,Alexei, function19)
+IMPLEMENT_FUNCTION(19, Alexei, function19)
switch (savepoint.action) {
default:
break;
diff --git a/engines/lastexpress/entities/alexei.h b/engines/lastexpress/entities/alexei.h
index 28e1466e91..420e6e87fc 100644
--- a/engines/lastexpress/entities/alexei.h
+++ b/engines/lastexpress/entities/alexei.h
@@ -48,7 +48,7 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Updates parameter 2 using ticks value
@@ -62,7 +62,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Updates the position
@@ -71,7 +71,7 @@ public:
* @param car The car
* @param position The position
*/
- DECLARE_FUNCTION_3(updatePosition, const char* sequence1, CarIndex car, Position position)
+ DECLARE_FUNCTION_3(updatePosition, const char *sequence1, CarIndex car, Position position)
/**
* Handles entering/exiting a compartment.
@@ -79,7 +79,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Process callback action when the entity direction is not kDirectionRight
@@ -94,7 +94,7 @@ public:
* @param action The action
* @param sequence2 The sequence name for the savepoint
*/
- DECLARE_FUNCTION_4(callSavepoint, const char* sequence1, EntityIndex entity, ActionIndex action, const char* sequence2)
+ DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
/**
* Saves the game
@@ -137,7 +137,7 @@ public:
* @param timeValue The time value
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_2(function16, TimeValue timeValue, const char* sequence)
+ DECLARE_FUNCTION_2(function16, TimeValue timeValue, const char *sequence)
/**
* Setup Chapter 1
diff --git a/engines/lastexpress/entities/alouan.h b/engines/lastexpress/entities/alouan.h
index d663b0b624..33d5e2f23d 100644
--- a/engines/lastexpress/entities/alouan.h
+++ b/engines/lastexpress/entities/alouan.h
@@ -49,14 +49,14 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Updates parameter 2 using time value
diff --git a/engines/lastexpress/entities/anna.cpp b/engines/lastexpress/entities/anna.cpp
index f81d95754e..e04ff1d1b8 100644
--- a/engines/lastexpress/entities/anna.cpp
+++ b/engines/lastexpress/entities/anna.cpp
@@ -1794,7 +1794,7 @@ IMPLEMENT_FUNCTION(42, Anna, chapter2)
}
//////////////////////////////////////////////////////////////////////////
-IMPLEMENT_FUNCTION(43 ,Anna, chapter2Handler)
+IMPLEMENT_FUNCTION(43, Anna, chapter2Handler)
switch (savepoint.action) {
default:
break;
diff --git a/engines/lastexpress/entities/anna.h b/engines/lastexpress/entities/anna.h
index 6085bf1089..5297d6f745 100644
--- a/engines/lastexpress/entities/anna.h
+++ b/engines/lastexpress/entities/anna.h
@@ -48,7 +48,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Updates the position
@@ -57,7 +57,7 @@ public:
* @param car The car
* @param position The position
*/
- DECLARE_FUNCTION_3(updatePosition, const char* sequence1, CarIndex car, Position position)
+ DECLARE_FUNCTION_3(updatePosition, const char *sequence1, CarIndex car, Position position)
/**
* Handles entering/exiting a compartment.
@@ -65,7 +65,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Process callback action when the entity direction is not kDirectionRight
@@ -80,14 +80,14 @@ public:
* @param action The action
* @param sequence2 The sequence name for the savepoint
*/
- DECLARE_FUNCTION_4(callSavepoint, const char* sequence1, EntityIndex entity, ActionIndex action, const char* sequence2)
+ DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Process callback action when somebody is standing in the restaurant or salon.
@@ -126,7 +126,7 @@ public:
* @param sequence2 The sequence to draw for the second entity
* @param entity The EntityIndex of the second entity
*/
- DECLARE_FUNCTION_3(draw2, const char* sequence1, const char* sequence2, EntityIndex entity)
+ DECLARE_FUNCTION_3(draw2, const char *sequence1, const char *sequence2, EntityIndex entity)
/**
* Updates parameter 2 using ticks value
diff --git a/engines/lastexpress/entities/august.h b/engines/lastexpress/entities/august.h
index e7c0d62ed4..1a883a0ed5 100644
--- a/engines/lastexpress/entities/august.h
+++ b/engines/lastexpress/entities/august.h
@@ -55,7 +55,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Updates the position
@@ -64,7 +64,7 @@ public:
* @param car The car
* @param position The position
*/
- DECLARE_FUNCTION_3(updatePosition, const char* sequence1, CarIndex car, Position position)
+ DECLARE_FUNCTION_3(updatePosition, const char *sequence1, CarIndex car, Position position)
/**
* Handles entering/exiting a compartment.
@@ -72,7 +72,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment and updates position/play animation
@@ -80,7 +80,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment2, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment2, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment.
@@ -88,7 +88,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment3, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment3, const char *sequence, ObjectIndex compartment)
/**
* Process callback action when the entity direction is not kDirectionRight
@@ -103,7 +103,7 @@ public:
* @param action The action
* @param sequence2 The sequence name for the savepoint
*/
- DECLARE_FUNCTION_4(callSavepoint, const char* sequence1, EntityIndex entity, ActionIndex action, const char* sequence2)
+ DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
/**
* Call a savepoint
@@ -112,7 +112,7 @@ public:
* @param param2 The action
* @param seq The sequence name for the savepoint
*/
- DECLARE_FUNCTION_3(callSavepointNoDrawing, EntityIndex entity, ActionIndex action, const char* sequence)
+ DECLARE_FUNCTION_3(callSavepointNoDrawing, EntityIndex entity, ActionIndex action, const char *sequence)
/**
* Draws the entity along with another one
@@ -121,21 +121,21 @@ public:
* @param sequence2 The sequence to draw for the second entity
* @param entity The EntityIndex of the second entity
*/
- DECLARE_FUNCTION_3(draw2, const char* sequence1, const char* sequence2, EntityIndex entity)
+ DECLARE_FUNCTION_3(draw2, const char *sequence1, const char *sequence2, EntityIndex entity)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound16, const char* filename)
+ DECLARE_FUNCTION_1(playSound16, const char *filename)
/**
* Process callback action when somebody is standing in the restaurant or salon.
diff --git a/engines/lastexpress/entities/boutarel.h b/engines/lastexpress/entities/boutarel.h
index aeac23b359..0ac051df77 100644
--- a/engines/lastexpress/entities/boutarel.h
+++ b/engines/lastexpress/entities/boutarel.h
@@ -48,14 +48,14 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Draws the entity
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Updates parameter 2 using time value
@@ -71,7 +71,7 @@ public:
* @param car The car
* @param position The position
*/
- DECLARE_FUNCTION_3(updatePosition, const char* sequence1, CarIndex car, Position position)
+ DECLARE_FUNCTION_3(updatePosition, const char *sequence1, CarIndex car, Position position)
/**
* Handles entering/exiting a compartment.
@@ -79,7 +79,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment and updates position/play animation
@@ -87,7 +87,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment2, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment2, const char *sequence, ObjectIndex compartment)
/**
* Process callback action when the entity direction is not kDirectionRight
diff --git a/engines/lastexpress/entities/chapters.cpp b/engines/lastexpress/entities/chapters.cpp
index 1bf3ee3f71..31b4dbd654 100644
--- a/engines/lastexpress/entities/chapters.cpp
+++ b/engines/lastexpress/entities/chapters.cpp
@@ -156,7 +156,7 @@ IMPLEMENT_FUNCTION(5, Chapters, resetMainEntities)
}
//////////////////////////////////////////////////////////////////////////
-IMPLEMENT_FUNCTION(6,Chapters, chapter1End)
+IMPLEMENT_FUNCTION(6, Chapters, chapter1End)
switch (savepoint.action) {
default:
break;
diff --git a/engines/lastexpress/entities/cooks.h b/engines/lastexpress/entities/cooks.h
index 2904d2c66b..fc3a0cb78c 100644
--- a/engines/lastexpress/entities/cooks.h
+++ b/engines/lastexpress/entities/cooks.h
@@ -43,14 +43,14 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
DECLARE_FUNCTION(function3)
diff --git a/engines/lastexpress/entities/coudert.cpp b/engines/lastexpress/entities/coudert.cpp
index 6249ea5487..edf3e9ccf7 100644
--- a/engines/lastexpress/entities/coudert.cpp
+++ b/engines/lastexpress/entities/coudert.cpp
@@ -3550,7 +3550,7 @@ IMPLEMENT_NULL_FUNCTION(63, Coudert)
//////////////////////////////////////////////////////////////////////////
// Private functions
//////////////////////////////////////////////////////////////////////////
-void Coudert::visitCompartment(const SavePoint &savepoint, EntityPosition position, const char* seq1, ObjectIndex compartment, const char* seq2, const char* seq3, EntityPosition sittingPosition, ObjectIndex object, const char* seq4) {
+void Coudert::visitCompartment(const SavePoint &savepoint, EntityPosition position, const char *seq1, ObjectIndex compartment, const char *seq2, const char *seq3, EntityPosition sittingPosition, ObjectIndex object, const char *seq4) {
EXPOSE_PARAMS(EntityData::EntityParametersIIII)
switch (savepoint.action) {
diff --git a/engines/lastexpress/entities/coudert.h b/engines/lastexpress/entities/coudert.h
index 1c2d340718..13dad6f122 100644
--- a/engines/lastexpress/entities/coudert.h
+++ b/engines/lastexpress/entities/coudert.h
@@ -56,7 +56,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Process callback action when the entity direction is not kDirectionRight
@@ -71,14 +71,14 @@ public:
* @param entityPosition1 The entity position 1
* @param entityPosition2 The entity position 2
*/
- DECLARE_FUNCTION_4(enterExitCompartment2, const char* sequence, ObjectIndex compartment, EntityPosition entityPosition1, EntityPosition entityPosition2)
+ DECLARE_FUNCTION_4(enterExitCompartment2, const char *sequence, ObjectIndex compartment, EntityPosition entityPosition1, EntityPosition entityPosition2)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Plays sound
@@ -221,7 +221,7 @@ public:
DECLARE_NULL_FUNCTION()
private:
- void visitCompartment(const SavePoint &savepoint, EntityPosition position, const char* seq1, ObjectIndex compartment, const char* seq2, const char* seq3, EntityPosition sittingPosition, ObjectIndex object, const char* seq4);
+ void visitCompartment(const SavePoint &savepoint, EntityPosition position, const char *seq1, ObjectIndex compartment, const char *seq2, const char *seq3, EntityPosition sittingPosition, ObjectIndex object, const char *seq4);
};
} // End of namespace LastExpress
diff --git a/engines/lastexpress/entities/entity_intern.h b/engines/lastexpress/entities/entity_intern.h
index 6442f76b3c..3f8c6e7c76 100644
--- a/engines/lastexpress/entities/entity_intern.h
+++ b/engines/lastexpress/entities/entity_intern.h
@@ -157,9 +157,9 @@ void class::setup_##name() { \
EXPOSE_PARAMS(EntityData::EntityParametersIIII) \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%d, %d, %d) - action: %s", params->param1, params->param2, params->param3, ACTION_NAME(savepoint.action));
-// setup with on char* parameter
+// setup with one char *parameter
#define IMPLEMENT_FUNCTION_S(index, class, name) \
- void class::setup_##name(const char* seq1) { \
+ void class::setup_##name(const char *seq1) { \
BEGIN_SETUP(class, name, index, EntityData::EntityParametersSIIS) \
EntityData::EntityParametersSIIS *params = (EntityData::EntityParametersSIIS*)_data->getCurrentParameters(); \
strncpy((char *)&params->seq1, seq1, 12); \
@@ -169,9 +169,9 @@ void class::setup_##name() { \
EXPOSE_PARAMS(EntityData::EntityParametersSIIS) \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%s) - action: %s", (char *)&params->seq1, ACTION_NAME(savepoint.action));
-// setup with on char* parameter and one uint
+// setup with one char *parameter and one uint
#define IMPLEMENT_FUNCTION_SI(index, class, name, paramType2) \
- void class::setup_##name(const char* seq1, paramType2 param4) { \
+ void class::setup_##name(const char *seq1, paramType2 param4) { \
BEGIN_SETUP(class, name, index, EntityData::EntityParametersSIIS) \
EntityData::EntityParametersSIIS *params = (EntityData::EntityParametersSIIS*)_data->getCurrentParameters(); \
strncpy((char *)&params->seq1, seq1, 12); \
@@ -182,9 +182,9 @@ void class::setup_##name() { \
EXPOSE_PARAMS(EntityData::EntityParametersSIIS) \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%s, %d) - action: %s", (char *)&params->seq1, params->param4, ACTION_NAME(savepoint.action));
-// setup with on char* parameter and two uints
+// setup with one char *parameter and two uints
#define IMPLEMENT_FUNCTION_SII(index, class, name, paramType2, paramType3) \
- void class::setup_##name(const char* seq1, paramType2 param4, paramType3 param5) { \
+ void class::setup_##name(const char *seq1, paramType2 param4, paramType3 param5) { \
BEGIN_SETUP(class, name, index, EntityData::EntityParametersSIIS) \
EntityData::EntityParametersSIIS *params = (EntityData::EntityParametersSIIS*)_data->getCurrentParameters(); \
strncpy((char *)&params->seq1, seq1, 12); \
@@ -196,9 +196,9 @@ void class::setup_##name() { \
EXPOSE_PARAMS(EntityData::EntityParametersSIIS) \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%s, %d, %d) - action: %s", (char *)&params->seq1, params->param4, params->param5, ACTION_NAME(savepoint.action));
-// setup with on char* parameter and three uints
+// setup with one char *parameter and three uints
#define IMPLEMENT_FUNCTION_SIII(index, class, name, paramType2, paramType3, paramType4) \
- void class::setup_##name(const char* seq, paramType2 param4, paramType3 param5, paramType4 param6) { \
+ void class::setup_##name(const char *seq, paramType2 param4, paramType3 param5, paramType4 param6) { \
BEGIN_SETUP(class, name, index, EntityData::EntityParametersSIII) \
EntityData::EntityParametersSIII *params = (EntityData::EntityParametersSIII*)_data->getCurrentParameters(); \
strncpy((char *)&params->seq, seq, 12); \
@@ -212,7 +212,7 @@ void class::setup_##name() { \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%s, %d, %d, %d) - action: %s", (char *)&params->seq, params->param4, params->param5, params->param6, ACTION_NAME(savepoint.action));
#define IMPLEMENT_FUNCTION_SIIS(index, class, name, paramType2, paramType3) \
- void class::setup_##name(const char* seq1, paramType2 param4, paramType3 param5, const char* seq2) { \
+ void class::setup_##name(const char *seq1, paramType2 param4, paramType3 param5, const char *seq2) { \
BEGIN_SETUP(class, name, index, EntityData::EntityParametersSIIS) \
EntityData::EntityParametersSIIS *params = (EntityData::EntityParametersSIIS*)_data->getCurrentParameters(); \
strncpy((char *)&params->seq1, seq1, 12); \
@@ -226,7 +226,7 @@ void class::setup_##name() { \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%s, %d, %d, %s) - action: %s", (char *)&params->seq1, params->param4, params->param5, (char *)&params->seq2, ACTION_NAME(savepoint.action));
#define IMPLEMENT_FUNCTION_SS(index, class, name) \
- void class::setup_##name(const char* seq1, const char* seq2) { \
+ void class::setup_##name(const char *seq1, const char *seq2) { \
BEGIN_SETUP(class, name, index, EntityData::EntityParametersSSII) \
EntityData::EntityParametersSSII *params = (EntityData::EntityParametersSSII*)_data->getCurrentParameters(); \
strncpy((char *)&params->seq1, seq1, 12); \
@@ -238,7 +238,7 @@ void class::setup_##name() { \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%s, %s) - action: %s", (char *)&params->seq1, (char *)&params->seq2, ACTION_NAME(savepoint.action));
#define IMPLEMENT_FUNCTION_SSI(index, class, name, paramType3) \
- void class::setup_##name(const char* seq1, const char* seq2, paramType3 param7) { \
+ void class::setup_##name(const char *seq1, const char *seq2, paramType3 param7) { \
BEGIN_SETUP(class, name, index, EntityData::EntityParametersSSII) \
EntityData::EntityParametersSSII *params = (EntityData::EntityParametersSSII*)_data->getCurrentParameters(); \
strncpy((char *)&params->seq1, seq1, 12); \
@@ -251,7 +251,7 @@ void class::setup_##name() { \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%s, %s, %d) - action: %s", (char *)&params->seq1, (char *)&params->seq2, params->param7, ACTION_NAME(savepoint.action));
#define IMPLEMENT_FUNCTION_IS(index, class, name, paramType) \
- void class::setup_##name(paramType param1, const char* seq) { \
+ void class::setup_##name(paramType param1, const char *seq) { \
BEGIN_SETUP(class, name, index, EntityData::EntityParametersISII) \
EntityData::EntityParametersISII *params = (EntityData::EntityParametersISII*)_data->getCurrentParameters(); \
params->param1 = (unsigned int)param1; \
@@ -263,7 +263,7 @@ void class::setup_##name() { \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%d, %s) - action: %s", params->param1, (char *)&params->seq, ACTION_NAME(savepoint.action));
#define IMPLEMENT_FUNCTION_ISS(index, class, name, paramType) \
- void class::setup_##name(paramType param1, const char* seq1, const char* seq2) { \
+ void class::setup_##name(paramType param1, const char *seq1, const char *seq2) { \
BEGIN_SETUP(class, name, index, EntityData::EntityParametersISSI) \
EntityData::EntityParametersISSI *params = (EntityData::EntityParametersISSI*)_data->getCurrentParameters(); \
params->param1 = param1; \
@@ -276,7 +276,7 @@ void class::setup_##name() { \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%d, %s, %s) - action: %s", params->param1, (char *)&params->seq1, (char *)&params->seq2, ACTION_NAME(savepoint.action));
#define IMPLEMENT_FUNCTION_IIS(index, class, name, paramType1, paramType2) \
- void class::setup_##name(paramType1 param1, paramType2 param2, const char* seq) { \
+ void class::setup_##name(paramType1 param1, paramType2 param2, const char *seq) { \
BEGIN_SETUP(class, name, index, EntityData::EntityParametersIISI) \
EntityData::EntityParametersIISI *params = (EntityData::EntityParametersIISI*)_data->getCurrentParameters(); \
params->param1 = param1; \
@@ -289,7 +289,7 @@ void class::setup_##name() { \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%d, %d, %s) - action: %s", params->param1, params->param2, (char *)&params->seq, ACTION_NAME(savepoint.action));
#define IMPLEMENT_FUNCTION_IISS(index, class, name, paramType1, paramType2) \
- void class::setup_##name(paramType1 param1, paramType2 param2, const char* seq1, const char* seq2) { \
+ void class::setup_##name(paramType1 param1, paramType2 param2, const char *seq1, const char *seq2) { \
BEGIN_SETUP(class, name, index, EntityData::EntityParametersIISS) \
EntityData::EntityParametersIISS *params = (EntityData::EntityParametersIISS*)_data->getCurrentParameters(); \
params->param1 = param1; \
diff --git a/engines/lastexpress/entities/francois.cpp b/engines/lastexpress/entities/francois.cpp
index fd1237f8a3..3bd95ca92b 100644
--- a/engines/lastexpress/entities/francois.cpp
+++ b/engines/lastexpress/entities/francois.cpp
@@ -733,7 +733,7 @@ IMPLEMENT_FUNCTION(20, Francois, function20)
}
//////////////////////////////////////////////////////////////////////////
-IMPLEMENT_FUNCTION(21 ,Francois, chapter2)
+IMPLEMENT_FUNCTION(21, Francois, chapter2)
switch (savepoint.action) {
default:
break;
diff --git a/engines/lastexpress/entities/francois.h b/engines/lastexpress/entities/francois.h
index f14ddf0ffb..c924cf677b 100644
--- a/engines/lastexpress/entities/francois.h
+++ b/engines/lastexpress/entities/francois.h
@@ -55,7 +55,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Handles entering/exiting a compartment.
@@ -63,7 +63,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment and updates position/play animation
@@ -71,14 +71,14 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment2, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment2, const char *sequence, ObjectIndex compartment)
/**
- * Plays sound
+ Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Saves the game
diff --git a/engines/lastexpress/entities/hadija.h b/engines/lastexpress/entities/hadija.h
index 2467440170..bd37a205d9 100644
--- a/engines/lastexpress/entities/hadija.h
+++ b/engines/lastexpress/entities/hadija.h
@@ -49,14 +49,14 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Updates parameter 2 using time value
diff --git a/engines/lastexpress/entities/ivo.h b/engines/lastexpress/entities/ivo.h
index f8a7cc7a80..e726c95af0 100644
--- a/engines/lastexpress/entities/ivo.h
+++ b/engines/lastexpress/entities/ivo.h
@@ -48,7 +48,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Handles entering/exiting a compartment.
@@ -56,7 +56,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Updates parameter 2 using time value
diff --git a/engines/lastexpress/entities/kahina.cpp b/engines/lastexpress/entities/kahina.cpp
index 574d34b667..2a5a96be48 100644
--- a/engines/lastexpress/entities/kahina.cpp
+++ b/engines/lastexpress/entities/kahina.cpp
@@ -192,7 +192,7 @@ IMPLEMENT_FUNCTION_I(6, Kahina, function6, TimeValue)
}
//////////////////////////////////////////////////////////////////////////
-IMPLEMENT_FUNCTION_II(7 ,Kahina, updateEntity2, CarIndex, EntityPosition)
+IMPLEMENT_FUNCTION_II(7, Kahina, updateEntity2, CarIndex, EntityPosition)
switch (savepoint.action) {
default:
break;
diff --git a/engines/lastexpress/entities/kahina.h b/engines/lastexpress/entities/kahina.h
index 03f66160a0..4be9d9fb27 100644
--- a/engines/lastexpress/entities/kahina.h
+++ b/engines/lastexpress/entities/kahina.h
@@ -48,7 +48,7 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Saves the game
@@ -97,7 +97,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Setup Chapter 1
diff --git a/engines/lastexpress/entities/kronos.cpp b/engines/lastexpress/entities/kronos.cpp
index a7d6f5236f..c73cac3fbc 100644
--- a/engines/lastexpress/entities/kronos.cpp
+++ b/engines/lastexpress/entities/kronos.cpp
@@ -330,7 +330,7 @@ IMPLEMENT_FUNCTION(15, Kronos, function15)
}
//////////////////////////////////////////////////////////////////////////
-IMPLEMENT_FUNCTION(16 ,Kronos, function16)
+IMPLEMENT_FUNCTION(16, Kronos, function16)
switch (savepoint.action) {
default:
break;
diff --git a/engines/lastexpress/entities/mahmud.h b/engines/lastexpress/entities/mahmud.h
index a0d339cb60..647d48b8ed 100644
--- a/engines/lastexpress/entities/mahmud.h
+++ b/engines/lastexpress/entities/mahmud.h
@@ -57,7 +57,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment.
@@ -67,21 +67,21 @@ public:
* @param ticks The time ticks
* @param object The object for loading the scene
*/
- DECLARE_FUNCTION_4(enterExitCompartment2, const char* sequence, ObjectIndex compartment, uint32 ticks, ObjectIndex object)
+ DECLARE_FUNCTION_4(enterExitCompartment2, const char *sequence, ObjectIndex compartment, uint32 ticks, ObjectIndex object)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSoundMertens, const char* filename)
+ DECLARE_FUNCTION_1(playSoundMertens, const char *filename)
/**
* Updates parameter 2 using time value
diff --git a/engines/lastexpress/entities/max.h b/engines/lastexpress/entities/max.h
index d9e570df3e..93eb165a0f 100644
--- a/engines/lastexpress/entities/max.h
+++ b/engines/lastexpress/entities/max.h
@@ -48,7 +48,7 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Draws the entity
@@ -64,7 +64,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Saves the game
diff --git a/engines/lastexpress/entities/mertens.h b/engines/lastexpress/entities/mertens.h
index f720dce0e0..ccce17795c 100644
--- a/engines/lastexpress/entities/mertens.h
+++ b/engines/lastexpress/entities/mertens.h
@@ -65,7 +65,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment and updates position/play animation
@@ -73,7 +73,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment2, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment2, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment.
@@ -85,7 +85,7 @@ public:
*
* @note We are not using the shared function due to too many differences
*/
- DECLARE_FUNCTION_4(enterExitCompartment3, const char* sequence, ObjectIndex compartment, EntityPosition entityPosition1, EntityPosition entityPosition2)
+ DECLARE_FUNCTION_4(enterExitCompartment3, const char *sequence, ObjectIndex compartment, EntityPosition entityPosition1, EntityPosition entityPosition2)
/**
* Process callback action when the entity direction is not kDirectionRight
@@ -97,14 +97,14 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound16, const char* filename)
+ DECLARE_FUNCTION_1(playSound16, const char *filename)
/**
* Saves the game
diff --git a/engines/lastexpress/entities/milos.h b/engines/lastexpress/entities/milos.h
index a6977e58d6..6d44d1c4d9 100644
--- a/engines/lastexpress/entities/milos.h
+++ b/engines/lastexpress/entities/milos.h
@@ -48,7 +48,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Handles entering/exiting a compartment.
@@ -56,7 +56,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment and updates position/play animation
@@ -64,7 +64,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment2, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment2, const char *sequence, ObjectIndex compartment)
/**
* Process callback action when the entity direction is not kDirectionRight
@@ -76,14 +76,14 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound16, const char* filename)
+ DECLARE_FUNCTION_1(playSound16, const char *filename)
/**
* Saves the game
diff --git a/engines/lastexpress/entities/mmeboutarel.h b/engines/lastexpress/entities/mmeboutarel.h
index 0d18a990fa..1f1d762dd9 100644
--- a/engines/lastexpress/entities/mmeboutarel.h
+++ b/engines/lastexpress/entities/mmeboutarel.h
@@ -48,14 +48,14 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Draws the entity
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Updates parameter 2 using time value
@@ -70,7 +70,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment and updates position/play animation
@@ -78,7 +78,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment2, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment2, const char *sequence, ObjectIndex compartment)
/**
* Updates the entity
diff --git a/engines/lastexpress/entities/pascale.h b/engines/lastexpress/entities/pascale.h
index e19c175800..d0098dcf0b 100644
--- a/engines/lastexpress/entities/pascale.h
+++ b/engines/lastexpress/entities/pascale.h
@@ -43,7 +43,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Process callback action when somebody is standing in the restaurant or salon.
@@ -77,7 +77,7 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Draws the entity along with another one
diff --git a/engines/lastexpress/entities/rebecca.h b/engines/lastexpress/entities/rebecca.h
index 399bad5020..bdc9fe1d3b 100644
--- a/engines/lastexpress/entities/rebecca.h
+++ b/engines/lastexpress/entities/rebecca.h
@@ -55,14 +55,14 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound16, const char* filename)
+ DECLARE_FUNCTION_1(playSound16, const char *filename)
/**
* Call a savepoint (or draw sequence in default case)
@@ -72,14 +72,14 @@ public:
* @param action The action
* @param sequence2 The sequence name for the savepoint
*/
- DECLARE_FUNCTION_4(callSavepoint, const char* sequence1, EntityIndex entity, ActionIndex action, const char* sequence2)
+ DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
/**
* Draws the entity
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Handles entering/exiting a compartment.
@@ -87,7 +87,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment and updates position/play animation
@@ -95,7 +95,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment2, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment2, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment.
@@ -103,7 +103,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment3, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment3, const char *sequence, ObjectIndex compartment)
/**
* Process callback action when the entity direction is not kDirectionRight
@@ -131,7 +131,7 @@ public:
* @param car The car
* @param position The position
*/
- DECLARE_FUNCTION_3(updatePosition, const char* sequence1, CarIndex car, Position position)
+ DECLARE_FUNCTION_3(updatePosition, const char *sequence1, CarIndex car, Position position)
/**
* Draws the entity along with another one
@@ -140,7 +140,7 @@ public:
* @param sequence2 The sequence to draw for the second entity
* @param entity The EntityIndex of the second entity
*/
- DECLARE_FUNCTION_3(draw2, const char* sequence1, const char* sequence2, EntityIndex entity)
+ DECLARE_FUNCTION_3(draw2, const char *sequence1, const char *sequence2, EntityIndex entity)
DECLARE_FUNCTION(function15)
DECLARE_FUNCTION_1(function16, bool)
diff --git a/engines/lastexpress/entities/salko.h b/engines/lastexpress/entities/salko.h
index 3555bfc329..f21724d88a 100644
--- a/engines/lastexpress/entities/salko.h
+++ b/engines/lastexpress/entities/salko.h
@@ -49,7 +49,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Draws the entity
diff --git a/engines/lastexpress/entities/servers0.cpp b/engines/lastexpress/entities/servers0.cpp
index 33f2943c43..1f3f85bb8f 100644
--- a/engines/lastexpress/entities/servers0.cpp
+++ b/engines/lastexpress/entities/servers0.cpp
@@ -950,7 +950,7 @@ IMPLEMENT_NULL_FUNCTION(38, Servers0)
//////////////////////////////////////////////////////////////////////////
// Private functions
//////////////////////////////////////////////////////////////////////////
-void Servers0::handleServer(const SavePoint &savepoint, const char* name, EntityIndex entity, ActionIndex action, uint *parameter, const char* name2) {
+void Servers0::handleServer(const SavePoint &savepoint, const char *name, EntityIndex entity, ActionIndex action, uint *parameter, const char *name2) {
switch (savepoint.action) {
default:
break;
@@ -981,7 +981,7 @@ void Servers0::handleServer(const SavePoint &savepoint, const char* name, Entity
}
//////////////////////////////////////////////////////////////////////////
-void Servers0::serveTable(const SavePoint &savepoint, const char* seq1, EntityIndex entity, const char* seq2, const char* seq3, const char* seq4, uint *parameter, bool shouldUpdatePosition, bool pushSavepoint, Position position) {
+void Servers0::serveTable(const SavePoint &savepoint, const char *seq1, EntityIndex entity, const char *seq2, const char *seq3, const char *seq4, uint *parameter, bool shouldUpdatePosition, bool pushSavepoint, Position position) {
switch (savepoint.action) {
default:
break;
diff --git a/engines/lastexpress/entities/servers0.h b/engines/lastexpress/entities/servers0.h
index d32d0be7b3..3e1bd21e0d 100644
--- a/engines/lastexpress/entities/servers0.h
+++ b/engines/lastexpress/entities/servers0.h
@@ -46,7 +46,7 @@ public:
* @param action The action
* @param sequence2 The sequence name for the savepoint
*/
- DECLARE_FUNCTION_4(callSavepoint, const char* sequence1, EntityIndex entity, ActionIndex action, const char* sequence2)
+ DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
/**
* Updates parameter 2 using time value
@@ -61,7 +61,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Updates the position
@@ -70,7 +70,7 @@ public:
* @param car The car
* @param position The position
*/
- DECLARE_FUNCTION_3(updatePosition, const char* sequence1, CarIndex car, Position position)
+ DECLARE_FUNCTION_3(updatePosition, const char *sequence1, CarIndex car, Position position)
/**
* Process callback action when the entity direction is not kDirectionRight
@@ -82,7 +82,7 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
DECLARE_FUNCTION(function7)
DECLARE_FUNCTION(function8)
@@ -163,8 +163,8 @@ public:
DECLARE_NULL_FUNCTION()
private:
- void handleServer(const SavePoint &savepoint, const char* name, EntityIndex entity, ActionIndex action, uint *parameter, const char* name2 = "");
- void serveTable(const SavePoint &savepoint, const char* seq1, EntityIndex entity, const char* seq2, const char* seq3, const char* seq4, uint *parameter, bool shouldUpdatePosition = true, bool pushSavepoint = false, Position position = 0);
+ void handleServer(const SavePoint &savepoint, const char *name, EntityIndex entity, ActionIndex action, uint *parameter, const char *name2 = "");
+ void serveTable(const SavePoint &savepoint, const char *seq1, EntityIndex entity, const char *seq2, const char *seq3, const char *seq4, uint *parameter, bool shouldUpdatePosition = true, bool pushSavepoint = false, Position position = 0);
};
} // End of namespace LastExpress
diff --git a/engines/lastexpress/entities/servers1.cpp b/engines/lastexpress/entities/servers1.cpp
index ea383dbacb..1afeeab894 100644
--- a/engines/lastexpress/entities/servers1.cpp
+++ b/engines/lastexpress/entities/servers1.cpp
@@ -661,7 +661,7 @@ IMPLEMENT_NULL_FUNCTION(32, Servers1)
//////////////////////////////////////////////////////////////////////////
// Private functions
//////////////////////////////////////////////////////////////////////////
-void Servers1::serveTable(const SavePoint &savepoint, const char* seq1, EntityIndex entity, const char* seq2, const char* seq3, const char* seq4, uint *parameter, Position position, bool shouldUpdatePosition, uint* parameter2) {
+void Servers1::serveTable(const SavePoint &savepoint, const char *seq1, EntityIndex entity, const char *seq2, const char *seq3, const char *seq4, uint *parameter, Position position, bool shouldUpdatePosition, uint *parameter2) {
switch (savepoint.action) {
default:
break;
@@ -715,7 +715,7 @@ void Servers1::serveTable(const SavePoint &savepoint, const char* seq1, EntityIn
}
//////////////////////////////////////////////////////////////////////////
-void Servers1::serveSalon(const SavePoint &savepoint, const char* seq1, const char* snd1, EntityIndex entity, const char* snd2, const char* seq2, ActionIndex action, const char* seq3, uint *parameter) {
+void Servers1::serveSalon(const SavePoint &savepoint, const char *seq1, const char *snd1, EntityIndex entity, const char *snd2, const char *seq2, ActionIndex action, const char *seq3, uint *parameter) {
switch (savepoint.action) {
default:
break;
diff --git a/engines/lastexpress/entities/servers1.h b/engines/lastexpress/entities/servers1.h
index deceac6176..14a6bf09a6 100644
--- a/engines/lastexpress/entities/servers1.h
+++ b/engines/lastexpress/entities/servers1.h
@@ -51,7 +51,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Updates the position
@@ -75,14 +75,14 @@ public:
* @param action The action
* @param sequence2 The sequence name for the savepoint
*/
- DECLARE_FUNCTION_4(callSavepoint, const char* sequence1, EntityIndex entity, ActionIndex action, const char* sequence2)
+ DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
DECLARE_FUNCTION(function7)
@@ -158,8 +158,8 @@ public:
DECLARE_NULL_FUNCTION()
private:
- void serveTable(const SavePoint &savepoint, const char* seq1, EntityIndex entity, const char* seq2, const char* seq3, const char* seq4, uint *parameter, Position position = 0, bool updatePosition = true, uint *parameter2 = NULL);
- void serveSalon(const SavePoint &savepoint, const char* seq1, const char* snd1, EntityIndex entity, const char* snd2, const char* seq2, ActionIndex action, const char* seq3, uint *parameter);
+ void serveTable(const SavePoint &savepoint, const char *seq1, EntityIndex entity, const char *seq2, const char *seq3, const char *seq4, uint *parameter, Position position = 0, bool updatePosition = true, uint *parameter2 = NULL);
+ void serveSalon(const SavePoint &savepoint, const char *seq1, const char *snd1, EntityIndex entity, const char *snd2, const char *seq2, ActionIndex action, const char *seq3, uint *parameter);
};
} // End of namespace LastExpress
diff --git a/engines/lastexpress/entities/tatiana.h b/engines/lastexpress/entities/tatiana.h
index 5cba7e8268..171f7d62d3 100644
--- a/engines/lastexpress/entities/tatiana.h
+++ b/engines/lastexpress/entities/tatiana.h
@@ -48,14 +48,14 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Draws the entity
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Updates the position
@@ -64,7 +64,7 @@ public:
* @param car The car
* @param position The position
*/
- DECLARE_FUNCTION_3(updatePosition, const char* sequence1, CarIndex car, Position position)
+ DECLARE_FUNCTION_3(updatePosition, const char *sequence1, CarIndex car, Position position)
/**
* Handles entering/exiting a compartment.
@@ -72,7 +72,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Handles entering/exiting a compartment and updates position/play animation
@@ -80,7 +80,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment2, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment2, const char *sequence, ObjectIndex compartment)
/**
* Call a savepoint (or draw sequence in default case)
@@ -90,7 +90,7 @@ public:
* @param action The action
* @param sequence2 The sequence name for the savepoint
*/
- DECLARE_FUNCTION_4(callSavepoint, const char* sequence1, EntityIndex entity, ActionIndex action, const char* sequence2)
+ DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
/**
* Process callback action when the entity direction is not kDirectionRight
diff --git a/engines/lastexpress/entities/vassili.h b/engines/lastexpress/entities/vassili.h
index dc3631dd03..1862069e25 100644
--- a/engines/lastexpress/entities/vassili.h
+++ b/engines/lastexpress/entities/vassili.h
@@ -48,7 +48,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Saves the game
diff --git a/engines/lastexpress/entities/verges.h b/engines/lastexpress/entities/verges.h
index 83c44fcc7c..40a43eac9d 100644
--- a/engines/lastexpress/entities/verges.h
+++ b/engines/lastexpress/entities/verges.h
@@ -48,7 +48,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Process callback action when the entity direction is not kDirectionRight
@@ -60,7 +60,7 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Plays sound
@@ -174,7 +174,7 @@ public:
DECLARE_FUNCTION(function42)
private:
- void talk(const SavePoint &savepoint, const char* sound1, const char* sound2);
+ void talk(const SavePoint &savepoint, const char *sound1, const char *sound2);
};
} // End of namespace LastExpress
diff --git a/engines/lastexpress/entities/vesna.h b/engines/lastexpress/entities/vesna.h
index 74a1c0b6e9..55a9a989c5 100644
--- a/engines/lastexpress/entities/vesna.h
+++ b/engines/lastexpress/entities/vesna.h
@@ -48,7 +48,7 @@ public:
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Handles entering/exiting a compartment.
@@ -56,7 +56,7 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
@@ -64,7 +64,7 @@ public:
*
* @param sequence The sequence to draw
*/
- DECLARE_FUNCTION_1(draw, const char* sequence)
+ DECLARE_FUNCTION_1(draw, const char *sequence)
/**
* Updates the entity
diff --git a/engines/lastexpress/entities/yasmin.h b/engines/lastexpress/entities/yasmin.h
index 50a19c535f..b35c713f8b 100644
--- a/engines/lastexpress/entities/yasmin.h
+++ b/engines/lastexpress/entities/yasmin.h
@@ -49,14 +49,14 @@ public:
* @param sequence The sequence to draw
* @param compartment The compartment
*/
- DECLARE_FUNCTION_2(enterExitCompartment, const char* sequence, ObjectIndex compartment)
+ DECLARE_FUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
/**
* Plays sound
*
* @param filename The sound filename
*/
- DECLARE_FUNCTION_1(playSound, const char* filename)
+ DECLARE_FUNCTION_1(playSound, const char *filename)
/**
* Updates parameter 2 using time value