PVSnesLib  4.3.0
Documentation to code in C or ASM for the Nintendo SNES
Loading...
Searching...
No Matches
pixel.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------------------
2
3 mixel mode for mode 0
4
5 Copyright (C) 2012-2013
6 Alekmaul
7
8 This software is provided 'as-is', without any express or implied
9 warranty. In no event will the authors be held liable for any
10 damages arising from the use of this software.
11
12 Permission is granted to anyone to use this software for any
13 purpose, including commercial applications, and to alter it and
14 redistribute it freely, subject to the following restrictions:
15
16 1. The origin of this software must not be misrepresented; you
17 must not claim that you wrote the original software. If you use
18 this software in a product, an acknowledgment in the product
19 documentation would be appreciated but is not required.
20 2. Altered source versions must be plainly marked as such, and
21 must not be misrepresented as being the original software.
22 3. This notice may not be removed or altered from any source
23 distribution.
24
25---------------------------------------------------------------------------------*/
26
34#ifndef SNES_PIXEL_INCLUDE
35#define SNES_PIXEL_INCLUDE
36
37#include <snes/snestypes.h>
38
45void pixSetPixel(u8 x, u8 y, u8 color);
46
51void pixSetMode(u8 *pixPalette);
52
53#endif
void pixSetPixel(u8 x, u8 y, u8 color)
Draw a dot.
void pixSetMode(u8 *pixPalette)
Init pixel mode with SNES mode 0.
Custom types used by libsnes.