aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/default_cactus_top.png
blob: eda1a0bb6374dfc88b4475f304f2b0e034ef5c1b (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 10 00 00 00 10 01 03 00 00 00 25 3d 6d .PNG........IHDR.............%=m
0020 22 00 00 00 06 50 4c 54 45 00 00 00 4e 9a 06 bd ae de a0 00 00 00 2e 49 44 41 54 08 1d 05 c1 b1 "....PLTE...N..........IDAT.....
0040 0d 00 20 0c 04 b1 db fc b7 a2 41 4c c2 10 94 29 22 38 6c 2c 0c 91 12 17 53 6c 22 37 9c c6 a0 54 ..........AL...)"8l,....Sl"7...T
0060 e1 63 8b e3 03 9b 94 1c 33 e6 5e 7d 37 00 00 00 00 49 45 4e 44 ae 42 60 82 .c......3.^}7....IEND.B`.
<celeron55@gmail.com> Copyright (C) 2017 numzero, Lobachevskiy Vitaliy <numzer0@yandex.ru> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "factory.h" #include <stdexcept> #include "plain.h" #include "anaglyph.h" #include "interlaced.h" #include "pageflip.h" #include "sidebyside.h" RenderingCore *createRenderingCore(const std::string &stereo_mode, IrrlichtDevice *device, Client *client, Hud *hud) { if (stereo_mode == "none") return new RenderingCorePlain(device, client, hud); if (stereo_mode == "anaglyph") return new RenderingCoreAnaglyph(device, client, hud); if (stereo_mode == "interlaced") return new RenderingCoreInterlaced(device, client, hud); #ifdef STEREO_PAGEFLIP_SUPPORTED if (stereo_mode == "pageflip") return new RenderingCorePageflip(device, client, hud); #endif if (stereo_mode == "sidebyside") return new RenderingCoreSideBySide(device, client, hud); if (stereo_mode == "topbottom") return new RenderingCoreSideBySide(device, client, hud, true); if (stereo_mode == "crossview") return new RenderingCoreSideBySide(device, client, hud, false, true); throw std::invalid_argument("Invalid rendering mode: " + stereo_mode); }