This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <allegro5/allegro5.h> | |
#include "allegro5/allegro_image.h" | |
#include "allegro5/allegro_native_dialog.h" | |
bool done; | |
const float FPS = 60.0; | |
const int SCREEN_W = 1600; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From cf8542f420aa3bf0351662f20b8f2301ae134891 Mon Sep 17 00:00:00 2001 | |
From: Shaun Reich <sreich@kde.org> | |
Date: Mon, 21 Jan 2013 14:51:00 -0500 | |
Subject: [PATCH] make opengl renderer assert on non existent file | |
--- | |
gwen/Renderers/OpenGL/OpenGL.cpp | 6 ++++++ | |
1 file changed, 6 insertions(+) | |
diff --git a/gwen/Renderers/OpenGL/OpenGL.cpp b/gwen/Renderers/OpenGL/OpenGL.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Gwen/Gwen.h" | |
#include "Gwen/Skins/Simple.h" | |
#include "Gwen/Skins/TexturedBase.h" | |
#include "Gwen/UnitTest/UnitTest.h" | |
#include "Gwen/Renderers/OpenGL.h" | |
#include "Gwen/Controls/WindowCanvas.h" | |
#include "Gwen/Controls/Canvas.h" | |
#include <SDL_video.h> | |
#include <SDL.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skeleton | |
torso l100 r90 | |
@ #00F :rect w120 h100 t4 r-90 x50 f#FFF round-join | |
torso.head l0 r0 x100 #06F | |
@ #FC9 :ellipse w160 h140 t4 r-90 x55 f#FFF round-join | |
torso.head.eyes l0 x60 #06F r-90 | |
@left[open] :circle d10 x-20 t0 | |
@left[closed] :rect w10 h3 x-20 t0 | |
@right[open] :circle d10 x30 t0 | |
@right[closed] :rect w10 h3 x30 t0 |