mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-19 16:20:01 -04:00
In-game mods (GameBanana browser, search and installs, with the Mask Salesman), code-patch and cheat mods, the devs' test18 to test45 work (full performance overlay, frame pacing on, steady frame rate, save export and import, bug capture, new options rows, Setup's Mods page and Add to Steam), occlusion queries and new defaults, Auto resolution that scales, replay helper threads and robust buffers off by default, the options in sections.
70 lines
4.5 KiB
C
70 lines
4.5 KiB
C
/**
|
|
* Copyright (C) 2013 Jorge Jimenez (jorge@iryoku.com)
|
|
* Copyright (C) 2013 Jose I. Echevarria (joseignacioechevarria@gmail.com)
|
|
* Copyright (C) 2013 Belen Masia (bmasia@unizar.es)
|
|
* Copyright (C) 2013 Fernando Navarro (fernandn@microsoft.com)
|
|
* Copyright (C) 2013 Diego Gutierrez (diegog@unizar.es)
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
* this software and associated documentation files (the "Software"), to deal in
|
|
* the Software without restriction, including without limitation the rights to
|
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
* of the Software, and to permit persons to whom the Software is furnished to
|
|
* do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software. As clarification, there
|
|
* is no requirement that the copyright notice and permission be included in
|
|
* binary distributions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
* SOFTWARE.
|
|
*/
|
|
|
|
/* SMAA's search texture: the bytes of the SMAA project's Textures/SearchTex.h (searchTexBytes: 64 x 16 texels of
|
|
one byte, R8), written out again a number a byte. See PROVENANCE.md.
|
|
(sha256 of the bytes: 3694eae5e9d44b8ebb4415a13f8c7b94dc08a2fc86658434d771c4610fe5744d) */
|
|
#ifndef SEARCHTEX_H
|
|
#define SEARCHTEX_H
|
|
|
|
#define SEARCHTEX_WIDTH 64
|
|
#define SEARCHTEX_HEIGHT 16
|
|
#define SEARCHTEX_PITCH SEARCHTEX_WIDTH
|
|
#define SEARCHTEX_SIZE (SEARCHTEX_HEIGHT * SEARCHTEX_PITCH)
|
|
|
|
static const unsigned char searchTexBytes[] = {
|
|
254,254,0,127,127,0,0,254,254,0,127,127,0,0,0,0,0,0,0,0,0,127,127,0,127,127,0,0,127,127,0,127,127,254,127,0,0,0,0,0,
|
|
127,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,254,254,0,127,127,0,0,254,254,0,127,127,0,0,0,0,
|
|
0,0,0,0,0,127,127,0,127,127,0,0,127,127,0,127,127,254,127,0,0,0,0,0,127,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,254,254,0,127,127,0,0,254,
|
|
254,0,127,127,0,0,0,0,0,0,0,0,0,127,127,0,127,127,0,0,127,127,0,127,127,254,127,0,0,0,0,0,127,127,0,0,0,0,0,0,
|
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,254,254,0,127,127,0,0,254,254,0,127,127,0,0,0,0,0,0,0,0,0,127,127,0,
|
|
127,127,0,0,127,127,0,127,127,254,127,0,0,0,0,0,127,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
|
0,0,0,0,0,0,0,0,127,127,0,127,127,0,0,127,127,0,127,127,0,0,0,0,0,0,0,0,0,127,127,0,127,127,0,0,127,127,0,127,
|
|
127,127,127,0,0,0,0,0,127,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,127,127,0,127,127,0,0,127,
|
|
127,0,127,127,0,0,0,0,0,0,0,0,0,127,127,0,127,127,0,0,127,127,0,127,127,127,127,0,0,0,0,0,127,127,0,0,0,0,0,0,
|
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
|
127,127,0,127,127,0,0,127,127,0,127,127,0,0,0,0,0,0,0,0,0,127,127,0,127,127,0,0,127,127,0,127,127,127,127,0,0,0,0,0,
|
|
127,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,127,127,0,127,127,0,0,127,127,0,127,127,0,0,0,0,
|
|
0,0,0,0,0,127,127,0,127,127,0,0,127,127,0,127,127,127,127,0,0,0,0,0,127,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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