Mercurial > hg > dmlib
changeset 884:18cd96a27dee
API changes to be used in future.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Feb 2015 22:34:03 +0200 |
parents | 1edb93456bcc |
children | ee46d039c45d |
files | src/dmengine.h src/dmtimeline.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dmengine.h Wed Feb 04 22:31:15 2015 +0200 +++ b/src/dmengine.h Wed Feb 04 22:34:03 2015 +0200 @@ -123,7 +123,7 @@ int (*init)(struct DMEngineData *, const struct _DMEffect *eff, void **data); void (*shutdown)(struct DMEngineData *, const struct _DMEffect *eff, void *data); - int (*render)(SDL_Surface *screen, const struct _DMEffect *eff, void *data, const DMTimelineEventParam *params, const int time); + int (*render)(struct DMEngineData *, const struct _DMEffect *eff, void *data, const DMTimelineEventParam *params, const int time); int nparams; DMTimelineEventParam params[DT_MAX_EFFECT_PARAMS]; @@ -323,7 +323,7 @@ void dmFreePreparedTimelineData(DMPreparedTimeline *ptl); int dmSeekTimeline(DMPreparedTimeline *tl, int time); -int dmExecuteTimeline(DMPreparedTimeline *tl, SDL_Surface *screen, int time); +int dmExecuteTimeline(DMPreparedTimeline *tl, DMEngineData *engine, int time); // Editing/saving related functions
--- a/src/dmtimeline.c Wed Feb 04 22:31:15 2015 +0200 +++ b/src/dmtimeline.c Wed Feb 04 22:34:03 2015 +0200 @@ -428,7 +428,7 @@ /* "Executes", or rather renders a frame on the specified timeline position. */ -int dmExecuteTimeline(DMPreparedTimeline *tl, SDL_Surface *screen, int time) +int dmExecuteTimeline(DMPreparedTimeline *tl, DMEngineData *engine, int time) { return DMERR_OK; }