iojo |
10 lines
of
C
|
58 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
#include test.h
int main(){
return 0;
} |
|
SFML + SFGUI |
50 lines
of
C++
by
Quintus
|
1.02 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
#include <iostream>
#include <functional>
#include <SFML/Graphics.hpp>
#include <SFGUI/SFGUI.hpp>
void on_button_click()
{
std::cout << "Test" << std::endl;
}
int main()
{
sf::Ren... |
|
SFML test without tabs |
111 lines
of
C++
by
Quintus
|
4.87 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>
#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/OpenGL/GLRenderer.h>
|
|
SFML test |
111 lines
of
Ruby
by
Quintus
|
4.78 KB |
Show |
Edit |
Expand |
|
SDL2 application_template diff |
56 lines
of
diff
by
Quintus
|
1.64 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
--- a/application_templates/SDL2.cpp Sun Jan 04 18:31:27 2015 +0100
+++ b/application_templates/SDL2.cpp Sat Mar 14 09:43:51 2015 +0100
@@ -40,7 +40,8 @@
#include <iostream>
#include <CEGU... |
|
Singleton resource provider code |
134 lines
of
C++
by
Quintus
|
5.21 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
#include <iostream>
#include <SDL.h>
#include <SDL_opengl.h>
#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/OpenGL/GLRenderer.h>
#include <CEGUI/XMLParserModules/Expat/XMLParser.h>
... |
|
Still not entirely working example |
133 lines
of
C++
by
Quintus
|
5.12 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
#include <iostream>
#include <SDL.h>
#include <SDL_opengl.h>
#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/OpenGL/GLRenderer.h>
#include <CEGUI/XMLParserModules/Expat/XMLParser.h>
... |
|
Still not entirely working example |
133 lines
of
C++
by
Quintus
|
5.11 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
#include <iostream>
#include <SDL.h>
#include <SDL_opengl.h>
#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/OpenGL/GLRenderer.h>
#include <CEGUI/XMLParserModules/Expat/XMLParser.h>
... |
|
Not correctly working example |
131 lines
of
C++
by
Quintus
|
5.03 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
#include <iostream>
#include <SDL.h>
#include <SDL_opengl.h>
#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/OpenGL/GLRenderer.h>
#include <CEGUI/XMLParserModules/Expat/XMLParser.h>
... |
|
minimal SDL2 example |
108 lines
of
C++
by
Quintus
|
4 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
#include <iostream>
#include <SDL.h>
#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/OpenGL/GLRenderer.h>
#include <CEGUI/XMLParserModules/Expat/XMLParser.h>
#include <CEGUI/ImageCode... |
|