Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 32 lines (24 sloc) 1.416 kb
aa80153 @DusteDdk Nuked all windows newlines.
authored
1 #ifndef FPSCOUNTER_H_INCLUDED
2 #define FPSCOUNTER_H_INCLUDED
d59992d @DusteDdk Moved headerguards to top of file since a bug in some IDE's will add …
authored
3
cd298d6 @DusteDdk terrible mess
authored
4 /************************************************************************
5 * This file is part of Wizznic. *
e61c024 @DusteDdk Updated copyleft header.
authored
6 * Copyright 2009-2012 Jimmy Christensen <dusted@dusted.dk> *
cd298d6 @DusteDdk terrible mess
authored
7 * Wizznic is free software: you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation, either version 3 of the License, or *
10 * (at your option) any later version. *
11 * *
12 * Wizznic is distributed in the hope that it will be useful, *
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15 * GNU General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU General Public License *
aa80153 @DusteDdk Nuked all windows newlines.
authored
18 * along with Wizznic. If not, see <http://www.gnu.org/licenses/>. *
cd298d6 @DusteDdk terrible mess
authored
19 ************************************************************************/
20
aa80153 @DusteDdk Nuked all windows newlines.
authored
21 #include <SDL/SDL.h>
540ed40 @DusteDdk Initial commit
authored
22
23 void frameStart();
24
25 inline int getTicks();
26
27 inline int getTimeSinceFrameStart();
28
29 void drawFPS(SDL_Surface* scr);
aa80153 @DusteDdk Nuked all windows newlines.
authored
30
31 #endif // FPSCOUNTER_H_INCLUDED
Something went wrong with that request. Please try again.