diff options
author | Strangerke | 2016-12-03 15:26:32 -0800 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-25 22:42:10 +0100 |
commit | e482209bd33bfb4d7a09bdf60c58ea38253f9cb4 (patch) | |
tree | 10001ec15ca851156d3c9adbfdc2b287ee2f44ff /engines/cryo/staticdata.cpp | |
parent | 6523e3bf9b3d2458f553c22082cd25b658216338 (diff) | |
download | scummvm-rg350-e482209bd33bfb4d7a09bdf60c58ea38253f9cb4.tar.gz scummvm-rg350-e482209bd33bfb4d7a09bdf60c58ea38253f9cb4.tar.bz2 scummvm-rg350-e482209bd33bfb4d7a09bdf60c58ea38253f9cb4.zip |
CRYO: Reduce some variable scopes, silent several warnings
Diffstat (limited to 'engines/cryo/staticdata.cpp')
-rw-r--r-- | engines/cryo/staticdata.cpp | 69 |
1 files changed, 1 insertions, 68 deletions
diff --git a/engines/cryo/staticdata.cpp b/engines/cryo/staticdata.cpp index 98550f7e27..9ff0fd2fac 100644 --- a/engines/cryo/staticdata.cpp +++ b/engines/cryo/staticdata.cpp @@ -498,7 +498,7 @@ cita_t cita_list[] = { int16 tab_2CB16[] = { 2075, 2080, 2119, -1}; -char tab_2CB1E[8][4] = { +uint8 tab_2CB1E[8][4] = { { 0x10, 0x81, 1, 0x90}, { 0x90, 1, 0x81, 0x10}, { 1, 0x90, 0x10, 0x81}, @@ -620,71 +620,4 @@ float flt_2DF7C = -3400; float flt_2DF80 = -3400; float flt_2DF84 = 200; -// Cube faces to texture coords mapping -// each entry is num_polys(6) * num_faces_per_poly(2) * vertex_per_face(3) * uv(2) - -int16 cube_texcoords[3][6 * 2 * 3 * 2] = { - { - 32, 32, 0, 32, 0, 0, - 32, 32, 0, 0, 32, 0, - - 0, 32, 0, 0, 32, 0, - 0, 32, 32, 0, 32, 32, - - 32, 32, 0, 32, 0, 0, - 32, 32, 0, 0, 32, 0, - - 32, 0, 32, 32, 0, 32, - 32, 0, 0, 32, 0, 0, - - 0, 0, 32, 0, 32, 32, - 0, 0, 32, 32, 0, 32, - - 0, 32, 0, 0, 32, 0, - 0, 32, 32, 0, 32, 32 - }, { - 32, 32, 0, 32, 0, 0, - 32, 32, 0, 0, 32, 0, - - 32, 0, 32, 32, 0, 32, - 32, 0, 0, 32, 0, 0, - - 32, 0, 32, 32, 0, 32, - 32, 0, 0, 32, 0, 0, - - 0, 32, 0, 0, 32, 0, - 0, 32, 32, 0, 32, 32, - - 32, 0, 32, 32, 0, 32, - 32, 0, 0, 32, 0, 0, - - 32, 0, 32, 32, 0, 32, - 32, 0, 0, 32, 0, 0 - }, { - 30, 30, 2, 30, 2, 2, - 30, 30, 2, 2, 30, 2, - - 2, 30, 2, 2, 30, 2, - 2, 30, 30, 2, 30, 30, - - 30, 30, 2, 30, 2, 2, - 30, 30, 2, 2, 30, 2, - - 30, 2, 30, 30, 2, 30, - 30, 2, 2, 30, 2, 2, - - 2, 2, 30, 2, 30, 30, - 2, 2, 30, 30, 2, 30, - - 2, 30, 2, 2, 30, 2, - 2, 30, 30, 2, 30, 30 - } -}; - -char tab_2E138[4 * 3] = { - 0, 0, 1, 1, - 0, 0, 0, 1, - 0, 0, 2, 0 -}; - } // End of namespace Cryo |