mirror of
https://github.com/krislamo/Trololo
synced 2024-11-10 00:30:35 +00:00
Minor housekeeping
This commit is contained in:
parent
895eb5ba37
commit
dcbaabb1f8
2
LICENSE
2
LICENSE
@ -1,7 +1,7 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 3, 29 June 2007
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
Copyright (C) 2012 Kris Lamoureux
|
Copyright (C) 2012-2013 Kris Lamoureux
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
@ -7,8 +7,10 @@ Trololo is written in C++ with SDL 1.2.15 (32 bit) with the SDL extension librar
|
|||||||
## License
|
## License
|
||||||
This software is released under the GNU General Public License Version 3. Please read the LICENSE file to know your rights before continuing.
|
This software is released under the GNU General Public License Version 3. Please read the LICENSE file to know your rights before continuing.
|
||||||
|
|
||||||
## Support
|
## System Support
|
||||||
* Windows 7 Home Premium 64 bit (Service Pack 1) (g++ 4.7.0)
|
* Windows 7 Home Premium x86_64 (Service Pack 1) (g++ 4.7.0)
|
||||||
|
* Linux 3.2 Debian 6.0 x86_64 (g++ 4.4.5)
|
||||||
|
|
||||||
## Current State
|
## Current State
|
||||||
This software doesn't do much yet. Nothing is guaranteed to compile but most of the time it should. Binary links will be added in future stable updates on the [latest readme on github](https://github.com/Kris619/Trololo/).
|
This software doesn't do much yet. Nothing is guaranteed to compile but most of the time it should. Binary links will be added in future stable
|
||||||
|
updates on the [latest readme on github](https://github.com/Kris619/Trololo/).
|
14
References.txt
Normal file
14
References.txt
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Bibliography
|
||||||
|
|
||||||
|
Kratochvil, Petr. Pool Tiles Underwater. Digital image. Free Stock Photo - Public
|
||||||
|
Domain Pictures. N.p., n.d. Web. 28 Oct. 2012.
|
||||||
|
<http://www.publicdomainpictures.net/view-image.php?image=5182&
|
||||||
|
picture=pool-tiles-underwater>.
|
||||||
|
|
||||||
|
OCAL. Illustration Of A Blue Codfish. Digital image. Free Stock Photos. N.p., n.d.
|
||||||
|
Web. 28 Oct. 2012. <http://www.freestockphotos.biz/stockphoto/10674>.
|
||||||
|
|
||||||
|
Trollface. Digital image. Wikipedia. N.p., n.d. Web. 28 Oct. 2012.
|
||||||
|
<http://upload.wikimedia.org/wikipedia/en/thumb/7/78/Trollface.svg/200px-
|
||||||
|
Trollface.svg.png>.
|
||||||
|
|
8
core.cpp
8
core.cpp
@ -93,7 +93,7 @@ namespace scrns
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set window title
|
// Set window title
|
||||||
SDL_WM_SetCaption(WINDOW_TITLE, 0);
|
SDL_WM_SetCaption(WINDOW_TITLE " " VERSION, 0);
|
||||||
|
|
||||||
|
|
||||||
// Initialize SDL_ttf and check
|
// Initialize SDL_ttf and check
|
||||||
@ -119,8 +119,8 @@ namespace scrns
|
|||||||
|
|
||||||
|
|
||||||
// Image filenames
|
// Image filenames
|
||||||
const char *background_image = "stage1.bmp";
|
const char *background_image = "bin/stage1.bmp";
|
||||||
const char *characters_image = "characters.bmp";
|
const char *characters_image = "bin/characters.bmp";
|
||||||
|
|
||||||
// Char
|
// Char
|
||||||
SDL_Rect clip[2];
|
SDL_Rect clip[2];
|
||||||
@ -164,7 +164,7 @@ namespace scrns
|
|||||||
|
|
||||||
// Setup welcome text
|
// Setup welcome text
|
||||||
SDL_Color whitecolor = { 255, 255, 255 };
|
SDL_Color whitecolor = { 255, 255, 255 };
|
||||||
TTF_Font *font = TTF_OpenFont("CaviarDreams.ttf", 80);
|
TTF_Font *font = TTF_OpenFont("bin/CaviarDreams.ttf", 80);
|
||||||
const char* text = "Welcome to Trololo";
|
const char* text = "Welcome to Trololo";
|
||||||
|
|
||||||
|
|
||||||
|
2
main.h
2
main.h
@ -22,7 +22,7 @@ namespace scrnfunk
|
|||||||
bool RemoveColor(SDL_Surface* image, Uint8 R, Uint8 G, Uint8);
|
bool RemoveColor(SDL_Surface* image, Uint8 R, Uint8 G, Uint8);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define VERSION 0.1-alpha
|
#define VERSION "0.1-alpha"
|
||||||
#define WINDOW_TITLE "Trololo"
|
#define WINDOW_TITLE "Trololo"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
2
makefile
2
makefile
@ -1,4 +1,4 @@
|
|||||||
SDL_LIBS=`pkg-config --libs sdl` -lSDL -lSDL_image -lSDL_ttf
|
SDL_LIBS=`pkg-config --libs sdl` -lSDL -lSDL_image -lSDL_ttf
|
||||||
INCLUDES=-I/opt/local/include
|
INCLUDES=-I/opt/local/include
|
||||||
all:
|
all:
|
||||||
g++ -Wall -g main.cpp core.cpp main.h -o Trololo ${INCLUDES} ${SDL_LIBS}
|
g++ -Wall main.cpp core.cpp main.h -o Trololo ${INCLUDES} ${SDL_LIBS}
|
||||||
|
Loading…
Reference in New Issue
Block a user