aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/entity_intern.h
diff options
context:
space:
mode:
authorJulien2012-07-25 17:55:17 -0400
committerJulien2012-07-27 00:15:03 -0400
commit938961e23737e5ff19aee61e1ec6dd6e19ca0529 (patch)
treee17a171a96f9b781ed0b43f503e1c46ead9b3660 /engines/lastexpress/entities/entity_intern.h
parentb6b98483c5117ee3cee0a52607e5f5f4acb7def7 (diff)
downloadscummvm-rg350-938961e23737e5ff19aee61e1ec6dd6e19ca0529.tar.gz
scummvm-rg350-938961e23737e5ff19aee61e1ec6dd6e19ca0529.tar.bz2
scummvm-rg350-938961e23737e5ff19aee61e1ec6dd6e19ca0529.zip
LASTEXPRESS: Remove TIME_CHECK_CALLBACK_1 macro
Diffstat (limited to 'engines/lastexpress/entities/entity_intern.h')
-rw-r--r--engines/lastexpress/entities/entity_intern.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/engines/lastexpress/entities/entity_intern.h b/engines/lastexpress/entities/entity_intern.h
index f12f34ac74..01e997f52e 100644
--- a/engines/lastexpress/entities/entity_intern.h
+++ b/engines/lastexpress/entities/entity_intern.h
@@ -258,18 +258,6 @@ void class::setup_##name() { \
EXPOSE_PARAMS(EntityData::EntityParametersIISS) \
debugC(6, kLastExpressDebugLogic, "Entity: " #class "::" #name "(%d, %d, %s, %s) - action: %s", params->param1, params->param2, (char *)&params->seq1, (char *)&params->seq2, ACTION_NAME(savepoint.action));
-
-//////////////////////////////////////////////////////////////////////////
-// Time check macros
-//////////////////////////////////////////////////////////////////////////
-#define TIME_CHECK_CALLBACK_1(timeValue, parameter, callback, function, param1) \
- if (getState()->time > timeValue && !parameter) { \
- parameter = 1; \
- setCallback(callback); \
- function(param1); \
- break; \
- }
-
} // End of namespace LastExpress
#endif // LASTEXPRESS_ENTITY_INTERN_H