This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
misc: remove 100% of the "using namespace std;" madness.
undefined
Sam Hocevar
10 years ago
parent
12aaff89e3
commit
ad9a388e80
49 changed files
with
0 additions
and
82 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
demos/tutorial/01_triangle.cpp
+0
-1
demos/tutorial/02_cube.cpp
+0
-1
demos/tutorial/03_noise.cpp
+0
-1
demos/tutorial/04_texture.cpp
+0
-1
demos/tutorial/05_easymesh.cpp
+0
-1
demos/tutorial/06_sprite.cpp
+0
-1
demos/tutorial/07_input.cpp
+0
-1
demos/tutorial/08_fbo.cpp
+0
-1
demos/tutorial/12_voronoi.cpp
+0
-2
src/application/application.cpp
+0
-2
src/debug/fps.cpp
+0
-2
src/debug/record.cpp
+0
-2
src/debug/stats.cpp
+0
-2
src/dict.cpp
+0
-2
src/font.cpp
+0
-2
src/gpu/framebuffer.cpp
+0
-2
src/gpu/indexbuffer.cpp
+0
-2
src/gpu/shader.cpp
+0
-2
src/gpu/texture.cpp
+0
-2
src/gpu/vertexbuffer.cpp
+0
-2
src/gradient.cpp
+0
-2
src/image/codec/android-image.cpp
+0
-2
src/image/codec/dummy-image.cpp
+0
-2
src/image/codec/gdiplus-image.cpp
+0
-2
src/image/codec/imlib2-image.cpp
+0
-2
src/image/codec/ios-image.cpp
+0
-2
src/image/codec/oric-image.cpp
+0
-2
src/image/codec/ps3-image.cpp
+0
-2
src/image/codec/sdl-image.cpp
+0
-2
src/image/codec/zed-image.cpp
+0
-2
src/image/codec/zed-palette-image.cpp
+0
-2
src/lol/unit.h
+0
-2
src/math/geometry.cpp
+0
-2
src/math/half.cpp
+0
-2
src/math/real.cpp
+0
-2
src/math/trig.cpp
+0
-2
src/math/vector.cpp
+0
-2
src/platform/ps3/ps3input.cpp
+0
-2
src/sample.cpp
+0
-2
src/text.cpp
+0
-2
src/tileset.cpp
+0
-2
src/video.cpp
+0
-1
test/benchmark/half.cpp
+0
-1
test/benchmark/real.cpp
+0
-1
test/benchmark/trig.cpp
+0
-1
test/benchmark/vector.cpp
+0
-1
test/benchsuite.cpp
+0
-1
test/math/poly.cpp
+0
-1
test/sandbox/sample.cpp
+ 0
- 1
demos/tutorial/01_triangle.cpp
View File
@@ -15,7 +15,6 @@
#include <lol/main.h>
#include "loldebug.h"
using namespace std;
using namespace lol;
LOLFX_RESOURCE_DECLARE(01_triangle);
+ 0
- 1
demos/tutorial/02_cube.cpp
View File
@@ -15,7 +15,6 @@
#include <lol/main.h>
#include "loldebug.h"
using namespace std;
using namespace lol;
LOLFX_RESOURCE_DECLARE(02_cube);
+ 0
- 1
demos/tutorial/03_noise.cpp
View File
@@ -15,7 +15,6 @@
#include <lol/main.h>
#include "loldebug.h"
using namespace std;
using namespace lol;
LOLFX_RESOURCE_DECLARE(03_noise);
+ 0
- 1
demos/tutorial/04_texture.cpp
View File
@@ -15,7 +15,6 @@
#include <lol/main.h>
#include "loldebug.h"
using namespace std;
using namespace lol;
static int const TEXTURE_WIDTH = 256;
+ 0
- 1
demos/tutorial/05_easymesh.cpp
View File
@@ -15,7 +15,6 @@
#include <lol/main.h>
using namespace std;
using namespace lol;
#define USE_CUSTOM_SHADER 1
+ 0
- 1
demos/tutorial/06_sprite.cpp
View File
@@ -15,7 +15,6 @@
#include <lol/main.h>
using namespace std;
using namespace lol;
class SpriteTutorial : public WorldEntity
+ 0
- 1
demos/tutorial/07_input.cpp
View File
@@ -15,7 +15,6 @@
#include <lol/main.h>
#include "loldebug.h"
using namespace std;
using namespace lol;
LOLFX_RESOURCE_DECLARE(07_input);
+ 0
- 1
demos/tutorial/08_fbo.cpp
View File
@@ -15,7 +15,6 @@
#include <lol/main.h>
#include "loldebug.h"
using namespace std;
using namespace lol;
LOLFX_RESOURCE_DECLARE(08_fbo);
+ 0
- 1
demos/tutorial/12_voronoi.cpp
View File
@@ -16,7 +16,6 @@
#include <lol/main.h>
#include "loldebug.h"
using namespace std;
using namespace lol;
LOLFX_RESOURCE_DECLARE(12_voronoi);
+ 0
- 2
src/application/application.cpp
View File
@@ -35,8 +35,6 @@
# include "eglapp.h"
#endif
using namespace std;
namespace lol
{
+ 0
- 2
src/debug/fps.cpp
View File
@@ -17,8 +17,6 @@
#include <lol/main.h>
#include "loldebug.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/debug/record.cpp
View File
@@ -21,8 +21,6 @@
#include <lol/main.h>
#include "loldebug.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/debug/stats.cpp
View File
@@ -17,8 +17,6 @@
#include <lol/main.h>
#include "loldebug.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/dict.cpp
View File
@@ -21,8 +21,6 @@
# define strcasecmp _stricmp
#endif
using namespace std;
namespace lol
{
+ 0
- 2
src/font.cpp
View File
@@ -18,8 +18,6 @@
#include <lol/main.h>
using namespace std;
namespace lol
{
+ 0
- 2
src/gpu/framebuffer.cpp
View File
@@ -25,8 +25,6 @@
# undef far /* Fuck Microsoft again */
#endif
using namespace std;
namespace lol
{
+ 0
- 2
src/gpu/indexbuffer.cpp
View File
@@ -25,8 +25,6 @@
# undef far /* Fuck Microsoft again */
#endif
using namespace std;
namespace lol
{
+ 0
- 2
src/gpu/shader.cpp
View File
@@ -34,8 +34,6 @@
#include <lol/main.h>
#include "lolgl.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/gpu/texture.cpp
View File
@@ -21,8 +21,6 @@
# include <d3d9.h>
#endif
using namespace std;
namespace lol
{
+ 0
- 2
src/gpu/vertexbuffer.cpp
View File
@@ -25,8 +25,6 @@
# undef far /* Fuck Microsoft again */
#endif
using namespace std;
namespace lol
{
+ 0
- 2
src/gradient.cpp
View File
@@ -14,8 +14,6 @@
#include <lol/main.h>
using namespace std;
LOLFX_RESOURCE_DECLARE(gradient);
namespace lol
+ 0
- 2
src/image/codec/android-image.cpp
View File
@@ -24,8 +24,6 @@ extern "C" {
#include <lol/main.h>
#include "../../image/image-private.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/image/codec/dummy-image.cpp
View File
@@ -15,8 +15,6 @@
#include <lol/main.h>
#include "../../image/image-private.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/image/codec/gdiplus-image.cpp
View File
@@ -16,8 +16,6 @@
#include <algorithm>
using namespace std;
#include <windows.h>
#include <gdiplus.h>
+ 0
- 2
src/image/codec/imlib2-image.cpp
View File
@@ -19,8 +19,6 @@
#include <lol/main.h>
#include "../../image/image-private.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/image/codec/ios-image.cpp
View File
@@ -19,8 +19,6 @@
#include <lol/main.h>
#include "../../image/image-private.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/image/codec/oric-image.cpp
View File
@@ -15,8 +15,6 @@
#include <lol/main.h>
#include "../../image/image-private.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/image/codec/ps3-image.cpp
View File
@@ -21,8 +21,6 @@
#include <lol/main.h>
#include "../../image/image-private.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/image/codec/sdl-image.cpp
View File
@@ -28,8 +28,6 @@
#include <lol/main.h>
#include "../../image/image-private.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/image/codec/zed-image.cpp
View File
@@ -16,8 +16,6 @@
#include <lol/main.h>
#include "../../image/image-private.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/image/codec/zed-palette-image.cpp
View File
@@ -15,8 +15,6 @@
#include <lol/main.h>
#include "../../image/image-private.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/lol/unit.h
View File
@@ -24,8 +24,6 @@
namespace lol
{
using namespace std;
/*
* This is the base class for all fixtures. It keeps track of all
* fixtures registered through the LOLUNIT_FIXTURE macro and puts them
+ 0
- 2
src/math/geometry.cpp
View File
@@ -20,8 +20,6 @@
#include <lol/main.h>
using namespace std;
namespace lol
{
//Test epsilon stuff
+ 0
- 2
src/math/half.cpp
View File
@@ -22,8 +22,6 @@
#include <lol/main.h>
using namespace std;
namespace lol
{
+ 0
- 2
src/math/real.cpp
View File
@@ -19,8 +19,6 @@
#include <lol/main.h>
using namespace std;
namespace lol
{
+ 0
- 2
src/math/trig.cpp
View File
@@ -18,8 +18,6 @@
#include <lol/main.h>
using namespace std;
// Optimisation helpers
#if defined __GNUC__
# define __likely(x) __builtin_expect(!!(x), 1)
+ 0
- 2
src/math/vector.cpp
View File
@@ -19,8 +19,6 @@
#include <lol/main.h>
using namespace std;
namespace lol
{
+ 0
- 2
src/platform/ps3/ps3input.cpp
View File
@@ -23,8 +23,6 @@
#include <lol/main.h>
#include "ps3input.h"
using namespace std;
namespace lol
{
+ 0
- 2
src/sample.cpp
View File
@@ -33,8 +33,6 @@
#include <lol/main.h>
using namespace std;
namespace lol
{
+ 0
- 2
src/text.cpp
View File
@@ -18,8 +18,6 @@
#include <lol/main.h>
using namespace std;
namespace lol
{
+ 0
- 2
src/tileset.cpp
View File
@@ -28,8 +28,6 @@
#include <lol/main.h>
using namespace std;
namespace lol
{
+ 0
- 2
src/video.cpp
View File
@@ -29,8 +29,6 @@
#include <lol/main.h>
#include "lolgl.h"
using namespace std;
namespace lol
{
+ 0
- 1
test/benchmark/half.cpp
View File
@@ -16,7 +16,6 @@
#include <lol/main.h>
using namespace std;
using namespace lol;
static size_t const HALF_TABLE_SIZE = 1024 * 1024;
+ 0
- 1
test/benchmark/real.cpp
View File
@@ -16,7 +16,6 @@
#include <lol/main.h>
using namespace std;
using namespace lol;
static size_t const REAL_TABLE_SIZE = 10000;
+ 0
- 1
test/benchmark/trig.cpp
View File
@@ -20,7 +20,6 @@
#include <lol/main.h>
using namespace std;
using namespace lol;
static size_t const TRIG_TABLE_SIZE = 128 * 1024;
+ 0
- 1
test/benchmark/vector.cpp
View File
@@ -16,7 +16,6 @@
#include <lol/main.h>
using namespace std;
using namespace lol;
static size_t const MATRIX_TABLE_SIZE = 64 * 1024;
+ 0
- 1
test/benchsuite.cpp
View File
@@ -16,7 +16,6 @@
#include <lol/main.h>
using namespace std;
using namespace lol;
void bench_real(int mode);
+ 0
- 1
test/math/poly.cpp
View File
@@ -17,7 +17,6 @@
#include <lol/main.h>
using namespace lol;
using namespace std;
mat4 multiply_copy(mat4 m1, mat4 m2, mat4 m3)
{
+ 0
- 1
test/sandbox/sample.cpp
View File
@@ -14,7 +14,6 @@
#include <lol/main.h>
using namespace std;
using namespace lol;
int main(int argc, char **argv)
Write
Preview
Loading…
Cancel
Save