mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
80 lines
2.9 KiB
C++
80 lines
2.9 KiB
C++
/* ScummVM - Graphic Adventure Engine
|
|
*
|
|
* ScummVM is the legal property of its developers, 0xwhose names
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
* file distributed with this source distribution.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, 0xor (at your option) any later version.
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, 0xwrite to the Free Software
|
|
* Foundation, 0xInc., 0x51 Franklin Street, 0xFifth Floor, 0xBoston, 0xMA 02110-1301, 0xUSA.
|
|
*
|
|
*/
|
|
|
|
#include "access/resources.h"
|
|
#include "access/access.h"
|
|
|
|
namespace Access {
|
|
|
|
const byte INITIAL_PALETTE[18 * 3] = {
|
|
0x00, 0x00, 0x00,
|
|
0xff, 0xff, 0xff,
|
|
0xf0, 0xf0, 0xf0,
|
|
0xe0, 0xe0, 0xe0,
|
|
0xd0, 0xd0, 0xd0,
|
|
0xc0, 0xc0, 0xc0,
|
|
0xb0, 0xb0, 0xb0,
|
|
0xa0, 0xa0, 0xa0,
|
|
0x90, 0x90, 0x90,
|
|
0x80, 0x80, 0x80,
|
|
0x70, 0x70, 0x70,
|
|
0x60, 0x60, 0x60,
|
|
0x50, 0x50, 0x50,
|
|
0x40, 0x40, 0x40,
|
|
0x30, 0x30, 0x30,
|
|
0x20, 0x20, 0x20,
|
|
0x10, 0x10, 0x10,
|
|
0x00, 0x00, 0x00
|
|
};
|
|
|
|
const int SIDEOFFR[] = { 5, 5, 5, 5, 5, 5, 5, 5, 0 };
|
|
const int SIDEOFFL[] = { 5, 5, 5, 5, 5, 5, 5, 5, 0 };
|
|
const int SIDEOFFU[] = { 2, 2, 2, 2, 2, 2, 2, 2, 0 };
|
|
const int SIDEOFFD[] = { 2, 2, 2, 2, 2, 2, 2, 2, 0 };
|
|
const int DIAGOFFURX[] = { 4, 5, 2, 2, 3, 4, 2, 2, 0 };
|
|
const int DIAGOFFURY[] = { 2, 3, 2, 2, 2, 3, 1, 1, 0 };
|
|
const int DIAGOFFDRX[] = { 4, 5, 4, 3, 5, 4, 5, 1, 0 };
|
|
const int DIAGOFFDRY[] = { 3, 2, 1, 2, 2, 1, 2, 1, 0 };
|
|
const int DIAGOFFULX[] = { 4, 5, 4, 3, 3, 2, 2, 2, 0 };
|
|
const int DIAGOFFULY[] = { 3, 3, 1, 2, 2, 1, 1, 1, 0 };
|
|
const int DIAGOFFDLX[] = { 4, 5, 3, 3, 5, 4, 6, 1, 0 };
|
|
const int DIAGOFFDLY[] = { 2, 2, 1, 2, 3, 1, 2, 1, 0 };
|
|
const int OVEROFFR[] = { 2, 2, 1, 2, 2, 1, 0, 0, 0 };
|
|
const int OVEROFFL[] = { 2, 2, 1, 2, 2, 1, 0, 0, 0 };
|
|
const int OVEROFFU[] = { 1, 1, 1, 1, 1, 1, 0, 0, 0 };
|
|
const int OVEROFFD[] = { 1, 1, 1, 1, 1, 1, 0, 0, 0 };
|
|
const int OVEROFFURX[] = { 3, 1, 1, 2, 2, 1, 0, 0, 0 };
|
|
const int OVEROFFURY[] = { 1, 0, 0, 1, 1, 0, 0, 0, 0 };
|
|
const int OVEROFFDRX[] = { 1, 2, 1, 1, 2, 1, 0, 0, 0 };
|
|
const int OVEROFFDRY[] = { 0, 1, 0, 0, 1, 1, 0, 0, 0 };
|
|
const int OVEROFFULX[] = { 2, 1, 1, 1, 2, 1, 0, 0, 0 };
|
|
const int OVEROFFULY[] = { 1, 0, 0, 2, 1, 0, 0, 0, 0 };
|
|
const int OVEROFFDLX[] = { 1, 2, 1, 1, 2, 1, 0, 0, 0 };
|
|
const int OVEROFFDLY[] = { 0, 1, 0, 0, 1, 1, 0, 0, 0 };
|
|
|
|
const int RMOUSE[10][2] = {
|
|
{ 0, 35 }, { 0, 0 }, { 36, 70 }, { 71, 106 }, { 107, 141 },
|
|
{ 142, 177 }, { 178, 212 }, { 213, 248 }, { 249, 283 }, { 284, 318 }
|
|
};
|
|
|
|
} // End of namespace Access
|