From 502b279d243d79f46bb8a151ae610949d30bf757 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 15 Dec 2004 00:24:12 +0000 Subject: Patch #1081904 ITE: MAC demo support o Endianness-aware resource loading o Removed ys_dl_list in favor of our object implementation o Cleanup in actor code o Partial support for ITE Mac rereleased demo svn-id: r16051 --- saga/scene.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'saga/scene.h') diff --git a/saga/scene.h b/saga/scene.h index b4124573a4..3f821e460f 100644 --- a/saga/scene.h +++ b/saga/scene.h @@ -27,6 +27,7 @@ #define SAGA_SCENE_H #include "saga/text.h" +#include "saga/list.h" namespace Saga { @@ -136,9 +137,11 @@ struct SCENE_IMAGE { struct SCENE_ANIMINFO { int anim_res_number; int anim_handle; - SCENE_ANIMINFO *next; + //SCENE_ANIMINFO *next; }; +typedef SortedList SceneAnimInfoList; + enum SCENE_FADE_TYPES { SCENE_NOFADE = 0, SCENE_FADE = 1, @@ -154,6 +157,8 @@ struct SCENE_QUEUE { int fadeType; }; +typedef Common::List SceneQueueList; + ///// IHNM-specific stuff #define IHNM_PALFADE_TIME 1000 #define IHNM_INTRO_FRAMETIME 80 @@ -258,7 +263,7 @@ class Scene { int *_sceneLUT; int _sceneCount; int _sceneMax; - YS_DL_LIST *_sceneQueue; + SceneQueueList _sceneQueue; int _firstScene; bool _sceneLoaded; int _sceneMode; @@ -270,7 +275,7 @@ class Scene { int _resListEntries; SCENE_RESLIST *_resList; int _animEntries; - YS_DL_LIST *_animList; + SceneAnimInfoList _animList; SCENE_PROC *_sceneProc; TEXTLIST *_textList; SCENE_IMAGE _bg; -- cgit v1.2.3