<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.gametank.zone/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.gametank.zone/feed.php">
        <title>The GameTank Wiki - development:csdk:1.0:headers</title>
        <description></description>
        <link>https://wiki.gametank.zone/</link>
        <image rdf:resource="https://wiki.gametank.zone/lib/exe/fetch.php?media=wiki:logo.png" />
       <dc:date>2026-04-06T15:25:38+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:drawing_funcs&amp;rev=1731031056&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:dynawave&amp;rev=1731031056&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:gametank&amp;rev=1731031056&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:input&amp;rev=1731034479&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:music&amp;rev=1732135223&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:random&amp;rev=1731031056&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.gametank.zone/lib/exe/fetch.php?media=wiki:logo.png">
        <title>The GameTank Wiki</title>
        <link>https://wiki.gametank.zone/</link>
        <url>https://wiki.gametank.zone/lib/exe/fetch.php?media=wiki:logo.png</url>
    </image>
    <item rdf:about="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:drawing_funcs&amp;rev=1731031056&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-08T01:57:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>drawing_funcs</title>
        <link>https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:drawing_funcs&amp;rev=1731031056&amp;do=diff</link>
        <description>drawing_funcs.h

drawing_funcs.h provides functions and macros related to putting stuff on the screen!

Defines

Sprite flips

	*  SPRITE_FLIP_NONE - Apply no sprite flip
	*  SPRITE_FLIP_X - Apply horizontal sprite flipping
	*  SPRITE_FLIP_Y - Apply vertical sprite flipping</description>
    </item>
    <item rdf:about="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:dynawave&amp;rev=1731031056&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-08T01:57:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dynawave</title>
        <link>https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:dynawave&amp;rev=1731031056&amp;do=diff</link>
        <description>dynawave.h

This header file provides functions for initializing and interacting with the audio firmware included with the SDK, which is modeled after the initial logic-based prototype that was called “Dynawave”.

The Dynawave firmware is very simple compared to the theoretical full capabilities of the Audio Coprocessor but it&#039;s also very simple to interact with.</description>
    </item>
    <item rdf:about="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:gametank&amp;rev=1731031056&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-08T01:57:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gametank</title>
        <link>https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:gametank&amp;rev=1731031056&amp;do=diff</link>
        <description>gametank.h

Header file with a lot of general system defines

Defines

Macros

name


PROFILER_START(x)


	*  x - from 0-16 start a timer to count cycles with in the emulator

name


PROFILER_END(x)


	*  x - from 0-16 stop a timer to count cycles with in the emulator</description>
    </item>
    <item rdf:about="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:input&amp;rev=1731034479&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-08T02:54:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>input</title>
        <link>https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:input&amp;rev=1731034479&amp;do=diff</link>
        <description>input.h

Functions

update_inputs

This should be called once per frame, ideally right after a v-sync so that the timing is consistent. It updates the controller state variables for both players.


void update_inputs();


Input-related Variables


extern int player1_buttons, player1_old_buttons;
extern int player2_buttons, player2_old_buttons;</description>
    </item>
    <item rdf:about="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:music&amp;rev=1732135223&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-20T20:40:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>music</title>
        <link>https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:music&amp;rev=1732135223&amp;do=diff</link>
        <description>music.h

Functions

init_music


void init_music();


play_song


void play_song(const unsigned char* song, char bank_num, char loop);


tick_music


char tick_music();


play_sound_effect


void play_sound_effect(char* sfx_ptr, char sfx_bank, char priority);</description>
    </item>
    <item rdf:about="https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:random&amp;rev=1731031056&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-08T01:57:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>random</title>
        <link>https://wiki.gametank.zone/doku.php?id=development:csdk:1.0:headers:random&amp;rev=1731031056&amp;do=diff</link>
        <description>random.h

Functions

rnd


int rnd();


rnd_range


int rnd_range(int low, int high);</description>
    </item>
</rdf:RDF>
