1
0
mirror of https://github.com/krislamo/Trololo synced 2024-12-16 02:30:36 +00:00

Minor housekeeping

This commit is contained in:
Kris Lamoureux 2013-01-01 20:32:56 -08:00
parent 895eb5ba37
commit dcbaabb1f8
6 changed files with 26 additions and 10 deletions

View File

@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
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
of this license document, but changing it is not allowed.

View File

@ -7,8 +7,10 @@ Trololo is written in C++ with SDL 1.2.15 (32 bit) with the SDL extension librar
## License
This software is released under the GNU General Public License Version 3. Please read the LICENSE file to know your rights before continuing.
## Support
* Windows 7 Home Premium 64 bit (Service Pack 1) (g++ 4.7.0)
## System Support
* 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
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
View 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>.

View File

@ -93,7 +93,7 @@ namespace scrns
}
// Set window title
SDL_WM_SetCaption(WINDOW_TITLE, 0);
SDL_WM_SetCaption(WINDOW_TITLE " " VERSION, 0);
// Initialize SDL_ttf and check
@ -119,8 +119,8 @@ namespace scrns
// Image filenames
const char *background_image = "stage1.bmp";
const char *characters_image = "characters.bmp";
const char *background_image = "bin/stage1.bmp";
const char *characters_image = "bin/characters.bmp";
// Char
SDL_Rect clip[2];
@ -164,7 +164,7 @@ namespace scrns
// Setup welcome text
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";

2
main.h
View File

@ -22,7 +22,7 @@ namespace scrnfunk
bool RemoveColor(SDL_Surface* image, Uint8 R, Uint8 G, Uint8);
}
#define VERSION 0.1-alpha
#define VERSION "0.1-alpha"
#define WINDOW_TITLE "Trololo"
#endif

View File

@ -1,4 +1,4 @@
SDL_LIBS=`pkg-config --libs sdl` -lSDL -lSDL_image -lSDL_ttf
INCLUDES=-I/opt/local/include
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}