Il sito funziona meglio con JavaScript.
Home
Aiuto
Accedi
cacalabs
/
neercs
mirror da
https://github.com/cacalabs/neercs.git
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
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 anni fa
parent
3f897ce51a
commit
c8af09f3b4
6 ha cambiato i file
con
7 aggiunte
e
22 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+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
Vedi File
@@ -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
Vedi File
@@ -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
Vedi File
@@ -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
Vedi File
@@ -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
Vedi File
@@ -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
Vedi File
@@ -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__
Scrivi
Anteprima
Caricamento…
Annulla
Salva