Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Apua
Kirjaudu sisään
cacalabs
/
neercs
peilaus alkaen
https://github.com/cacalabs/neercs.git
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Julkaisut
0
Wiki
Toiminta
Selaa lähdekoodia
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
master
Sam Hocevar
10 vuotta sitten
vanhempi
3f897ce51a
commit
c8af09f3b4
6 muutettua tiedostoa
jossa
7 lisäystä
ja
22 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-4
neercs/neercs.h
+2
-3
neercs/old/neercs.h
+1
-4
neercs/term/pty.h
+1
-4
neercs/term/term.h
+1
-3
neercs/video/render.h
+1
-4
neercs/video/text-render.h
+ 1
- 4
neercs/neercs.h
Näytä tiedosto
@@ -4,8 +4,7 @@
// Copyright: (c) 2012 Sam Hocevar <sam@hocevar.net>
//
#if !defined __NEERCS_H__
#define __NEERCS_H__
#pragma once
#include <caca.h>
@@ -36,5 +35,3 @@ private:
bool m_ready;
};
#endif // __NEERCS_H__
+ 2
- 3
neercs/old/neercs.h
Näytä tiedosto
@@ -11,8 +11,7 @@
* http://www.wtfpl.net/ for more details.
*/
#ifndef _NEERCS_H_
#define _NEERCS_H_
#pragma once
#include <stdint.h>
#include <caca.h>
@@ -427,4 +426,4 @@ static inline void debug(const char *format, ...)
#else
# define debug(format, ...) do {} while(0)
#endif
#endif /* _NEERCS_H_ */
+ 1
- 4
neercs/term/pty.h
Näytä tiedosto
@@ -2,8 +2,7 @@
// Neercs
//
#if !defined __TERM_PTY_H__
#define __TERM_PTY_H__
#pragma once
class Pty
{
@@ -30,5 +29,3 @@ private:
ivec2 m_size;
};
#endif // __TERM_PTY_H__
+ 1
- 4
neercs/term/term.h
Näytä tiedosto
@@ -2,8 +2,7 @@
// Neercs
//
#if !defined __TERM_TERM_H__
#define __TERM_TERM_H__
#pragma once
#include "term/pty.h"
@@ -129,5 +128,3 @@ private:
bool m_debug;
};
#endif // __TERM_TERM_H__
+ 1
- 3
neercs/video/render.h
Näytä tiedosto
@@ -2,8 +2,7 @@
// Neercs
//
#if !defined __VIDEO_RENDER_H__
#define __VIDEO_RENDER_H__
#pragma once
class Render : public WorldEntity
{
@@ -55,4 +54,3 @@ private:
m_flags;
};
#endif // __VIDEO_RENDER_H__
+ 1
- 4
neercs/video/text-render.h
Näytä tiedosto
@@ -2,8 +2,7 @@
// Neercs
//
#if !defined __TEXT_RENDER_H__
#define __TEXT_RENDER_H__
#pragma once
class TextRender
{
@@ -31,5 +30,3 @@ private:
Framebuffer *m_fbo;
};
#endif // __TEXT_RENDER_H__
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna