Този сайт работи по-добре с JavaScript.
Начало
Помощ
Вход
cacalabs
/
neercs
огледало от
https://github.com/cacalabs/neercs.git
Наблюдаван
1
Харесван
0
Разклонения
0
Код
Задачи
0
Версии
0
Уики
Activity
Преглед на файлове
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 години
родител
3f897ce51a
ревизия
c8af09f3b4
променени са
6 файла
, в които са
добавени 7
реда и са
изтрити 22
реда
Разделен изглед
Diff Options
Показване на статистика
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
Целия файл
@@ -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
Целия файл
@@ -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
Целия файл
@@ -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
Целия файл
@@ -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
Целия файл
@@ -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
Целия файл
@@ -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__
Пиши
Преглед
Зареждане…
Отказ
Запис