├── .gitignore ├── LICENSE ├── README.md ├── TODO ├── editorwindow.cpp ├── editorwindow.h ├── gba-tileeditor.pro ├── icons.qrc ├── icons ├── change-properties.png ├── copy.png ├── cut.png ├── eyedropper.png ├── new.png ├── open.png ├── paste.png ├── quit.png ├── redo.png ├── save-as.png ├── save.png ├── show-grid.png ├── undo.png ├── zoom-in.png └── zoom-out.png ├── main.cpp ├── mainwindow.ui ├── map.cpp ├── map.h ├── mapview.cpp ├── mapview.h ├── newdialog.cpp ├── newdialog.h ├── newmap.ui ├── paletteview.cpp ├── paletteview.h └── tiletest ├── affine-tiletest.c ├── regular-tiletest.c ├── test.h ├── test.png ├── testmap128_128.h ├── testmap32_32.h ├── testmap32_64.h ├── testmap64_32.h └── testmap64_64.h /.gitignore: -------------------------------------------------------------------------------- 1 | # ignore Qt generated thingies 2 | Makefile 3 | qrc_icons.cpp 4 | ui_*.h 5 | moc_*.cpp 6 | *.o 7 | gba-tileeditor 8 | *.gba 9 | *.elf 10 | .qmake.stash 11 | moc_predefs.h 12 | *.pro.user 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Ian Finlayson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # gba-tileeditor 2 | A simple tile editor for the Game Boy Advance. 3 | 4 | Installing on Ubuntu Linux: 5 | ------------- 6 | 1. Navigate to https://github.com/IanFinlayson/gba-tileeditor/releases 7 | 2. Download the source code and unpack it. 8 | 3. `sudo apt install qtbase5-dev` 9 | 4. `qmake gba-tileeditor.pro` 10 | 5. `make` 11 | 6. Run gba-tileeditor 12 | 7. To install globally, copy gba-tileeditor to /usr/local/bin 13 | 14 | Installing on Windows: 15 | ------------- 16 | 1. Navigate to https://github.com/IanFinlayson/gba-tileeditor/releases 17 | 2. Download gba-tileeditor-windows.zip file. 18 | 3. Unpack it some place. 19 | 4. Run gba-tileeditor.exe 20 | 21 | Installing on OSX: 22 | ------------- 23 | 1. Navigate to https://github.com/IanFinlayson/gba-tileeditor/releases 24 | 2. Download gba-tileeditor-osx.app.zip 25 | 3. Unzip the archive file. 26 | 4. Drag the .app file into your Applications folder. 27 | 5. Click yes, when it warns you about an untrusted developer. 28 | 29 | 30 | -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | Todo list for this program: 2 | --------------------------- 3 | 4 | 1. Figure out how to use 128 by 128 maps properly, also test 16 by 16 at that point. 5 | 2. Add a "shift" feature which will shift the map around horizontally or 6 | vertically. This will facilitate lining maps up on the edges right. 7 | 3. Add a multi-tile select along with copy and paster feature. This will be 8 | tricky, but make the program *much* more pleasant to use. 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /editorwindow.cpp: -------------------------------------------------------------------------------- 1 | /* editorwindow.cpp 2 | * implementation fle for the main editor window */ 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include "editorwindow.h" 11 | #include "newdialog.h" 12 | #include "ui_mainwindow.h" 13 | #include "ui_newmap.h" 14 | 15 | /* shows a generic popup message */ 16 | void popup(const char* message) { 17 | QMessageBox msgBox; 18 | msgBox.setWindowTitle("GBA Tile Editor"); 19 | msgBox.setText(message); 20 | msgBox.exec(); 21 | } 22 | 23 | /* constructor which stores the app so we can quit later */ 24 | EditorWindow::EditorWindow(QApplication* app) { 25 | this->app = app; 26 | grid_mode = false; 27 | map = NULL; 28 | tiles_loaded = false; 29 | grid_color = QColor(255, 0, 0); 30 | setWindowTitle("GBA Tile Editor"); 31 | current_tile = 0; 32 | just_saved = true; 33 | zoom_factor = 2; 34 | filename_valid = false; 35 | } 36 | 37 | /* set the map and palette areas */ 38 | void EditorWindow::set_areas(QGraphicsScene* map, QGraphicsScene* palette) { 39 | this->map_scene = map; 40 | this->palette_scene = palette; 41 | } 42 | 43 | /* set up all the signal and slot triggers for each action */ 44 | void EditorWindow::setup_triggers(Ui_MainWindow* ui) { 45 | /* the main window actions */ 46 | QObject::connect(ui->actionNew, SIGNAL(triggered()), this, SLOT(on_new())); 47 | QObject::connect(ui->actionOpen, SIGNAL(triggered()), this, SLOT(on_open())); 48 | QObject::connect(ui->actionSave, SIGNAL(triggered()), this, SLOT(on_save())); 49 | QObject::connect(ui->actionSave_As, SIGNAL(triggered()), this, SLOT(on_save_as())); 50 | QObject::connect(ui->actionQuit, SIGNAL(triggered()), this, SLOT(on_quit())); 51 | QObject::connect(ui->actionUndo, SIGNAL(triggered()), this, SLOT(on_undo())); 52 | QObject::connect(ui->actionRedo, SIGNAL(triggered()), this, SLOT(on_redo())); 53 | QObject::connect(ui->actionZoom_In, SIGNAL(triggered()), this, SLOT(on_zoom_in())); 54 | QObject::connect(ui->actionZoom_Out, SIGNAL(triggered()), this, SLOT(on_zoom_out())); 55 | QObject::connect(ui->actionChange_Properties, SIGNAL(triggered()), this, SLOT(on_change_properties())); 56 | QObject::connect(ui->actionShow_Grid, SIGNAL(triggered()), this, SLOT(on_grid())); 57 | QObject::connect(ui->actionEyedropper, SIGNAL(triggered()), this, SLOT(on_eyedropper())); 58 | 59 | activeTileInToolbarAction = ui->toolBar->addAction(""); 60 | eyedropper = ui->actionEyedropper; 61 | } 62 | 63 | /* refresh the map area */ 64 | void EditorWindow::refresh_map() { 65 | if (!tiles_loaded || !map) { 66 | return; 67 | } 68 | 69 | QPixmap p = map->get_pixmap(&tiles, grid_mode, grid_color); 70 | 71 | /* zoom in, if needed */ 72 | if (zoom_factor > 1) { 73 | p = p.scaled(p.width() * zoom_factor, p.height() * zoom_factor, 74 | Qt::IgnoreAspectRatio, Qt::FastTransformation); 75 | } 76 | 77 | map_scene->clear(); 78 | map_scene->addPixmap(p); 79 | } 80 | 81 | /* refresh the palette area */ 82 | void EditorWindow::refresh_palette() { 83 | /* get a pixmap, either with or without grid lines */ 84 | QPixmap p; 85 | if (grid_mode) { 86 | p = QPixmap::fromImage(tiles_grid); 87 | } else { 88 | p = QPixmap::fromImage(tiles); 89 | } 90 | 91 | /* zoom in, if needed */ 92 | if (zoom_factor > 1) { 93 | p = p.scaled(p.width() * zoom_factor, p.height() * zoom_factor, 94 | Qt::IgnoreAspectRatio, Qt::FastTransformation); 95 | } 96 | palette_scene->clear(); 97 | palette_scene->addPixmap(p); 98 | } 99 | 100 | /* called when the user creates a new map */ 101 | void EditorWindow::on_new() { 102 | /* if there are no tiles, we must bail */ 103 | if (!tiles_loaded) { 104 | popup("Set a tile image file first!"); 105 | return; 106 | } 107 | 108 | /* check if we should save first */ 109 | if (!just_saved) { 110 | if (!check_save()) { 111 | return; 112 | } 113 | } 114 | 115 | /* create our new map dialog */ 116 | NewDialog* dialog = new NewDialog(); 117 | Ui_NewMapDialog ui; 118 | ui.setupUi(dialog); 119 | 120 | /* setup the triggers for this thing and fire it */ 121 | dialog->setup_triggers(&ui); 122 | dialog->exec(); 123 | 124 | /* get the outcome of this */ 125 | int choice = dialog->get_selection(); 126 | 127 | /* if we actually chose an image size */ 128 | if (choice != -1) { 129 | /* create the appropriately sized map */ 130 | if (dialog->is_regular()) { 131 | switch (choice) { 132 | /* REGULAR maps */ 133 | case 0: map = new Map(32, 32, true); break; 134 | case 1: map = new Map(32, 64, true); break; 135 | case 2: map = new Map(64, 32, true); break; 136 | case 3: map = new Map(64, 64, true); break; 137 | } 138 | } else { 139 | switch (choice) { 140 | /* AFFINE maps */ 141 | case 0: map = new Map(16, 16, false); break; 142 | case 1: map = new Map(32, 32, false); break; 143 | case 2: map = new Map(64, 64, false); break; 144 | case 3: map = new Map(128, 128, false); break; 145 | } 146 | } 147 | 148 | /* apply the map */ 149 | refresh_map(); 150 | just_saved = true; 151 | filename_valid = false; 152 | } 153 | } 154 | 155 | /* called when the user quits via the window manager */ 156 | void EditorWindow::closeEvent(QCloseEvent* event) { 157 | if (!just_saved) { 158 | if (!check_save()) { 159 | event->ignore(); 160 | return; 161 | } 162 | } 163 | event->accept(); 164 | } 165 | 166 | /* ask the user if they want to save first - returns true if we should 167 | * carry on and false if we should abort whatever it is we are doing */ 168 | bool EditorWindow::check_save() { 169 | QMessageBox msgBox; 170 | msgBox.setWindowTitle("GBA Tile Editor"); 171 | msgBox.setText("The document has been modified."); 172 | msgBox.setInformativeText("Do you want to save your changes first?"); 173 | msgBox.setStandardButtons(QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel); 174 | msgBox.setDefaultButton(QMessageBox::Save); 175 | switch (msgBox.exec()) { 176 | case QMessageBox::Save: 177 | on_save(); 178 | return true; 179 | case QMessageBox::Discard: 180 | return true; 181 | case QMessageBox::Cancel: 182 | return false; 183 | default: 184 | return false; 185 | } 186 | } 187 | 188 | /* called when the user toggles the grid option (default is off) */ 189 | void EditorWindow::on_grid() { 190 | grid_mode = !grid_mode; 191 | refresh_map(); 192 | refresh_palette(); 193 | } 194 | 195 | /* called when the user chooses the open map option */ 196 | void EditorWindow::on_open() { 197 | /* if we have no tiles, bail */ 198 | if (!tiles_loaded) { 199 | popup("Set a tile image file first!"); 200 | return; 201 | } 202 | 203 | /* check if we need to save first */ 204 | if (!just_saved) { 205 | if (!check_save()) { 206 | return; 207 | } 208 | } 209 | 210 | /* get the file name */ 211 | filename = QFileDialog::getOpenFileName(this, tr("Open File"), "", tr("Map Headers (*.h)")); 212 | if (filename != "") { 213 | filename_valid = true; 214 | if (map) { 215 | delete map; 216 | } 217 | map = new Map(); 218 | if (map->read(filename.toStdString())) { 219 | /* apply the map */ 220 | refresh_map(); 221 | just_saved = true; 222 | } else { 223 | popup("The file does not appear to be a valid map header"); 224 | } 225 | } 226 | } 227 | 228 | /* used for saving stuff */ 229 | QString EditorWindow::get_save_name() { 230 | QString f = QFileDialog::getSaveFileName(this, tr("Save File"), "", tr("Map Headers (*.h)")); 231 | return f; 232 | } 233 | 234 | /* actually perform the save */ 235 | void EditorWindow::save_to_file() { 236 | if (map) { 237 | map->write(filename.toStdString()); 238 | just_saved = true; 239 | } else { 240 | popup("There is nothing to save yet!"); 241 | } 242 | } 243 | 244 | /* called when the user chooses the save option */ 245 | void EditorWindow::on_save() { 246 | if (filename_valid) { 247 | save_to_file(); 248 | } else { 249 | on_save_as(); 250 | } 251 | } 252 | 253 | /* called when user chooses save as option */ 254 | void EditorWindow::on_save_as() { 255 | filename_valid = true; 256 | filename = get_save_name(); 257 | if (filename != "") { 258 | save_to_file(); 259 | } 260 | } 261 | 262 | /* called when the user chooses a tile image */ 263 | void EditorWindow::on_change_properties() { 264 | /* get the file name of the file they wish to use */ 265 | QString file = QFileDialog::getOpenFileName(this, 266 | tr("Set Image"), "", tr("Image Files (*.png)")); 267 | 268 | /* check if the string is null */ 269 | if (file.isNull()) { 270 | return; 271 | } 272 | 273 | /* set the image itself */ 274 | tiles.load(file); 275 | tiles_loaded = true; 276 | 277 | /* compute the tile image but with grid lines */ 278 | tiles_grid = tiles.copy(); 279 | 280 | /* for each row 7 of a tile */ 281 | for (int i = 7; i < tiles_grid.height(); i += 8) { 282 | /* for each column */ 283 | for (int j = 0; j < tiles_grid.width(); j++) { 284 | tiles_grid.setPixel(j, i, grid_color.rgba()); 285 | } 286 | } 287 | 288 | /* for each column 7 of a tile */ 289 | for (int i = 7; i < tiles_grid.width(); i += 8) { 290 | /* for each column */ 291 | for (int j = 0; j < tiles_grid.height(); j++) { 292 | tiles_grid.setPixel(i, j, grid_color.rgba()); 293 | } 294 | } 295 | 296 | /* display it in the bottom area */ 297 | refresh_palette(); 298 | } 299 | 300 | /* called when the palette is clicked */ 301 | void EditorWindow::palette_click(int x, int y) { 302 | /* if there is no palette, then bail */ 303 | if (!tiles_loaded) { 304 | return; 305 | } 306 | 307 | /* scale the click */ 308 | x /= zoom_factor; 309 | y /= zoom_factor; 310 | 311 | /* if the click is out of bounds, then bail */ 312 | if (x > tiles.width() || y > tiles.height()) { 313 | return; 314 | } 315 | 316 | /* figure out which tile they clicked */ 317 | int tile = (y / 8) * (tiles.width() / 8) + (x / 8); 318 | 319 | /* set the current tile based on this */ 320 | current_tile = tile; 321 | updateTilePreviewIcon(); 322 | } 323 | 324 | void EditorWindow::updateTilePreviewIcon() { 325 | int tilex = (current_tile * 8) % (tiles.width()); 326 | int tiley = ((current_tile * 8) / (tiles.width())) * 8; 327 | 328 | QImage image(8, 8, QImage::Format_RGB555); 329 | 330 | for (int i = 0; i < 8; i++) { 331 | for (int j = 0; j < 8; j++) { 332 | QRgb color = tiles.pixel(tilex + i, tiley + j); 333 | image.setPixel(i, j, color); 334 | } 335 | } 336 | 337 | activeTileInToolbarAction->setIcon(QPixmap::fromImage(image.scaled(32, 32, Qt::KeepAspectRatio))); 338 | } 339 | 340 | /* called when the map is clicked */ 341 | void EditorWindow::map_click(int x, int y) { 342 | /* if there is no map, then bail */ 343 | if (!map) { 344 | return; 345 | } 346 | 347 | /* scale the click */ 348 | x /= zoom_factor; 349 | y /= zoom_factor; 350 | 351 | /* if the click is out of bounds, then bail */ 352 | if (x >= (map->get_width() * 8) || x < 0 || y > (map->get_height() * 8)) { 353 | return; 354 | } 355 | 356 | /* figure out which tile they clicked */ 357 | int tile = (y / 8) * map->get_width() + (x / 8); 358 | 359 | /* apply this tile */ 360 | just_saved = false; 361 | 362 | if (eyedropper->isChecked()) { 363 | if (!eyedropper_key_held) { 364 | eyedropper->setChecked(false); 365 | } 366 | current_tile = map->get_tile(tile); 367 | updateTilePreviewIcon(); 368 | } 369 | else { 370 | if (map->get_tile(tile) != current_tile) { 371 | map->set_tile(tile, current_tile); 372 | refresh_map(); 373 | } 374 | } 375 | } 376 | 377 | void EditorWindow::start_drag() { 378 | if (map != NULL) { 379 | map->start_drag(); 380 | } 381 | } 382 | 383 | /* called when the user quits from the application */ 384 | void EditorWindow::on_quit() { 385 | if (!just_saved) { 386 | if (!check_save()) { 387 | return; 388 | } 389 | } 390 | app->exit(); 391 | } 392 | 393 | /* called when the user hits undo */ 394 | void EditorWindow::on_undo() { 395 | if (map) { 396 | map->undo(); 397 | 398 | /* apply the map */ 399 | refresh_map(); 400 | } 401 | } 402 | 403 | /* called when the user hits redo */ 404 | void EditorWindow::on_redo() { 405 | if (map) { 406 | map->redo(); 407 | 408 | /* apply the map */ 409 | refresh_map(); 410 | } 411 | } 412 | 413 | /* called when the user zooms in */ 414 | void EditorWindow::on_zoom_in() { 415 | if (zoom_factor < 8) { 416 | zoom_factor *= 2; 417 | } 418 | if (map) { 419 | refresh_map(); 420 | } 421 | if (tiles_loaded) { 422 | refresh_palette(); 423 | } 424 | } 425 | 426 | /* called when the user zooms out */ 427 | void EditorWindow::on_zoom_out() { 428 | if (zoom_factor > 1) { 429 | zoom_factor /= 2; 430 | } 431 | if (map) { 432 | refresh_map(); 433 | } 434 | if (tiles_loaded) { 435 | refresh_palette(); 436 | } 437 | } 438 | 439 | void EditorWindow::on_eyedropper() { 440 | // ¯\_(ツ)_/¯ 441 | } 442 | 443 | void EditorWindow::keyPressEvent(QKeyEvent* e) { 444 | if (e->key() == Qt::Key_Control) { 445 | if (!eyedropper->isChecked()) { 446 | eyedropper_key_held = true; 447 | eyedropper->setChecked(true); 448 | } 449 | } 450 | } 451 | 452 | void EditorWindow::keyReleaseEvent(QKeyEvent* e) { 453 | if (e->key() == Qt::Key_Control) { 454 | if (eyedropper_key_held) { 455 | eyedropper->setChecked(false); 456 | eyedropper_key_held = false; 457 | } 458 | } 459 | } 460 | -------------------------------------------------------------------------------- /editorwindow.h: -------------------------------------------------------------------------------- 1 | /* main.h 2 | * contains the class declarations 3 | * this has to be in a header file for QT to function */ 4 | 5 | #ifndef EDITOR_WINDOW_H 6 | #define EDITOR_WINDOW_H 7 | 8 | #include "ui_mainwindow.h" 9 | #include "map.h" 10 | 11 | #include 12 | #include 13 | #include 14 | 15 | class EditorWindow : public QMainWindow { 16 | Q_OBJECT 17 | 18 | private: 19 | /* pointer to the main app so we can close it */ 20 | QApplication* app; 21 | 22 | QAction* activeTileInToolbarAction; 23 | 24 | QAction* eyedropper; 25 | bool eyedropper_key_held; 26 | 27 | /* pointers to the map and palette area */ 28 | QGraphicsScene* map_scene; 29 | QGraphicsScene* palette_scene; 30 | 31 | /* the image used as the tile sheet */ 32 | bool tiles_loaded; 33 | QImage tiles; 34 | QImage tiles_grid; 35 | QColor grid_color; 36 | 37 | /* the currently selected tile used for drawing */ 38 | int current_tile; 39 | 40 | /* pointer to the actual map data */ 41 | Map* map; 42 | 43 | /* the filename, and whether it is valid at all */ 44 | bool filename_valid; 45 | QString filename; 46 | 47 | /* used for saving stuff */ 48 | QString get_save_name(); 49 | void save_to_file(); 50 | 51 | /* whether we have just saved our work */ 52 | bool just_saved; 53 | bool check_save(); 54 | 55 | /* the zoom factor we are using */ 56 | int zoom_factor; 57 | 58 | /* whether we are draing the grid over the palette and map */ 59 | bool grid_mode; 60 | 61 | /* refreshes the map or palette views */ 62 | void refresh_map(); 63 | void refresh_palette(); 64 | void updateTilePreviewIcon(); 65 | 66 | void keyPressEvent(QKeyEvent* event); 67 | void keyReleaseEvent(QKeyEvent* event); 68 | 69 | public: 70 | EditorWindow(QApplication* app); 71 | void set_areas(QGraphicsScene* map, QGraphicsScene* palette); 72 | void setup_triggers(Ui_MainWindow* ui); 73 | void palette_click(int x, int y); 74 | void map_click(int x, int y); 75 | void start_drag(); 76 | void closeEvent(QCloseEvent* event); 77 | 78 | public slots: 79 | /* actions for the main window */ 80 | void on_new(); 81 | void on_open(); 82 | void on_save(); 83 | void on_save_as(); 84 | void on_change_properties(); 85 | void on_quit(); 86 | void on_undo(); 87 | void on_redo(); 88 | void on_zoom_in(); 89 | void on_zoom_out(); 90 | void on_grid(); 91 | void on_eyedropper(); 92 | }; 93 | 94 | #endif 95 | 96 | -------------------------------------------------------------------------------- /gba-tileeditor.pro: -------------------------------------------------------------------------------- 1 | # set options 2 | CONFIG += qt debug 3 | 4 | # set the QT modules we need 5 | QT += core gui 6 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport 7 | 8 | # build an application 9 | TARGET = gba-tileeditor 10 | TEMPLATE = app 11 | 12 | # specify all the files we need 13 | SOURCES = main.cpp editorwindow.cpp newdialog.cpp paletteview.cpp mapview.cpp \ 14 | map.cpp 15 | HEADERS = editorwindow.h newdialog.h paletteview.h mapview.h map.h 16 | FORMS = mainwindow.ui newmap.ui 17 | RESOURCES = icons.qrc 18 | 19 | -------------------------------------------------------------------------------- /icons.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | icons/copy.png 4 | icons/cut.png 5 | icons/new.png 6 | icons/open.png 7 | icons/paste.png 8 | icons/change-properties.png 9 | icons/quit.png 10 | icons/redo.png 11 | icons/save-as.png 12 | icons/save.png 13 | icons/undo.png 14 | icons/zoom-in.png 15 | icons/zoom-out.png 16 | icons/show-grid.png 17 | icons/eyedropper.png 18 | 19 | 20 | -------------------------------------------------------------------------------- /icons/change-properties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/change-properties.png -------------------------------------------------------------------------------- /icons/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/copy.png -------------------------------------------------------------------------------- /icons/cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/cut.png -------------------------------------------------------------------------------- /icons/eyedropper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/eyedropper.png -------------------------------------------------------------------------------- /icons/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/new.png -------------------------------------------------------------------------------- /icons/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/open.png -------------------------------------------------------------------------------- /icons/paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/paste.png -------------------------------------------------------------------------------- /icons/quit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/quit.png -------------------------------------------------------------------------------- /icons/redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/redo.png -------------------------------------------------------------------------------- /icons/save-as.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/save-as.png -------------------------------------------------------------------------------- /icons/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/save.png -------------------------------------------------------------------------------- /icons/show-grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/show-grid.png -------------------------------------------------------------------------------- /icons/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/undo.png -------------------------------------------------------------------------------- /icons/zoom-in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/zoom-in.png -------------------------------------------------------------------------------- /icons/zoom-out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/icons/zoom-out.png -------------------------------------------------------------------------------- /main.cpp: -------------------------------------------------------------------------------- 1 | /* main.cpp 2 | * main function for the tile editor GUI */ 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include "editorwindow.h" 9 | #include "newdialog.h" 10 | #include "ui_mainwindow.h" 11 | #include "ui_newmap.h" 12 | 13 | /* main entry point */ 14 | int main(int argc, char** argv) { 15 | /* pass flags to QT */ 16 | QApplication app(argc, argv); 17 | 18 | /* load the main window ui from the one QT generates from the ui file */ 19 | EditorWindow* window = new EditorWindow(&app); 20 | Ui_MainWindow ui; 21 | /* ignore garbage warnings from QT */ 22 | stderr = fopen("/tmp/gbate-error", "w"); 23 | ui.setupUi(window); 24 | window->setWindowTitle("GBA Tile Editor"); 25 | 26 | /* set up all the triggers */ 27 | window->setup_triggers(&ui); 28 | 29 | /* set up the graphics areas */ 30 | QGraphicsScene* map_scene = new QGraphicsScene(window); 31 | QGraphicsScene* palette_scene = new QGraphicsScene(window); 32 | window->set_areas(map_scene, palette_scene); 33 | 34 | /* set all of the icons */ 35 | ui.actionNew->setIcon(QIcon(":/icons/new.png")); 36 | ui.actionOpen->setIcon(QIcon(":/icons/open.png")); 37 | ui.actionSave->setIcon(QIcon(":/icons/save.png")); 38 | ui.actionSave_As->setIcon(QIcon(":/icons/save-as.png")); 39 | ui.actionChange_Properties->setIcon(QIcon(":/icons/change-properties.png")); 40 | ui.actionQuit->setIcon(QIcon(":/icons/quit.png")); 41 | ui.actionUndo->setIcon(QIcon(":/icons/undo.png")); 42 | ui.actionRedo->setIcon(QIcon(":/icons/redo.png")); 43 | ui.actionZoom_In->setIcon(QIcon(":/icons/zoom-in.png")); 44 | ui.actionZoom_Out->setIcon(QIcon(":/icons/zoom-out.png")); 45 | ui.actionShow_Grid->setIcon(QIcon(":/icons/show-grid.png")); 46 | ui.actionEyedropper->setIcon(QIcon(":/icons/eyedropper.png")); 47 | 48 | /* set up the scenes */ 49 | ui.map_view->setScene(map_scene); 50 | ui.map_view->setAlignment(Qt::AlignLeft | Qt::AlignTop); 51 | ui.map_view->set_window(window); 52 | 53 | ui.palette_view->setScene(palette_scene); 54 | ui.palette_view->setAlignment(Qt::AlignLeft | Qt::AlignTop); 55 | ui.palette_view->set_window(window); 56 | 57 | /* show the window */ 58 | window->show(); 59 | 60 | /* set the backgrounds to gray */ 61 | map_scene->setBackgroundBrush(Qt::lightGray); 62 | palette_scene->setBackgroundBrush(Qt::lightGray); 63 | 64 | /* start the program */ 65 | return app.exec(); 66 | } 67 | 68 | -------------------------------------------------------------------------------- /mainwindow.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | 6 | 7 | 0 8 | 0 9 | 985 10 | 524 11 | 12 | 13 | 14 | MainWindow 15 | 16 | 17 | 18 | 19 | 20 | 21 | Qt::Vertical 22 | 23 | 24 | 25 | ArrowCursor 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 0 37 | 0 38 | 985 39 | 22 40 | 41 | 42 | 43 | 44 | &File 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | &Edit 56 | 57 | 58 | 59 | 60 | 61 | 62 | &View 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | toolBar 75 | 76 | 77 | TopToolBarArea 78 | 79 | 80 | false 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | &New 100 | 101 | 102 | Create a new tile map 103 | 104 | 105 | Ctrl+N 106 | 107 | 108 | 109 | 110 | &Open 111 | 112 | 113 | Open a different tile map 114 | 115 | 116 | Ctrl+O 117 | 118 | 119 | 120 | 121 | &Save 122 | 123 | 124 | Save the tile map 125 | 126 | 127 | Ctrl+S 128 | 129 | 130 | 131 | 132 | Save &As 133 | 134 | 135 | Save tile map to a different file 136 | 137 | 138 | 139 | 140 | &Quit 141 | 142 | 143 | Quit the program 144 | 145 | 146 | Ctrl+Q 147 | 148 | 149 | 150 | 151 | &Undo 152 | 153 | 154 | Undo the lat operation 155 | 156 | 157 | Ctrl+Z 158 | 159 | 160 | 161 | 162 | &Redo 163 | 164 | 165 | Redo the last undone operation 166 | 167 | 168 | Ctrl+Shift+Z 169 | 170 | 171 | 172 | 173 | Zoom In 174 | 175 | 176 | Ctrl+= 177 | 178 | 179 | 180 | 181 | Zoom Out 182 | 183 | 184 | Ctrl+- 185 | 186 | 187 | 188 | 189 | Set &Image 190 | 191 | 192 | Change the base tile image 193 | 194 | 195 | Ctrl+I 196 | 197 | 198 | 199 | 200 | true 201 | 202 | 203 | Show Grid 204 | 205 | 206 | Ctrl+G 207 | 208 | 209 | 210 | 211 | true 212 | 213 | 214 | Eyedropper 215 | 216 | 217 | 218 | 219 | 220 | MapView 221 | QGraphicsView 222 |
mapview.h
223 |
224 | 225 | PaletteView 226 | QGraphicsView 227 |
paletteview.h
228 |
229 |
230 | 231 | 232 |
233 | -------------------------------------------------------------------------------- /map.cpp: -------------------------------------------------------------------------------- 1 | /* map.cpp 2 | * the actual map model which stores the tile information */ 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include "map.h" 11 | 12 | /* construct a new map of a given size, and set to all zeroes */ 13 | Map::Map(int width, int height, bool regular) { 14 | /* convert pixel sizes into tile sizes */ 15 | this->width = width; 16 | this->height = height; 17 | this->regular = regular; 18 | this->tiles = new int[width * height]; 19 | 20 | for (int i = 0; i < width * height; i++) { 21 | tiles[i] = 0; 22 | } 23 | } 24 | 25 | /* access the width of the map (in tiles) */ 26 | int Map::get_width() { 27 | return width; 28 | } 29 | 30 | /* access the width of the map (in tiles) */ 31 | int Map::get_height() { 32 | return height; 33 | } 34 | 35 | /* make a blank map */ 36 | Map::Map() { 37 | width = 0; 38 | height = 0; 39 | regular = true; 40 | tiles = NULL; 41 | } 42 | 43 | /* clear the memory for this map */ 44 | Map::~Map() { 45 | if (tiles) { 46 | delete [] tiles; 47 | } 48 | 49 | while (!undo_stack.empty()) { 50 | int* tmp = undo_stack.top(); 51 | undo_stack.pop(); 52 | delete [] tmp; 53 | } 54 | 55 | while (!redo_stack.empty()) { 56 | int* tmp = redo_stack.top(); 57 | redo_stack.pop(); 58 | delete [] tmp; 59 | } 60 | } 61 | 62 | /* gets a tile from the map using the complex indexing required 63 | * must be called until it returns NULL */ 64 | int* Map::lookup_tile(int& sb, int& row, int& col, int& above, int& left) { 65 | /* if it's an affine background, then we must do them strictly in order */ 66 | if (!regular) { 67 | /* we just go tile by tile */ 68 | if (row == height) { 69 | return NULL; 70 | } 71 | 72 | /* grab the value */ 73 | int* value = &tiles[row * width + col]; 74 | 75 | /* update counters */ 76 | col++; 77 | if (col == width) { 78 | col = 0; 79 | row++; 80 | } 81 | 82 | return value; 83 | } 84 | 85 | /* count the screen block we have to write */ 86 | int num_sbs = (width * height) / 1024; 87 | 88 | /* check if we are done */ 89 | if (sb == num_sbs) { 90 | return NULL; 91 | } 92 | 93 | /* get the next one based off of the current indices */ 94 | int realrow = row + 32 * above; 95 | int realcol = col + 32 * left; 96 | 97 | /* update the column */ 98 | col++; 99 | 100 | /* if the column is out, move to the next row */ 101 | if (col == 32) { 102 | row++; 103 | col = 0; 104 | } 105 | 106 | /* if the row is out, move to next screen block */ 107 | if (row == 32) { 108 | /* if we just did the last screen block in a row of screen blocks */ 109 | int last; 110 | switch (num_sbs) { 111 | case 1: 112 | last = 1; 113 | break; 114 | case 2: 115 | if (width == 32) 116 | last = 1; 117 | else 118 | last = 0; 119 | break; 120 | case 4: 121 | if (sb == 1 || sb == 3) 122 | last = 1; 123 | else 124 | last = 0; 125 | break; 126 | case 16: 127 | if ((sb + 1) % 4 == 0) 128 | last = 1; 129 | else 130 | last = 0; 131 | break; 132 | } 133 | 134 | /* if it WAS the last in a row, none are left and one more is above 135 | * otherwise, one more is to the left */ 136 | if (last) { 137 | left = 0; 138 | above++; 139 | } else { 140 | left++; 141 | } 142 | 143 | /* now update to the next block */ 144 | sb++; 145 | row = 0; 146 | } 147 | 148 | /* finally return the shit */ 149 | return &tiles[realrow * width + realcol]; 150 | } 151 | 152 | /* read this map in from a file */ 153 | bool Map::read(const std::string& filename) { 154 | std::string line; 155 | std::ifstream f(filename.c_str()); 156 | 157 | /* check our little signature is there */ 158 | if (!std::getline(f, line)) return false; 159 | if (line != "/* created by GBA Tile Editor") { 160 | return false; 161 | } 162 | 163 | /* read our map tpye (regular or affine) */ 164 | if (!std::getline(f, line)) return false; 165 | else { 166 | std::istringstream iss(line); 167 | std::string type; 168 | iss >> type; 169 | 170 | if (type == "regular") { 171 | this->regular = true; 172 | } else if (type == "affine") { 173 | this->regular = false; 174 | } else { 175 | return false; 176 | } 177 | } 178 | 179 | /* skip the blank line */ 180 | if (!std::getline(f, line)) return false; 181 | 182 | /* read the width */ 183 | if (!std::getline(f, line)) return false; 184 | else { 185 | std::istringstream iss(line); 186 | std::string def, name; 187 | int val; 188 | iss >> def >> name >> val; 189 | width = val; 190 | } 191 | 192 | /* read the height */ 193 | if (!std::getline(f, line)) return false; 194 | else { 195 | std::istringstream iss(line); 196 | std::string def, name; 197 | int val; 198 | iss >> def >> name >> val; 199 | height = val; 200 | } 201 | 202 | /* skip the blank line and the declaration line */ 203 | if (!std::getline(f, line)) return false; 204 | if (!std::getline(f, line)) return false; 205 | 206 | /* allocate space for the tiles */ 207 | this->tiles = new int[width * height]; 208 | 209 | /* read the pixel data */ 210 | std::string value; 211 | 212 | /* start the complex indexing loop operation */ 213 | int sb = 0; 214 | int above = 0; 215 | int left = 0; 216 | int row = 0; 217 | int col = 0; 218 | int* tile; 219 | 220 | /* grab the next tile we need to write into */ 221 | while ((tile = lookup_tile(sb, row, col, above, left))) { 222 | /* read the value */ 223 | if (! (f >> value)) { 224 | return false; 225 | } 226 | 227 | /* convert to a number */ 228 | int val = strtol(value.c_str(), NULL, 16); 229 | 230 | /* now we need to put it into its place */ 231 | *tile = val; 232 | } 233 | 234 | return true; 235 | } 236 | 237 | /* write this map into a file */ 238 | void Map::write(const std::string& filename) { 239 | FILE* f = fopen(filename.c_str(), "w"); 240 | 241 | /* find the name which is filename with .h cut off */ 242 | QFileInfo info(filename.c_str()); 243 | std::string name = info.baseName().toStdString(); 244 | 245 | /* write preamble stuff */ 246 | fprintf(f, "/* created by GBA Tile Editor\n"); 247 | fprintf(f, " %s map */\n\n", regular ? "regular" : "affine"); 248 | fprintf(f, "#define %s_width %d\n", name.c_str(), width); 249 | fprintf(f, "#define %s_height %d\n\n", name.c_str(), height); 250 | 251 | /* affine backgrounds are 8-bit values, regular are 16-bit */ 252 | if (!regular) { 253 | fprintf(f, "const unsigned char %s [] = {\n ", name.c_str()); 254 | } else { 255 | fprintf(f, "const unsigned short %s [] = {\n ", name.c_str()); 256 | } 257 | 258 | /* start line break counter */ 259 | int counter = 0; 260 | 261 | /* start the complex indexing loop operation */ 262 | int sb = 0; 263 | int above = 0; 264 | int left = 0; 265 | int row = 0; 266 | int col = 0; 267 | int* tile; 268 | 269 | /* grab the next tile we need to write into */ 270 | while ((tile = lookup_tile(sb, row, col, above, left))) { 271 | /* dump it into the file 272 | * regular backgrounds use 16-bit indices, affine ones use 8-bit ones */ 273 | if (!regular) { 274 | fprintf(f, "0x%02x, ", (unsigned char)(*tile)); 275 | } else { 276 | fprintf(f, "0x%04x, ", (unsigned short)(*tile)); 277 | } 278 | 279 | counter++; 280 | if (counter >= 9) { 281 | fprintf(f, "\n "); 282 | counter = 0; 283 | } 284 | } 285 | 286 | /* write postamble stuff */ 287 | if (counter) { 288 | fprintf(f, "\n"); 289 | } 290 | fprintf(f, "};\n\n"); 291 | 292 | fclose(f); 293 | } 294 | 295 | /* pushes map state to undo stack when drag is started */ 296 | void Map::start_drag() { 297 | int* temp = new int[width * height]; 298 | for (int i = 0; i < width * height; i++) { 299 | temp[i] = tiles[i]; 300 | } 301 | 302 | undo_stack.push(temp); 303 | } 304 | 305 | /* modify the tile */ 306 | void Map::set_tile(int index, int tile_no) { 307 | tiles[index] = tile_no; 308 | } 309 | 310 | int Map::get_tile(int index) { 311 | return tiles[index]; 312 | } 313 | 314 | /* get a pixmap from this Map which can be shown in a QT view */ 315 | QPixmap Map::get_pixmap(QImage* tile_image, bool grid_mode, QColor grid_color) { 316 | /* create an image which we can draw into */ 317 | QImage image(width * 8, height * 8, QImage::Format_RGB555); 318 | 319 | /* for each tile in the map */ 320 | for (int col = 0; col < width; col++) { 321 | for (int row = 0; row < height; row++) { 322 | /* get the tile number we want */ 323 | int tileno = tiles[row * width + col]; 324 | 325 | /* get the x, y position of this tile in the tile image 326 | * these represent the upper left hand corner of the tile */ 327 | int tilex = (tileno * 8) % (tile_image->width()); 328 | int tiley = ((tileno * 8) / (tile_image->width())) * 8; 329 | 330 | /* get the x, y position of this tile in the map image 331 | * ditto for upper left corner */ 332 | int mapx = col * 8; 333 | int mapy = row * 8; 334 | 335 | /* now we will blit the whole tile manually */ 336 | for (int i = 0; i < 8; i++) { 337 | for (int j = 0; j < 8; j++) { 338 | QRgb color = tile_image->pixel(tilex + i, tiley + j); 339 | image.setPixel(mapx + i, mapy + j, color); 340 | } 341 | } 342 | } 343 | } 344 | 345 | /* draw the grid, if needed */ 346 | if (grid_mode) { 347 | 348 | /* for each row 7 of a tile */ 349 | for (int i = 7; i < image.height(); i += 8) { 350 | /* for each column */ 351 | for (int j = 0; j < image.width(); j++) { 352 | image.setPixel(j, i, grid_color.rgba()); 353 | } 354 | } 355 | 356 | /* for each column 7 of a tile */ 357 | for (int i = 7; i < image.width(); i += 8) { 358 | /* for each column */ 359 | for (int j = 0; j < image.height(); j++) { 360 | image.setPixel(i, j, grid_color.rgba()); 361 | } 362 | } 363 | } 364 | 365 | /* return a pixmap out of this image */ 366 | return QPixmap::fromImage(image); 367 | } 368 | 369 | /* undo the last move made */ 370 | void Map::undo() { 371 | if (undo_stack.empty()) { 372 | return; 373 | } 374 | 375 | /* pop off the last one */ 376 | int* restore = undo_stack.top(); 377 | undo_stack.pop(); 378 | 379 | /* replace tiles with it */ 380 | int* current = tiles; 381 | tiles = restore; 382 | 383 | /* push this onto redo stack */ 384 | redo_stack.push(current); 385 | } 386 | 387 | /* redo the last move made */ 388 | void Map::redo() { 389 | if (redo_stack.empty()) { 390 | return; 391 | } 392 | 393 | /* pop off the last one */ 394 | int* restore = redo_stack.top(); 395 | redo_stack.pop(); 396 | 397 | /* replace tiles with it */ 398 | int* current = tiles; 399 | tiles = restore; 400 | 401 | /* push this onto redo stack */ 402 | undo_stack.push(current); 403 | } 404 | 405 | 406 | -------------------------------------------------------------------------------- /map.h: -------------------------------------------------------------------------------- 1 | /* map.h 2 | * the actual map model which stores the tile information */ 3 | 4 | #ifndef MAP_H 5 | #define MAP_H 6 | 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | class Map { 13 | private: 14 | /* width and height measured in tiles */ 15 | int width, height; 16 | int* tiles; 17 | 18 | /* whether this is a regular map (if not it's affine) */ 19 | bool regular; 20 | 21 | /* undo and redo stacks store the tile information */ 22 | std::stack undo_stack; 23 | std::stack redo_stack; 24 | 25 | /* do the tile lookup in the order that the GBA requires */ 26 | int* lookup_tile(int& sb, int& row, int& col, int& above, int& left); 27 | 28 | public: 29 | Map(int width, int height, bool regular); 30 | Map(); 31 | ~Map(); 32 | 33 | /* get a pixmap of what this map will look like when rendered */ 34 | QPixmap get_pixmap(QImage* tiles, bool grid_mode, QColor grid_color); 35 | 36 | /* load/save the map from/to a file */ 37 | void write(const std::string& filename); 38 | bool read(const std::string& filename); 39 | 40 | void start_drag(); 41 | 42 | /* set a tile in the map to a new value */ 43 | void set_tile(int index, int tile_no); 44 | int get_tile(int index); 45 | 46 | /* get the dimensions */ 47 | int get_width(); 48 | int get_height(); 49 | 50 | /* undo or redo last operation */ 51 | void undo(); 52 | void redo(); 53 | }; 54 | 55 | #endif 56 | 57 | 58 | -------------------------------------------------------------------------------- /mapview.cpp: -------------------------------------------------------------------------------- 1 | /* mapview.cpp 2 | * the map view implementation file */ 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include "editorwindow.h" 10 | #include "newdialog.h" 11 | #include "qnamespace.h" 12 | #include "ui_mainwindow.h" 13 | #include "ui_newmap.h" 14 | 15 | MapView::MapView(QWidget* parent) : QGraphicsView(parent), dragging(false) { 16 | 17 | } 18 | 19 | /* tell the component about the window its in */ 20 | void MapView::set_window(EditorWindow* window) { 21 | this->window = window; 22 | } 23 | 24 | /* mouse handlers */ 25 | void MapView::mouseMoveEvent(QMouseEvent* e) { 26 | if(!dragging) { 27 | return; 28 | } 29 | updateMapAt(e); 30 | } 31 | 32 | void MapView::updateMapAt(QMouseEvent* e) { 33 | /* find the position of our scroll bar */ 34 | int scroll_x = horizontalScrollBar()->value(); 35 | int scroll_y = verticalScrollBar()->value(); 36 | 37 | /* apply the click onto the window - adjusted for scroll */ 38 | window->map_click(e->x() + scroll_x, e->y() + scroll_y); 39 | } 40 | 41 | 42 | void MapView::mouseReleaseEvent(QMouseEvent* e) { 43 | if (e->button() == Qt::LeftButton) { 44 | dragging = false; 45 | } 46 | } 47 | 48 | void MapView::mousePressEvent(QMouseEvent* e) { 49 | if (e->button() == Qt::LeftButton) { 50 | dragging = true; 51 | window->start_drag(); 52 | 53 | updateMapAt(e); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /mapview.h: -------------------------------------------------------------------------------- 1 | /* mapview.h 2 | * contains the class declarations 3 | * this has to be in a header file for QT to function */ 4 | 5 | #ifndef MAPVIEW_h 6 | #define MAPVIEW_h 7 | 8 | #include 9 | 10 | class EditorWindow; 11 | 12 | class MapView : public QGraphicsView { 13 | Q_OBJECT 14 | 15 | private: 16 | EditorWindow* window; 17 | bool dragging; 18 | void updateMapAt(QMouseEvent* event); 19 | 20 | public: 21 | MapView(QWidget* parent); 22 | void set_window(EditorWindow* window); 23 | void mousePressEvent(QMouseEvent* event); 24 | void mouseReleaseEvent(QMouseEvent* event); 25 | void mouseMoveEvent(QMouseEvent* event); 26 | 27 | }; 28 | 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /newdialog.cpp: -------------------------------------------------------------------------------- 1 | /* newdialog.cpp 2 | * implementation of new map dialog class */ 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include "editorwindow.h" 9 | #include "newdialog.h" 10 | #include "ui_mainwindow.h" 11 | #include "ui_newmap.h" 12 | 13 | /* setup the OK and Cancel button actions for the dialog */ 14 | void NewDialog::setup_triggers(Ui_NewMapDialog* nd) { 15 | /* the new map dialog */ 16 | QObject::connect(nd->actionOK, SIGNAL(triggered()), this, SLOT(nd_ok())); 17 | QObject::connect(nd->actionCancel, SIGNAL(triggered()), this, SLOT(nd_cancel())); 18 | combo = nd->comboBox; 19 | 20 | /* add the options for tile maps the default is regular */ 21 | on_regular(); 22 | 23 | /* set up the callbacks for changing the type of tile map it is */ 24 | QObject::connect(nd->actionRegular, SIGNAL(triggered()), this, SLOT(on_regular())); 25 | QObject::connect(nd->actionAffine, SIGNAL(triggered()), this, SLOT(on_affine())); 26 | } 27 | 28 | /* set initial values */ 29 | NewDialog::NewDialog() { 30 | success = false; 31 | option = 0; 32 | } 33 | 34 | void NewDialog::on_regular() { 35 | combo->clear(); 36 | combo->addItem("32x32"); 37 | combo->addItem("32x64"); 38 | combo->addItem("64x32"); 39 | combo->addItem("64x64"); 40 | regular = true; 41 | } 42 | 43 | void NewDialog::on_affine() { 44 | combo->clear(); 45 | combo->addItem("16x16"); 46 | combo->addItem("32x32"); 47 | combo->addItem("64x64"); 48 | combo->addItem("128x128"); 49 | regular = false; 50 | } 51 | 52 | 53 | /* called when OK is pressed */ 54 | void NewDialog::nd_ok() { 55 | success = true; 56 | option = combo->currentIndex(); 57 | close(); 58 | } 59 | 60 | /* check which option the user chose in the dialog (-1 on cancel) */ 61 | int NewDialog::get_selection() { 62 | if (success) { 63 | return option; 64 | } else { 65 | return -1; 66 | } 67 | } 68 | 69 | /* return whether the user chose a regular or affine background */ 70 | bool NewDialog::is_regular() { 71 | return regular; 72 | } 73 | 74 | /* called when cancel is pressed */ 75 | void NewDialog::nd_cancel() { 76 | success = false; 77 | close(); 78 | } 79 | 80 | -------------------------------------------------------------------------------- /newdialog.h: -------------------------------------------------------------------------------- 1 | /* newdialgo.h 2 | * contains the class declarations 3 | * this has to be in a header file for QT to function */ 4 | 5 | #ifndef ND_H 6 | #define ND_H 7 | 8 | #include "ui_newmap.h" 9 | 10 | #include 11 | #include 12 | 13 | class NewDialog : public QDialog { 14 | Q_OBJECT 15 | 16 | private: 17 | QComboBox* combo; 18 | bool success; 19 | int option; 20 | bool regular; 21 | 22 | public: 23 | NewDialog(); 24 | void setup_triggers(Ui_NewMapDialog* nd); 25 | int get_selection(); 26 | bool is_regular(); 27 | 28 | public slots: 29 | void nd_ok(); 30 | void nd_cancel(); 31 | void on_regular(); 32 | void on_affine(); 33 | }; 34 | 35 | #endif 36 | 37 | -------------------------------------------------------------------------------- /newmap.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | NewMapDialog 4 | 5 | 6 | 7 | 0 8 | 0 9 | 344 10 | 137 11 | 12 | 13 | 14 | Dialog 15 | 16 | 17 | 18 | 19 | 20 | Map Type 21 | 22 | 23 | false 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | Re&gular 34 | 35 | 36 | true 37 | 38 | 39 | 40 | 41 | 42 | 43 | Affine 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | QDialogButtonBox::Cancel|QDialogButtonBox::Ok 61 | 62 | 63 | 64 | 65 | 66 | 67 | Set Image 68 | 69 | 70 | Set the Image 71 | 72 | 73 | 74 | 75 | OK 76 | 77 | 78 | 79 | 80 | Cancel 81 | 82 | 83 | 84 | 85 | Regular 86 | 87 | 88 | Choose a regular tile map 89 | 90 | 91 | 92 | 93 | Affine 94 | 95 | 96 | Choose an affine tile map 97 | 98 | 99 | buttonBox 100 | groupBox 101 | 102 | 103 | 104 | 105 | buttonBox 106 | accepted() 107 | actionOK 108 | trigger() 109 | 110 | 111 | 254 112 | 245 113 | 114 | 115 | -1 116 | -1 117 | 118 | 119 | 120 | 121 | buttonBox 122 | rejected() 123 | actionCancel 124 | trigger() 125 | 126 | 127 | 254 128 | 245 129 | 130 | 131 | -1 132 | -1 133 | 134 | 135 | 136 | 137 | radioRegular 138 | clicked() 139 | actionRegular 140 | trigger() 141 | 142 | 143 | 94 144 | 50 145 | 146 | 147 | -1 148 | -1 149 | 150 | 151 | 152 | 153 | radioAffine 154 | clicked() 155 | actionAffine 156 | trigger() 157 | 158 | 159 | 249 160 | 50 161 | 162 | 163 | -1 164 | -1 165 | 166 | 167 | 168 | 169 | 170 | -------------------------------------------------------------------------------- /paletteview.cpp: -------------------------------------------------------------------------------- 1 | /* paletteview.cpp 2 | * implementation of the palette view */ 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include "editorwindow.h" 10 | #include "newdialog.h" 11 | #include "ui_mainwindow.h" 12 | #include "ui_newmap.h" 13 | 14 | /* constructors for the view objects */ 15 | PaletteView::PaletteView(QWidget* parent) : QGraphicsView(parent) { 16 | 17 | } 18 | 19 | /* tell the component about the window it's in */ 20 | void PaletteView::set_window(EditorWindow* window) { 21 | this->window = window; 22 | } 23 | 24 | /* called when the mouse is pressed in this area */ 25 | void PaletteView::mousePressEvent(QMouseEvent* e) { 26 | if (e->button() != Qt::LeftButton) { 27 | return; 28 | } 29 | 30 | /* find the position of our scroll bar */ 31 | int scroll_x = horizontalScrollBar()->value(); 32 | int scroll_y = verticalScrollBar()->value(); 33 | 34 | /* apply this palette click - taking scrolling into account */ 35 | window->palette_click(e->x() + scroll_x, e->y() + scroll_y); 36 | } 37 | 38 | 39 | -------------------------------------------------------------------------------- /paletteview.h: -------------------------------------------------------------------------------- 1 | /* paletteview.h 2 | * contains the class declarations 3 | * this has to be in a header file for QT to function */ 4 | 5 | #ifndef PALETTEVIEW_H 6 | #define PALETTEVIEW_H 7 | 8 | #include 9 | 10 | class EditorWindow; 11 | 12 | class PaletteView : public QGraphicsView { 13 | Q_OBJECT 14 | 15 | private: 16 | EditorWindow* window; 17 | 18 | public: 19 | PaletteView(QWidget* parent); 20 | void set_window(EditorWindow* window); 21 | void mousePressEvent (QMouseEvent* event); 22 | }; 23 | 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /tiletest/affine-tiletest.c: -------------------------------------------------------------------------------- 1 | /* include the image data */ 2 | #include "test.h" 3 | 4 | /* include the map data */ 5 | #include "testmap128_128.h" 6 | 7 | //button identifiers 8 | #define BUTTON_RIGHT 16 9 | #define BUTTON_LEFT 32 10 | #define BUTTON_UP 64 11 | #define BUTTON_DOWN 128 12 | #define BUTTONS (*(volatile unsigned int*)0x04000130) 13 | 14 | //vertical refresh register 15 | #define REG_DISPSTAT *(volatile unsigned short*)0x4000004 16 | 17 | //wait for vertical refresh 18 | void WaitVBlank(void) { 19 | while((REG_DISPSTAT & 1)); 20 | } 21 | 22 | /* the mode 0 flag */ 23 | #define MODE_1 0x1 24 | 25 | /* the width and height of the screen */ 26 | #define WIDTH 240 27 | #define HEIGHT 160 28 | 29 | /* the flag to enable various background layers */ 30 | #define BG0_ENABLE 0x100 31 | #define BG1_ENABLE 0x200 32 | #define BG2_ENABLE 0x400 33 | #define BG3_ENABLE 0x800 34 | 35 | //scrolling registers for background 2 36 | // these are DIFFERENT for AFFINE backgrounds!!! 37 | // ALSO they are fixed point numbers!!! 38 | #define SCROLLX *(volatile unsigned int*)0x4000028 39 | #define SCROLLY *(volatile unsigned int*)0x400002c 40 | 41 | /* the graphics display control register */ 42 | #define REG_DISPCNT ((volatile unsigned long*) 0x4000000) 43 | 44 | /* the screen memory pointer */ 45 | #define SCREEN ((volatile unsigned short*) 0x6000000) 46 | 47 | /* the location of background 2 */ 48 | #define REG_BG2_PTR *(volatile unsigned short*)0x400000c 49 | 50 | /* what's this about */ 51 | #define SCREEN_SHIFT 8 52 | #define WRAPAROUND 0x1 53 | #define CharBaseBlock(n) (((n)*0x4000)+0x6000000) 54 | #define ScreenBaseBlock(n) (((n)*0x800)+0x6000000) 55 | 56 | /* sets up 256 color mode for tile maps */ 57 | #define BG_COLOR256 0x80 58 | 59 | /* identify palette memory */ 60 | #define BG_PALETTE_MEMORY ((unsigned short*)0x5000000) 61 | 62 | /* different sizes for the tile maps */ 63 | #define TEXTBG_SIZE_256x256 0x0 64 | #define TEXTBG_SIZE_256x512 0x8000 65 | #define TEXTBG_SIZE_512x256 0x4000 66 | #define TEXTBG_SIZE_512x512 0xC000 67 | 68 | /* scrolling registers for background 0 */ 69 | #define REG_BG0_XSCROLL *(volatile unsigned short*)0x4000010 70 | #define REG_BG0_YSCROLL *(volatile unsigned short*)0x4000012 71 | 72 | /* the registers which trigeer a DMA operation to start */ 73 | #define REG_DMA_SOURCE *(volatile unsigned int*)0x40000D4 74 | #define REG_DMA_DESTINATION *(volatile unsigned int*)0x40000D8 75 | #define REG_DMA_COUNT *(volatile unsigned int*)0x40000DC 76 | 77 | /* flag to enable direct memory access */ 78 | #define DMA_ENABLE 0x80000000 79 | 80 | /* start it right away */ 81 | #define DMA_TIMING_IMMEDIATE 0x00000000 82 | 83 | /* transfer 16 or 32 bit memory? */ 84 | #define DMA_16 0x00000000 85 | #define DMA_32 0x04000000 86 | 87 | /* combined flags which turn on DMA right away for 16 or 32 bits */ 88 | #define DMA_32_NOW (DMA_ENABLE | DMA_TIMING_IMMEDIATE | DMA_32) 89 | #define DMA_16_NOW (DMA_ENABLE | DMA_TIMING_IMMEDIATE | DMA_16) 90 | 91 | /* function to use the GBA's hardware memory copy */ 92 | void dma_memcpy(void* source, void* dest, unsigned count, unsigned mode) { 93 | /* ensure that one of the valid modes are passed */ 94 | if (mode != DMA_16_NOW && mode != DMA_32_NOW) { 95 | return; 96 | } 97 | 98 | /* trigger the DMA hardware copy to run - the CPU is 99 | * automatically suspended until the transfer is done */ 100 | REG_DMA_SOURCE = (unsigned int) source; 101 | REG_DMA_DESTINATION = (unsigned int) dest; 102 | REG_DMA_COUNT = count | mode; 103 | } 104 | 105 | /* the interrupt functions are this type */ 106 | typedef void (*intrp)(); 107 | 108 | /* this function is used for interrupts which we ignore */ 109 | void interrupt_ignore() { 110 | } 111 | 112 | /* this table specifies which interrupts we handle which way */ 113 | const intrp IntrTable[13] = { 114 | interrupt_ignore, /* V Blank interrupt */ 115 | interrupt_ignore, /* H Blank interrupt */ 116 | interrupt_ignore, /* V Counter interrupt */ 117 | interrupt_ignore, /* Timer 0 interrupt */ 118 | interrupt_ignore, /* Timer 1 interrupt */ 119 | interrupt_ignore, /* Timer 2 interrupt */ 120 | interrupt_ignore, /* Timer 3 interrupt */ 121 | interrupt_ignore, /* Serial communication interrupt */ 122 | interrupt_ignore, /* DMA 0 interrupt */ 123 | interrupt_ignore, /* DMA 1 interrupt */ 124 | interrupt_ignore, /* DMA 2 interrupt */ 125 | interrupt_ignore, /* DMA 3 interrupt */ 126 | interrupt_ignore, /* Key interrupt */ 127 | }; 128 | 129 | 130 | /* the main function */ 131 | int main() { 132 | int x = 0, y = 0; 133 | 134 | /* we set the mode to mode 0 with background 0 turned on*/ 135 | *REG_DISPCNT = MODE_1 | BG2_ENABLE; 136 | 137 | /* set up background 2 */ 138 | REG_BG2_PTR = BG_COLOR256 | TEXTBG_SIZE_512x512 | (8 << SCREEN_SHIFT); 139 | 140 | /* load the palette into background palette memory */ 141 | dma_memcpy((void*) test_palette, (void*) BG_PALETTE_MEMORY, 256, DMA_32_NOW); 142 | 143 | /* load the tile image into tile memory */ 144 | dma_memcpy((void*) test_data, (void*) CharBaseBlock(0), (test_width * test_height), DMA_16_NOW); 145 | 146 | /* copy the tile map itself into memory */ 147 | unsigned short* bg2map =(unsigned short*)ScreenBaseBlock(8); 148 | dma_memcpy((void*)testmap128_128, (void*)bg2map, (128*128)/2, DMA_16_NOW); 149 | 150 | /* we now loop forever displaying the image */ 151 | while (1) { 152 | //D-pad moves background 153 | if(!(BUTTONS & BUTTON_LEFT)) x--; 154 | if(!(BUTTONS & BUTTON_RIGHT)) x++; 155 | if(!(BUTTONS & BUTTON_UP)) y--; 156 | if(!(BUTTONS & BUTTON_DOWN)) y++; 157 | // 158 | //wait for vertical refresh 159 | WaitVBlank(); 160 | 161 | //use hardware background scrolling 162 | SCROLLY = y << 8; 163 | SCROLLX = x << 8; 164 | 165 | int n; 166 | for(n = 0; n < 4000; n++); 167 | } 168 | } 169 | 170 | 171 | -------------------------------------------------------------------------------- /tiletest/regular-tiletest.c: -------------------------------------------------------------------------------- 1 | /* include the image data */ 2 | #include "test.h" 3 | 4 | 5 | /* include the map data */ 6 | #include "testmap32_32.h" 7 | #include "testmap32_64.h" 8 | #include "testmap64_32.h" 9 | #include "testmap64_64.h" 10 | 11 | //button identifiers 12 | #define BUTTON_RIGHT 16 13 | #define BUTTON_LEFT 32 14 | #define BUTTON_UP 64 15 | #define BUTTON_DOWN 128 16 | #define BUTTONS (*(volatile unsigned int*)0x04000130) 17 | 18 | //vertical refresh register 19 | #define REG_DISPSTAT *(volatile unsigned short*)0x4000004 20 | 21 | 22 | //wait for vertical refresh 23 | void WaitVBlank(void) 24 | { 25 | while((REG_DISPSTAT & 1)); 26 | } 27 | 28 | 29 | 30 | /* the mode 0 flag */ 31 | #define MODE_0 0x0 32 | 33 | /* the width and height of the screen */ 34 | #define WIDTH 240 35 | #define HEIGHT 160 36 | 37 | /* the flag to enable various background layers */ 38 | #define BG0_ENABLE 0x100 39 | #define BG1_ENABLE 0x200 40 | #define BG2_ENABLE 0x400 41 | #define BG3_ENABLE 0x800 42 | 43 | //scrolling registers for background 2 44 | #define REG_BG2HOFS *(volatile unsigned short*)0x4000018 45 | #define REG_BG2VOFS *(volatile unsigned short*)0x400001a 46 | 47 | /* the graphics display control register */ 48 | #define REG_DISPCNT ((volatile unsigned long*) 0x4000000) 49 | 50 | /* the screen memory pointer */ 51 | #define SCREEN ((volatile unsigned short*) 0x6000000) 52 | 53 | /* the location of background 2 */ 54 | #define REG_BG2_PTR *(volatile unsigned short*)0x400000c 55 | 56 | /* TODO what's this about */ 57 | #define SCREEN_SHIFT 8 58 | #define WRAPAROUND 0x1 59 | #define CharBaseBlock(n) (((n)*0x4000)+0x6000000) 60 | #define ScreenBaseBlock(n) (((n)*0x800)+0x6000000) 61 | 62 | /* sets up 256 color mode for tile maps */ 63 | #define BG_COLOR256 0x80 64 | 65 | /* identify palette memory */ 66 | #define BG_PALETTE_MEMORY ((unsigned short*)0x5000000) 67 | 68 | /* different sizes for the tile maps */ 69 | #define TEXTBG_SIZE_256x256 0x0 70 | #define TEXTBG_SIZE_256x512 0x8000 71 | #define TEXTBG_SIZE_512x256 0x4000 72 | #define TEXTBG_SIZE_512x512 0xC000 73 | 74 | /* scrolling registers for background 0 */ 75 | #define REG_BG0_XSCROLL *(volatile unsigned short*)0x4000010 76 | #define REG_BG0_YSCROLL *(volatile unsigned short*)0x4000012 77 | 78 | /* the registers which trigeer a DMA operation to start */ 79 | #define REG_DMA_SOURCE *(volatile unsigned int*)0x40000D4 80 | #define REG_DMA_DESTINATION *(volatile unsigned int*)0x40000D8 81 | #define REG_DMA_COUNT *(volatile unsigned int*)0x40000DC 82 | 83 | /* flag to enable direct memory access */ 84 | #define DMA_ENABLE 0x80000000 85 | 86 | /* start it right away */ 87 | #define DMA_TIMING_IMMEDIATE 0x00000000 88 | 89 | /* transfer 16 or 32 bit memory? */ 90 | #define DMA_16 0x00000000 91 | #define DMA_32 0x04000000 92 | 93 | /* combined flags which turn on DMA right away for 16 or 32 bits */ 94 | #define DMA_32_NOW (DMA_ENABLE | DMA_TIMING_IMMEDIATE | DMA_32) 95 | #define DMA_16_NOW (DMA_ENABLE | DMA_TIMING_IMMEDIATE | DMA_16) 96 | 97 | /* function to use the GBA's hardware memory copy */ 98 | void dma_memcpy(void* source, void* dest, unsigned count, unsigned mode) { 99 | /* ensure that one of the valid modes are passed */ 100 | if (mode != DMA_16_NOW && mode != DMA_32_NOW) { 101 | return; 102 | } 103 | 104 | /* trigger the DMA hardware copy to run - the CPU is 105 | * automatically suspended until the transfer is done */ 106 | REG_DMA_SOURCE = (unsigned int) source; 107 | REG_DMA_DESTINATION = (unsigned int) dest; 108 | REG_DMA_COUNT = count | mode; 109 | } 110 | 111 | /* the interrupt functions are this type */ 112 | typedef void (*intrp)( ); 113 | 114 | /* this function is used for interrupts which we ignore */ 115 | void interrupt_ignore( ) { 116 | } 117 | 118 | /* this table specifies which interrupts we handle which way */ 119 | const intrp IntrTable[13] = { 120 | interrupt_ignore, /* V Blank interrupt */ 121 | interrupt_ignore, /* H Blank interrupt */ 122 | interrupt_ignore, /* V Counter interrupt */ 123 | interrupt_ignore, /* Timer 0 interrupt */ 124 | interrupt_ignore, /* Timer 1 interrupt */ 125 | interrupt_ignore, /* Timer 2 interrupt */ 126 | interrupt_ignore, /* Timer 3 interrupt */ 127 | interrupt_ignore, /* Serial communication interrupt */ 128 | interrupt_ignore, /* DMA 0 interrupt */ 129 | interrupt_ignore, /* DMA 1 interrupt */ 130 | interrupt_ignore, /* DMA 2 interrupt */ 131 | interrupt_ignore, /* DMA 3 interrupt */ 132 | interrupt_ignore, /* Key interrupt */ 133 | }; 134 | 135 | 136 | /* the main function */ 137 | int main( ) { 138 | int x = 0, y = 0; 139 | 140 | /* we set the mode to mode 0 with background 0 turned on*/ 141 | *REG_DISPCNT = MODE_0 | BG2_ENABLE; 142 | 143 | /* set up background 0 */ 144 | REG_BG2_PTR = BG_COLOR256 | TEXTBG_SIZE_256x256 | (8 << SCREEN_SHIFT) | WRAPAROUND; 145 | //REG_BG2_PTR = BG_COLOR256 | TEXTBG_SIZE_512x512 | (8 << SCREEN_SHIFT) | WRAPAROUND; 146 | //REG_BG2_PTR = BG_COLOR256 | TEXTBG_SIZE_256x512 | (8 << SCREEN_SHIFT) | WRAPAROUND; 147 | //REG_BG2_PTR = BG_COLOR256 | TEXTBG_SIZE_512x256 | (8 << SCREEN_SHIFT) | WRAPAROUND; 148 | 149 | /* load the palette into background palette memory */ 150 | dma_memcpy((void*) test_palette, (void*) BG_PALETTE_MEMORY, 151 | 256, DMA_32_NOW); 152 | 153 | /* load the tile image into tile memory */ 154 | dma_memcpy((void*) test_data, (void*) CharBaseBlock(0), 155 | (test_width * test_height), DMA_16_NOW); 156 | 157 | /* copy the tile map itself into memory */ 158 | unsigned short* bg2map =(unsigned short*)ScreenBaseBlock(8); 159 | dma_memcpy((void*)testmap32_32, (void*)bg2map, 32*32, DMA_32_NOW); 160 | //dma_memcpy((void*)testmap64_64, (void*)bg2map, 64*64, DMA_32_NOW); 161 | //dma_memcpy((void*)testmap32_64, (void*)bg2map, 32*64, DMA_32_NOW); 162 | //dma_memcpy((void*)testmap64_32, (void*)bg2map, 64*32, DMA_32_NOW); 163 | 164 | /* we now loop forever displaying the image */ 165 | while (1) { 166 | //D-pad moves background 167 | if(!(BUTTONS & BUTTON_LEFT)) x--; 168 | if(!(BUTTONS & BUTTON_RIGHT)) x++; 169 | if(!(BUTTONS & BUTTON_UP)) y--; 170 | if(!(BUTTONS & BUTTON_DOWN)) y++; 171 | // 172 | //wait for vertical refresh 173 | WaitVBlank(); 174 | 175 | //use hardware background scrolling 176 | REG_BG2VOFS = y; 177 | REG_BG2HOFS = x; 178 | 179 | int n; 180 | for(n = 0; n < 4000; n++); 181 | } 182 | } 183 | 184 | 185 | -------------------------------------------------------------------------------- /tiletest/test.h: -------------------------------------------------------------------------------- 1 | /* test.h 2 | * generated by png2gba program */ 3 | 4 | #define test_width 256 5 | #define test_height 16 6 | 7 | const unsigned char test_data [] = { 8 | 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 9 | 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x01, 0x01, 10 | 0x01, 0x01, 0x02, 0x01, 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x02, 0x01, 11 | 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01, 0x01, 0x02, 0x01, 12 | 0x01, 0x01, 0x02, 0x02, 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 13 | 0x02, 0x02, 0x01, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 14 | 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 15 | 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 16 | 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 17 | 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03, 18 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x01, 0x01, 0x01, 19 | 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 20 | 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 21 | 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x01, 0x01, 22 | 0x01, 0x01, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 23 | 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 24 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 0x02, 25 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03, 0x03, 26 | 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 27 | 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 28 | 0x03, 0x02, 0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 29 | 0x03, 0x03, 0x03, 0x03, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 30 | 0x01, 0x02, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01, 0x01, 0x02, 0x02, 0x01, 31 | 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x01, 0x02, 0x01, 0x01, 32 | 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 33 | 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01, 34 | 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01, 0x03, 0x03, 0x03, 0x03, 35 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 0x02, 0x03, 0x03, 36 | 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 37 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 0x02, 0x02, 0x03, 38 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x02, 0x02, 0x02, 39 | 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 40 | 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 41 | 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 42 | 0x01, 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 43 | 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x02, 0x02, 0x01, 0x02, 0x02, 0x01, 44 | 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 45 | 0x01, 0x01, 0x01, 0x01, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 46 | 0x03, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 47 | 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03, 0x03, 48 | 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 49 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 50 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x01, 0x01, 0x01, 51 | 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 52 | 0x01, 0x01, 0x02, 0x01, 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x02, 0x01, 53 | 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x01, 0x01, 54 | 0x01, 0x01, 0x02, 0x02, 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 55 | 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x01, 0x01, 56 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 57 | 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x02, 0x03, 0x03, 58 | 0x03, 0x03, 0x02, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 59 | 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 60 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 61 | 0x03, 0x03, 0x03, 0x03, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 62 | 0x01, 0x01, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x01, 63 | 0x02, 0x01, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01, 0x02, 0x01, 0x01, 0x01, 64 | 0x01, 0x02, 0x02, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01, 65 | 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x01, 66 | 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x03, 0x02, 0x02, 0x02, 67 | 0x02, 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03, 68 | 0x03, 0x02, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03, 0x03, 0x02, 0x02, 0x02, 69 | 0x02, 0x02, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 70 | 0x03, 0x02, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03, 0x03, 0x02, 0x02, 0x02, 71 | 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 72 | 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 73 | 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 74 | 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01, 75 | 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 76 | 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 77 | 0x01, 0x01, 0x01, 0x01, 0x03, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 78 | 0x03, 0x02, 0x03, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 79 | 0x02, 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03, 80 | 0x03, 0x02, 0x03, 0x03, 0x02, 0x02, 0x03, 0x03, 0x03, 0x02, 0x03, 0x02, 81 | 0x02, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 82 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x02, 0x02, 0x02, 83 | 0x02, 0x02, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 84 | 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 85 | 0x02, 0x01, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 86 | 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 87 | 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 88 | 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 89 | 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 90 | 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x02, 91 | 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 92 | 0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 93 | 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 94 | 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 95 | 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 0x02, 0x04, 0x04, 96 | 0x04, 0x04, 0x02, 0x04, 0x04, 0x02, 0x02, 0x04, 0x04, 0x04, 0x02, 0x04, 97 | 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x02, 0x02, 0x04, 0x02, 0x02, 0x04, 98 | 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x04, 0x04, 0x05, 0x05, 0x05, 0x05, 99 | 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 100 | 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 101 | 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 102 | 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 103 | 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 104 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x02, 105 | 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x04, 0x04, 106 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 107 | 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x02, 0x04, 0x04, 0x04, 108 | 0x04, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 109 | 0x04, 0x04, 0x04, 0x04, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 110 | 0x05, 0x02, 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 111 | 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 112 | 0x05, 0x05, 0x02, 0x02, 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 113 | 0x05, 0x02, 0x05, 0x05, 0x05, 0x02, 0x02, 0x02, 0x02, 0x02, 0x05, 0x05, 114 | 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x04, 0x04, 0x04, 0x04, 115 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 116 | 0x04, 0x02, 0x02, 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 117 | 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x02, 0x04, 0x04, 118 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 119 | 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 120 | 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 121 | 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 0x05, 122 | 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 123 | 0x02, 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 124 | 0x05, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 125 | 0x05, 0x05, 0x05, 0x05, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 126 | 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 127 | 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 128 | 0x04, 0x04, 0x02, 0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 0x04, 0x02, 0x02, 129 | 0x04, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x02, 0x04, 0x04, 130 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x05, 0x05, 0x05, 0x05, 131 | 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x05, 132 | 0x05, 0x05, 0x05, 0x05, 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 133 | 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 0x05, 134 | 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x02, 135 | 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 136 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 137 | 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 0x02, 0x04, 0x04, 138 | 0x04, 0x04, 0x02, 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 139 | 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x04, 0x02, 0x04, 0x04, 140 | 0x04, 0x04, 0x02, 0x02, 0x04, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 141 | 0x02, 0x02, 0x04, 0x04, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 142 | 0x05, 0x05, 0x02, 0x02, 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 143 | 0x05, 0x02, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x02, 0x05, 0x05, 144 | 0x05, 0x05, 0x02, 0x02, 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 145 | 0x05, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 146 | 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x04, 0x04, 0x04, 0x02, 147 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x02, 0x04, 0x04, 0x04, 148 | 0x04, 0x02, 0x02, 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 149 | 0x02, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 150 | 0x04, 0x02, 0x04, 0x04, 0x04, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 151 | 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 152 | 0x05, 0x02, 0x02, 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 153 | 0x02, 0x02, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x02, 0x02, 0x05, 0x05, 154 | 0x05, 0x02, 0x02, 0x02, 0x02, 0x02, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 155 | 0x05, 0x02, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x02, 0x02, 0x05, 0x05, 156 | 0x05, 0x02, 0x02, 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 157 | 0x05, 0x05, 0x05, 0x05, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 158 | 0x04, 0x04, 0x04, 0x02, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 159 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 160 | 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x04, 161 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 162 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x05, 0x02, 0x02, 0x02, 163 | 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x02, 0x02, 0x05, 0x05, 0x05, 164 | 0x05, 0x02, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 165 | 0x02, 0x02, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x02, 0x02, 0x05, 0x05, 166 | 0x05, 0x02, 0x05, 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x02, 0x02, 0x02, 167 | 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 168 | 0x04, 0x02, 0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 169 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 170 | 0x04, 0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 171 | 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 172 | 0x04, 0x02, 0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 173 | 0x04, 0x04, 0x04, 0x04, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 174 | 0x05, 0x05, 0x02, 0x02, 0x02, 0x02, 0x02, 0x05, 0x05, 0x05, 0x02, 0x05, 175 | 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 176 | 0x05, 0x05, 0x02, 0x02, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 177 | 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x05, 0x05, 0x05, 178 | 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x06, 0x06, 0x06, 0x06, 179 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 0x06, 180 | 0x06, 0x06, 0x02, 0x02, 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 181 | 0x06, 0x02, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 0x02, 0x02, 0x06, 182 | 0x06, 0x06, 0x02, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 0x06, 0x02, 0x02, 183 | 0x06, 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 0x06, 184 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 185 | 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 186 | 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 187 | 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 188 | 0x07, 0x07, 0x07, 0x07, 0x02, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 189 | 0x07, 0x07, 0x07, 0x07, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 190 | 0x06, 0x02, 0x02, 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 191 | 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 192 | 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 193 | 0x02, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x06, 194 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x07, 0x07, 0x07, 0x07, 195 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 0x07, 0x07, 0x07, 0x07, 196 | 0x07, 0x07, 0x07, 0x02, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 197 | 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x07, 198 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 199 | 0x02, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 200 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 201 | 0x06, 0x02, 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 0x06, 0x02, 0x06, 0x06, 202 | 0x06, 0x06, 0x02, 0x02, 0x06, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 203 | 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 204 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 205 | 0x06, 0x02, 0x06, 0x06, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 206 | 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 207 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 0x07, 208 | 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 209 | 0x07, 0x07, 0x02, 0x07, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 210 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x06, 0x06, 0x06, 0x06, 211 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 0x06, 212 | 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 213 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x02, 0x02, 0x02, 0x06, 214 | 0x06, 0x06, 0x02, 0x02, 0x06, 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x02, 215 | 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 216 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 217 | 0x02, 0x02, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x02, 0x07, 0x07, 218 | 0x07, 0x07, 0x07, 0x02, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 219 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 0x07, 220 | 0x07, 0x07, 0x02, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 221 | 0x07, 0x07, 0x07, 0x07, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 222 | 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 223 | 0x06, 0x02, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 0x02, 0x06, 0x06, 224 | 0x06, 0x06, 0x06, 0x02, 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 225 | 0x06, 0x02, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 0x02, 0x02, 0x06, 226 | 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 0x06, 0x07, 0x07, 0x07, 0x07, 227 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x07, 228 | 0x07, 0x07, 0x02, 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 229 | 0x07, 0x02, 0x07, 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x07, 230 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 231 | 0x07, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 232 | 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 233 | 0x02, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 0x02, 0x06, 0x06, 0x06, 234 | 0x06, 0x02, 0x06, 0x06, 0x02, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x02, 235 | 0x02, 0x02, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 236 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 237 | 0x06, 0x06, 0x06, 0x06, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x07, 0x07, 238 | 0x07, 0x02, 0x07, 0x07, 0x02, 0x02, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 239 | 0x02, 0x02, 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 0x07, 240 | 0x07, 0x02, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 241 | 0x02, 0x02, 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 0x02, 0x07, 0x07, 0x07, 242 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x06, 0x06, 0x06, 0x06, 243 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x02, 0x06, 0x06, 244 | 0x06, 0x06, 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x06, 245 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 246 | 0x06, 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 247 | 0x02, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 248 | 0x07, 0x02, 0x02, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 0x02, 249 | 0x02, 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 250 | 0x07, 0x02, 0x07, 0x07, 0x02, 0x02, 0x07, 0x07, 0x07, 0x02, 0x07, 0x07, 251 | 0x02, 0x02, 0x07, 0x07, 0x07, 0x02, 0x07, 0x02, 0x02, 0x07, 0x07, 0x07, 252 | 0x07, 0x02, 0x02, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 253 | 0x07, 0x07, 0x07, 0x07, 0x06, 0x02, 0x02, 0x02, 0x02, 0x02, 0x06, 0x06, 254 | 0x06, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 255 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x02, 0x02, 0x06, 0x06, 0x06, 256 | 0x06, 0x02, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 257 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x02, 0x02, 0x02, 0x06, 0x06, 258 | 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x07, 0x07, 0x07, 0x07, 259 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 0x02, 0x02, 0x07, 260 | 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 261 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x02, 0x02, 0x07, 0x07, 0x07, 262 | 0x07, 0x07, 0x02, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x02, 0x07, 263 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 264 | 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 265 | 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x02, 0x02, 0x08, 0x08, 266 | 0x08, 0x08, 0x02, 0x08, 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x02, 0x08, 267 | 0x08, 0x02, 0x02, 0x08, 0x08, 0x08, 0x02, 0x08, 0x08, 0x08, 0x02, 0x08, 268 | 0x08, 0x08, 0x02, 0x02, 0x08, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 269 | 0x02, 0x02, 0x08, 0x08, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 270 | 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 271 | 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 272 | 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 273 | 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 0x09, 0x09, 274 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x08, 0x08, 0x08, 0x08, 275 | 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x02, 0x02, 0x08, 0x08, 0x08, 276 | 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 277 | 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x08, 0x08, 278 | 0x08, 0x08, 0x02, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x02, 279 | 0x02, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 280 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 0x02, 281 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 0x09, 0x09, 0x09, 282 | 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 283 | 0x02, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 284 | 0x09, 0x02, 0x02, 0x02, 0x02, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 285 | 0x09, 0x09, 0x09, 0x09, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 286 | 0x08, 0x02, 0x08, 0x08, 0x08, 0x02, 0x08, 0x08, 0x08, 0x02, 0x02, 0x08, 287 | 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x08, 0x02, 0x08, 0x08, 288 | 0x08, 0x08, 0x08, 0x02, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 289 | 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x08, 0x08, 290 | 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x08, 0x08, 0x09, 0x09, 0x09, 0x09, 291 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 0x02, 0x09, 0x09, 292 | 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 293 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 0x02, 0x02, 0x09, 294 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x02, 0x02, 0x02, 295 | 0x02, 0x02, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 296 | 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 297 | 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x08, 0x08, 0x08, 298 | 0x08, 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 299 | 0x02, 0x02, 0x02, 0x08, 0x08, 0x08, 0x02, 0x02, 0x08, 0x02, 0x02, 0x08, 300 | 0x08, 0x08, 0x08, 0x02, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 301 | 0x08, 0x08, 0x08, 0x08, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 302 | 0x09, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 303 | 0x02, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 0x09, 0x09, 0x09, 304 | 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 305 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 0x09, 0x09, 0x09, 0x09, 306 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x08, 0x08, 0x08, 0x08, 307 | 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x08, 0x08, 0x08, 308 | 0x08, 0x08, 0x02, 0x08, 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x02, 0x08, 309 | 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x02, 0x08, 0x08, 310 | 0x08, 0x08, 0x02, 0x02, 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 311 | 0x08, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x08, 0x08, 312 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 313 | 0x02, 0x02, 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x02, 0x09, 0x09, 314 | 0x09, 0x09, 0x02, 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 315 | 0x02, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 316 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 317 | 0x09, 0x09, 0x09, 0x09, 0x08, 0x08, 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 318 | 0x08, 0x08, 0x02, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x08, 319 | 0x02, 0x08, 0x08, 0x08, 0x08, 0x02, 0x08, 0x08, 0x02, 0x08, 0x08, 0x08, 320 | 0x08, 0x02, 0x02, 0x02, 0x02, 0x02, 0x08, 0x08, 0x08, 0x02, 0x08, 0x08, 321 | 0x08, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x08, 322 | 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x09, 0x02, 0x02, 0x02, 323 | 0x02, 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x02, 0x02, 0x09, 0x09, 324 | 0x09, 0x02, 0x09, 0x09, 0x02, 0x02, 0x09, 0x09, 0x09, 0x02, 0x02, 0x02, 325 | 0x02, 0x02, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 326 | 0x09, 0x02, 0x09, 0x09, 0x02, 0x02, 0x09, 0x09, 0x09, 0x02, 0x02, 0x02, 327 | 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 328 | 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 329 | 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 330 | 0x08, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x08, 0x08, 331 | 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 332 | 0x08, 0x08, 0x02, 0x02, 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 333 | 0x08, 0x08, 0x08, 0x08, 0x09, 0x02, 0x02, 0x02, 0x09, 0x09, 0x09, 0x09, 334 | 0x09, 0x02, 0x09, 0x02, 0x02, 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 335 | 0x02, 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x02, 0x02, 0x09, 0x09, 336 | 0x09, 0x02, 0x09, 0x09, 0x02, 0x02, 0x09, 0x09, 0x09, 0x02, 0x09, 0x02, 337 | 0x02, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 0x02, 0x09, 0x09, 0x09, 0x09, 338 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x08, 0x02, 0x02, 0x02, 339 | 0x02, 0x02, 0x08, 0x08, 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 340 | 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x02, 341 | 0x02, 0x08, 0x08, 0x08, 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 342 | 0x08, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x02, 0x02, 0x02, 343 | 0x02, 0x02, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 344 | 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 345 | 0x02, 0x02, 0x02, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 346 | 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x02, 347 | 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 348 | 0x09, 0x09, 0x02, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 349 | 0x09, 0x09, 0x09, 0x09, 350 | }; 351 | 352 | const unsigned short test_palette [] = { 353 | 0x0000, 0x43ff, 0x001f, 0x7e10, 0x4010, 0x4200, 0x021f, 0x6318, 0x03e0, 354 | 0x7fe0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 355 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 356 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 357 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 358 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 359 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 360 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 361 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 362 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 363 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 364 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 365 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 366 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 367 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 368 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 369 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 370 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 371 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 372 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 373 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 374 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 375 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 376 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 377 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 378 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 379 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 380 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 381 | 0x0000, 0x0000, 0x0000, 0x0000 382 | }; 383 | 384 | -------------------------------------------------------------------------------- /tiletest/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IanFinlayson/gba-tileeditor/8b76b5110b9160a4635dfe1b3966c11a7f788b38/tiletest/test.png -------------------------------------------------------------------------------- /tiletest/testmap32_32.h: -------------------------------------------------------------------------------- 1 | /* created by GBA Tile Editor 2 | regular map */ 3 | 4 | #define testmap32_32_width 32 5 | #define testmap32_32_height 32 6 | 7 | const unsigned short testmap32_32 [] = { 8 | 0x0000, 0x0000, 0x0001, 0x0001, 0x0002, 0x0002, 0x0003, 0x0003, 0x0004, 9 | 0x0004, 0x0005, 0x0005, 0x0006, 0x0006, 0x0007, 0x0007, 0x0008, 0x0008, 10 | 0x0009, 0x0009, 0x000a, 0x000a, 0x000b, 0x000b, 0x000c, 0x000c, 0x000d, 11 | 0x000d, 0x000e, 0x000e, 0x000f, 0x000f, 0x0000, 0x0000, 0x0001, 0x0001, 12 | 0x0002, 0x0002, 0x0003, 0x0003, 0x0004, 0x0004, 0x0005, 0x0005, 0x0006, 13 | 0x0006, 0x0007, 0x0007, 0x0008, 0x0008, 0x0009, 0x0009, 0x000a, 0x000a, 14 | 0x000b, 0x000b, 0x000c, 0x000c, 0x000d, 0x000d, 0x000e, 0x000e, 0x000f, 15 | 0x000f, 0x0020, 0x0020, 0x0021, 0x0021, 0x0022, 0x0022, 0x0023, 0x0023, 16 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 17 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 18 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x0020, 0x0021, 19 | 0x0021, 0x0022, 0x0022, 0x0023, 0x0023, 0x0000, 0x0000, 0x0000, 0x0000, 20 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 21 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 22 | 0x0000, 0x0000, 0x0010, 0x0010, 0x0011, 0x0011, 0x0012, 0x0012, 0x0013, 23 | 0x0013, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 24 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 25 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0010, 26 | 0x0011, 0x0011, 0x0012, 0x0012, 0x0013, 0x0013, 0x0000, 0x0000, 0x0000, 27 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 28 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 29 | 0x0000, 0x0000, 0x0000, 0x0030, 0x0030, 0x0031, 0x0031, 0x0032, 0x0032, 30 | 0x0033, 0x0033, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 31 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 32 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0030, 33 | 0x0030, 0x0031, 0x0031, 0x0032, 0x0032, 0x0033, 0x0033, 0x0000, 0x0000, 34 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 35 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 36 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 37 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 38 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 39 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 40 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 41 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 42 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 43 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 44 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 45 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 46 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 47 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 48 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 49 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 50 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 51 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 52 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 53 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 54 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 55 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 56 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 57 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 58 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 59 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 60 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 61 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 62 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 63 | 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 64 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 65 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 66 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0010, 0x0000, 0x0000, 0x0000, 67 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 68 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 69 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 70 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 71 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 72 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 73 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 74 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 75 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 76 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 77 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 78 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 79 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 80 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 81 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x003b, 0x003b, 82 | 0x003b, 0x003b, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 83 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 84 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 85 | 0x0000, 0x0000, 0x0000, 0x003b, 0x0038, 0x0038, 0x003b, 0x0000, 0x0000, 86 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 87 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 88 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x003b, 89 | 0x0038, 0x0038, 0x003b, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 90 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 91 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 92 | 0x0000, 0x0000, 0x0000, 0x0000, 0x003b, 0x003b, 0x003b, 0x003b, 0x0000, 93 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 94 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 95 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 96 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 97 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 98 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 99 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 100 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 101 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 102 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 103 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 104 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 105 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 106 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 107 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 108 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 109 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 110 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 111 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 112 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 113 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 114 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 115 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 116 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 117 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 118 | 0x0000, 0x0000, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 119 | 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 120 | 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 121 | 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 0x0032, 122 | }; 123 | 124 | -------------------------------------------------------------------------------- /tiletest/testmap32_64.h: -------------------------------------------------------------------------------- 1 | /* created by GBA Tile Editor 2 | regular map */ 3 | 4 | #define testmap32_64_width 32 5 | #define testmap32_64_height 64 6 | 7 | const unsigned short testmap32_64 [] = { 8 | 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 9 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 10 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 11 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 12 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 13 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 14 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 15 | 0x000d, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 16 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 17 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 18 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 19 | 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 20 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 21 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 22 | 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 23 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 24 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 25 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 26 | 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 27 | 0x0000, 0x0000, 0x0000, 0x0038, 0x0038, 0x0000, 0x0000, 0x0000, 0x0000, 28 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 29 | 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 30 | 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0038, 31 | 0x0038, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 32 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 33 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 34 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0038, 0x0038, 0x0000, 35 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 36 | 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 37 | 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 38 | 0x0000, 0x0000, 0x0038, 0x0038, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 39 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 40 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 41 | 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 42 | 0x0038, 0x0038, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 43 | 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 44 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 45 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0038, 0x0038, 0x0000, 0x0000, 46 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 47 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 48 | 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 49 | 0x0000, 0x0000, 0x0000, 0x0038, 0x0038, 0x0000, 0x0000, 0x0000, 0x0000, 50 | 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 51 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 52 | 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0038, 53 | 0x0038, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 54 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 55 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 56 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0038, 0x0038, 0x0000, 57 | 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 58 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 59 | 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 60 | 0x0000, 0x0000, 0x0038, 0x0038, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 61 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 62 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 63 | 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 64 | 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 65 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 66 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 67 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 68 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 69 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 70 | 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 71 | 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 72 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 73 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 74 | 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 75 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 76 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 77 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 78 | 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 79 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 80 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 81 | 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 82 | 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 83 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 84 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 85 | 0x000d, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 86 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 87 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 88 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x0000, 89 | 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 90 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 91 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 92 | 0x0000, 0x0000, 0x0000, 0x000d, 0x0000, 0x000d, 0x0000, 0x0000, 0x0000, 93 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 94 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 95 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 96 | 0x000d, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 97 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 98 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 99 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 100 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 101 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 102 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 103 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 104 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 105 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 106 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 107 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 108 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 109 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 110 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 111 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 112 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 113 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 114 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 115 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 116 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 117 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 118 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 119 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 120 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 121 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 122 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 123 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 124 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 125 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 126 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 127 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 128 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 129 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 130 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 131 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 132 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 133 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 134 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 135 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 136 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 137 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 138 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 139 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 140 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 141 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 142 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 143 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 144 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 145 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 146 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 147 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 148 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 149 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 150 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 151 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 152 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 153 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 154 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 155 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 156 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 157 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 158 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 159 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 160 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 161 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 162 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 163 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 164 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 165 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 166 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 167 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 168 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 169 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 170 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 171 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 172 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 173 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 174 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 175 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 176 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 177 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 178 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 179 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 180 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 181 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 182 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 183 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 184 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 185 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 186 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 187 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 188 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 189 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 190 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 191 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 192 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 193 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 194 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 195 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 196 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 197 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 198 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0012, 0x0012, 0x0000, 199 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0012, 0x0012, 0x0000, 200 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 201 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 202 | 0x0000, 0x0000, 0x0012, 0x0012, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 203 | 0x0000, 0x0000, 0x0012, 0x0012, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 204 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 205 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 206 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 207 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 208 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0012, 0x0012, 209 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0012, 0x0012, 210 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 211 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 212 | 0x0000, 0x0000, 0x0000, 0x0012, 0x0012, 0x0000, 0x0000, 0x0000, 0x0000, 213 | 0x0000, 0x0000, 0x0000, 0x0012, 0x0012, 0x0000, 0x0000, 0x0000, 0x0000, 214 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 215 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 216 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 217 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 218 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 219 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 220 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 221 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 222 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 223 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 224 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 225 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 226 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 227 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 228 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 229 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 230 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 231 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 232 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 233 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 234 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 235 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 236 | }; 237 | 238 | -------------------------------------------------------------------------------- /tiletest/testmap64_32.h: -------------------------------------------------------------------------------- 1 | /* created by GBA Tile Editor 2 | regular map */ 3 | 4 | #define testmap64_32_width 64 5 | #define testmap64_32_height 32 6 | 7 | const unsigned short testmap64_32 [] = { 8 | 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 9 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 10 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 11 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0009, 0x0000, 0x0000, 12 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 13 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 14 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 15 | 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 16 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 17 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 18 | 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 19 | 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 20 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 21 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 22 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 23 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 24 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 25 | 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 26 | 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 27 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 28 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 29 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 30 | 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 31 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 32 | 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 33 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 34 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 35 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 36 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 37 | 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 38 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 39 | 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 40 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 41 | 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 42 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 43 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 44 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 45 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 46 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 47 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 48 | 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 49 | 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 50 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 51 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 52 | 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 53 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 54 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 55 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 56 | 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 57 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 58 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 59 | 0x0000, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 0x0009, 0x0000, 0x0000, 60 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 61 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 62 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 63 | 0x0009, 0x0009, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 64 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 65 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 66 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 67 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 68 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 69 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 70 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 71 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 72 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 73 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 74 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 75 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 76 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 77 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 78 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 79 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 80 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 81 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 82 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 83 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 84 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 85 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 86 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 87 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x001e, 0x001e, 0x0000, 88 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 89 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 90 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 91 | 0x0000, 0x0000, 0x001e, 0x001e, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 92 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 93 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 94 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 95 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 96 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 97 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 98 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 99 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 100 | 0x0000, 0x0000, 0x001e, 0x001e, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 101 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 102 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 103 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x001e, 0x001e, 104 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 105 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 106 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 107 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 108 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 109 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 110 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 111 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 112 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 113 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 114 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 115 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 116 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 117 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 118 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 119 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 120 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 121 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0015, 0x0000, 122 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 123 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 124 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 125 | 0x0000, 0x0000, 0x003c, 0x0000, 0x0015, 0x0000, 0x0000, 0x0000, 0x0000, 126 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 127 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 128 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x003c, 0x0000, 0x0000, 129 | 0x0000, 0x0015, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 130 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 131 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 132 | 0x0000, 0x003c, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0015, 0x0000, 133 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 134 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 135 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x003c, 0x0000, 0x0000, 0x0000, 136 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0015, 0x0000, 0x0000, 0x0000, 0x0000, 137 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 138 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 139 | 0x003c, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 140 | 0x0000, 0x0015, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 141 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 142 | 0x0000, 0x0000, 0x0000, 0x0000, 0x003c, 0x0000, 0x0000, 0x0000, 0x0000, 143 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0015, 0x0000, 144 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 145 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x003c, 146 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 147 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0015, 0x0000, 0x0000, 0x0000, 0x0000, 148 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 149 | 0x0000, 0x0000, 0x0000, 0x003c, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 150 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 151 | 0x0000, 0x0015, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 152 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x003c, 0x0000, 153 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 154 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0015, 0x0000, 155 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 156 | 0x0000, 0x0000, 0x003c, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 157 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 158 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0015, 0x0000, 0x0000, 0x0000, 0x0000, 159 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x003c, 0x0000, 0x0000, 160 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 161 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 162 | 0x0000, 0x0015, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 163 | 0x0000, 0x003c, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 164 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 165 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0015, 0x0000, 166 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x003c, 0x0000, 0x0000, 0x0000, 167 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 168 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 169 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0015, 0x0000, 0x0000, 0x0000, 0x0000, 170 | 0x003c, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 171 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 172 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 173 | 0x0000, 0x0015, 0x0000, 0x0000, 0x003c, 0x0000, 0x0000, 0x0000, 0x0000, 174 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 175 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 176 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0015, 0x003c, 177 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 178 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 179 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 180 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 181 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 182 | 0x0000, 0x0000, 0x0000, 0x001e, 0x001e, 0x0000, 0x0000, 0x0000, 0x0000, 183 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 184 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 185 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x001e, 186 | 0x001e, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 187 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 188 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 189 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 190 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 191 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 192 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 193 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 194 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 195 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 196 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 197 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 198 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 199 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 200 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 201 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 202 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 203 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 204 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 205 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 206 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 207 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 208 | 0x0000, 0x001e, 0x001e, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 209 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 210 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 211 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x001e, 0x001e, 0x0000, 212 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 213 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 214 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 215 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 216 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 217 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 218 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 219 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 220 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 221 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 222 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 223 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 224 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 225 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 226 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 227 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 228 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 229 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 230 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 231 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 232 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 233 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 234 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 235 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 236 | }; 237 | 238 | -------------------------------------------------------------------------------- /tiletest/testmap64_64.h: -------------------------------------------------------------------------------- 1 | /* created by GBA Tile Editor 2 | regular map */ 3 | 4 | #define testmap64_64_width 64 5 | #define testmap64_64_height 64 6 | 7 | const unsigned short testmap64_64 [] = { 8 | 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 9 | 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 10 | 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 11 | 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 12 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 13 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 14 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 15 | 0x0000, 0x0000, 0x0026, 0x0026, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 16 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 17 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 18 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0026, 0x0026, 19 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 20 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 21 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 22 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 23 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 24 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 25 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 26 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 27 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 28 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 29 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 30 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 31 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 32 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 33 | 0x0000, 0x0000, 0x0000, 0x000d, 0x003e, 0x003a, 0x000d, 0x000b, 0x003e, 34 | 0x003e, 0x000f, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 35 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 36 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 37 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 38 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 39 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 40 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 41 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 42 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 43 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 44 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 45 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 46 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 47 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 48 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 49 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 50 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0034, 0x0000, 0x0000, 0x0000, 51 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 52 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 53 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 54 | 0x0000, 0x0034, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 55 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 56 | 0x0000, 0x0000, 0x0030, 0x0030, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 57 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 58 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 59 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0030, 0x0030, 60 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 61 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 62 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 63 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 64 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 65 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 66 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 67 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 68 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 69 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 70 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 71 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 72 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 73 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 74 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 75 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 76 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 77 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 78 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 79 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 80 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 81 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 82 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 83 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 84 | 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 85 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 86 | 0x0034, 0x0034, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 87 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 88 | 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 89 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0034, 0x0034, 0x0000, 0x0000, 90 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 91 | 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 92 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 93 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 94 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 95 | 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 96 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 97 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 98 | 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 99 | 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 100 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 101 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 102 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 103 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 104 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 105 | 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 106 | 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 107 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 108 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 109 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 110 | 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 111 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 112 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 113 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 114 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 115 | 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 116 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 117 | 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 118 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 119 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 120 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 121 | 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0010, 122 | 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 123 | 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 124 | 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 0x0010, 125 | 0x0010, 0x0010, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 126 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 127 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 128 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 129 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 130 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 131 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 132 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 133 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 134 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 135 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 136 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 137 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 138 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 139 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 140 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 141 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 142 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 143 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 144 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 145 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 146 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 147 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 148 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 149 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 150 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 151 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 152 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 153 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 154 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 155 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 156 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 157 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 158 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 159 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0030, 0x0030, 0x0000, 0x0000, 160 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0034, 161 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 162 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 163 | 0x0000, 0x0030, 0x0030, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 164 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0034, 0x0000, 0x0000, 0x0000, 0x0000, 165 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 166 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 167 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 168 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 169 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 170 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 171 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 172 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 173 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 174 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 175 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 176 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 177 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 178 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 179 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 180 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 181 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 182 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 183 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 184 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 185 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 186 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 187 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 188 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 189 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 190 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 191 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 192 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 193 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 194 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 195 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 196 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 197 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 198 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 199 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 200 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 201 | 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 202 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 203 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 204 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 205 | 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 206 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 207 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 208 | 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 209 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 210 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 211 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 212 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 213 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 214 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 215 | 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 216 | 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 217 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 218 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 219 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 220 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 221 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 222 | 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 223 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 224 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 225 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 226 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 227 | 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 228 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 229 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 230 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 231 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 232 | 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 233 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 234 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 235 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 236 | 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 237 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 238 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 239 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 240 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 241 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 242 | 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 243 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 244 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 245 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 246 | 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 247 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 248 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 249 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0010, 0x0010, 0x0000, 250 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 251 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 252 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 253 | 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 254 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 255 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 256 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 257 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 258 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 259 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 260 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 261 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 262 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 263 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 264 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 265 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 266 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 267 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 268 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 269 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 270 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 271 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 272 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 273 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 274 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 275 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 276 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 277 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 278 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 279 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 280 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 281 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 282 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 283 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 284 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 285 | 0x0000, 0x0000, 0x0000, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 286 | 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 287 | 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 288 | 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0000, 289 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 290 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 291 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 292 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 293 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 294 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 295 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 296 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 297 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 298 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 299 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 300 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 301 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 302 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 303 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 304 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 305 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 306 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 307 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 308 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 309 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 310 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 311 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 312 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 313 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 314 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 315 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 316 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 317 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 318 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 319 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 320 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 321 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 322 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 323 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 324 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 325 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 326 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 327 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 328 | 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 329 | 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 330 | 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 331 | 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0007, 332 | 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 333 | 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 334 | 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 335 | 0x0007, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 336 | 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 337 | 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 338 | 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0000, 339 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 340 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 341 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 342 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 343 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 344 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 345 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 346 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 347 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 348 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 349 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 350 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 351 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 352 | 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 353 | 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 354 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 355 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 356 | 0x0000, 0x0000, 0x0000, 0x0010, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 357 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 358 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 359 | 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 360 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 361 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 362 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 363 | 0x0010, 0x0000, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 364 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 365 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 366 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, 367 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 368 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 369 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 370 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 371 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 372 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 373 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 374 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 375 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 376 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 377 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 378 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 379 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 380 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 381 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 382 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 383 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 384 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 385 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 386 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 387 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 388 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 389 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 390 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 391 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 392 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 393 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 394 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 395 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 396 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 397 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 398 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 399 | 0x0000, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 400 | 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 401 | 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 402 | 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0030, 0x0000, 0x0000, 0x0000, 403 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 404 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 405 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 406 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 407 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 408 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 409 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 410 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 411 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 412 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 413 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 414 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 415 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 416 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 417 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 418 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 419 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 420 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 421 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 422 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 423 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 424 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 425 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 426 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 427 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 428 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 429 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 430 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 431 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 432 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 433 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 434 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 435 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 436 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 437 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 438 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 439 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 440 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 441 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 442 | 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 443 | 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 444 | 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 445 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 446 | 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 447 | 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 448 | 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 0x0007, 0x0000, 449 | 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 450 | 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 451 | 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0007, 0x0000, 452 | 0x0000, 0x0000, 0x0007, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 453 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 454 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 455 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 456 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 457 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 458 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 459 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 460 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 461 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 462 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 463 | 0x0000, 464 | }; 465 | 466 | --------------------------------------------------------------------------------