mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 02:56:43 +01:00
timeline: capitalise TM_ACTION macro to prevent confusion with function declaration
This commit is contained in:
parent
c7fac39b79
commit
4b4e6cc023
2 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ SYMBOL_EXPORT struct TM_Action* TM_AddNamedBackgroundAction(struct Timeline* tim
|
|||
}
|
||||
|
||||
/*! \brief Predefined action used by TM_AddQueuedBackgroundAction */
|
||||
static TM_Action(TM_RunInBackground) {
|
||||
static TM_ACTION(TM_RunInBackground) {
|
||||
int* delay = TM_Arg(1);
|
||||
char* name = TM_Arg(2);
|
||||
struct TM_Arguments* arguments = TM_Arg(3);
|
||||
|
|
|
@ -133,6 +133,6 @@ bool TM_IsBackgroundEmpty(struct Timeline* timeline);
|
|||
#define TM_Arg(n) TM_GetArg(action->arguments, n)
|
||||
|
||||
/*! \brief Macro for easy timeline action definition. */
|
||||
#define TM_Action(name) bool name(struct Game* game, struct GamestateResources* data, struct TM_Action* action)
|
||||
#define TM_ACTION(name) bool name(struct Game* game, struct GamestateResources* data, struct TM_Action* action)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue