diff options
| author | Torbjörn Andersson | 2005-07-31 16:51:14 +0000 |
|---|---|---|
| committer | Torbjörn Andersson | 2005-07-31 16:51:14 +0000 |
| commit | c13aed09fc13051fa7e24025353b33cd18dc45b4 (patch) | |
| tree | dc893ef3018559a3fe9ffba02c421b2fc042d637 /saga/scene.cpp | |
| parent | f69544ebd282e025d9e2bfabdc7419bf09bcc23f (diff) | |
| download | scummvm-rg350-c13aed09fc13051fa7e24025353b33cd18dc45b4.tar.gz scummvm-rg350-c13aed09fc13051fa7e24025353b33cd18dc45b4.tar.bz2 scummvm-rg350-c13aed09fc13051fa7e24025353b33cd18dc45b4.zip | |
Fixed warnings.
svn-id: r18607
Diffstat (limited to 'saga/scene.cpp')
| -rw-r--r-- | saga/scene.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/saga/scene.cpp b/saga/scene.cpp index fc6a2bf6f8..9dc37c952d 100644 --- a/saga/scene.cpp +++ b/saga/scene.cpp @@ -113,7 +113,7 @@ SAGA_UNKNOWN, SAGA_PALETTE }; -char *SAGAResourceTypesString[] = { +const char *SAGAResourceTypesString[] = { "SAGA_UNKNOWN", "SAGA_ACTOR", "SAGA_OBJECT", @@ -134,21 +134,18 @@ char *SAGAResourceTypesString[] = { "SAGA_PALETTE" }; - Scene::Scene(SagaEngine *vm) : _vm(vm) { byte *sceneLUTPointer; size_t sceneLUTLength; uint32 resourceId; int i; - // Load scene module resource context _sceneContext = _vm->_resource->getContext(GAME_RESOURCEFILE); if (_sceneContext == NULL) { error("Scene::Scene() scene context not found"); } - // Load scene lookup table resourceId = _vm->_resource->convertResourceId(_vm->getResourceDescription()->sceneLUTResourceId); debug(3, "Loading scene LUT from resource %i", resourceId); |
