Sam Hocevar
7e04bd038a
scene: remove functions that aren’t that useful.
vor 10 Jahren
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
vor 10 Jahren
Sam Hocevar
d373081b80
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
vor 10 Jahren
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
vor 10 Jahren
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
vor 10 Jahren
Sam Hocevar
12aaff89e3
base: huge refactor in vector.h; GCC compilation times down by 50%.
vor 10 Jahren
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
vor 10 Jahren
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
vor 10 Jahren
Sam Hocevar
cdfb4e7abf
math: fix a few compilation warnings.
vor 10 Jahren
Benjamin ‘Touky’ Huet
fd4cb5e350
Added debug stuff
vor 11 Jahren
Benjamin ‘Touky’ Huet
dbb1d02aa6
Added 2D to 3D DebugLines
vor 11 Jahren
Benjamin ‘Touky’ Huet
d3b6bb6dce
workbench update
vor 11 Jahren
Benjamin ‘Touky’ Huet
cc8e6ced51
Added Debug DrawBox+DrawCapsule+DrawCircle+DrawSphere for ze lulz
vor 11 Jahren
Sam Hocevar
8ede168e62
color: add some vec4 constants for usual colour names.
vor 11 Jahren
Benjamin ‘Touky’ Huet
b1fbc0259f
Added Mask & StickyTime to Draw Debug
vor 11 Jahren
Benjamin ‘Touky’ Huet
a9972696e6
Tweaked stuff in the AABBTree element storage.
Added RemoveElement
vor 11 Jahren
Benjamin ‘Touky’ Huet
7c9f96e426
Added Debug::DrawViewProj
vor 11 Jahren
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
vor 11 Jahren
Lolbot
d375c7ba61
fixed 4 files out of 2770:
- removed 0 CR characters
- removed 0 trailing whitespaces
- replaced 5 tabs with spaces
- fixed 1 svn:eol-style properties
vor 11 Jahren
Benlitz
8a657ea287
input: Removed previous input system
vor 11 Jahren
Sam Hocevar
7159ef1dea
debug: fix a crash in the DebugFps constructor.
vor 11 Jahren
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
vor 11 Jahren
Sam Hocevar
b29519602a
debug: fewer lines of code in DrawBox().
vor 12 Jahren
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
vor 12 Jahren
Sam Hocevar
872efdb880
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
vor 12 Jahren
Sam Hocevar
7e8edd7c3e
sys: add the base source directory to the list of search directories
on automake platforms, too.
vor 12 Jahren
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
vor 12 Jahren
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
vor 12 Jahren
Sam Hocevar
8cff2e9c8b
debug: get rid of DebugSphere, it's totally obsoleted by EasyMesh.
vor 12 Jahren
Sam Hocevar
ca1050e047
debug: get rid of quad.cpp, it's become useless.
vor 12 Jahren
Sam Hocevar
951c93ab84
data: fix ascii.png search path.
vor 12 Jahren
Sam Hocevar
3389ed69a2
build: move all games to a "games" subdirectory to clean up the root
directory layout mess.
vor 12 Jahren
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
vor 12 Jahren
Sam Hocevar
90bfc79b22
core: tick methods now use seconds, like any sane system.
vor 13 Jahren
Sam Hocevar
fbaf32f1b9
core: make timers second-based rather than millisecond-based.
vor 13 Jahren
Sam Hocevar
4e4d5a8e06
build: fix GCC build; it doesn't like to have a local file called debug/debug.h.
vor 13 Jahren
Sam Hocevar
48c7070243
gpu: replace exit(0) in D3D error checks with lol::Abort().
vor 13 Jahren
Sam Hocevar
6169c874e4
gpu: port the vertex buffer abstraction layer to OpenGL.
vor 13 Jahren
Sam Hocevar
1485e5bf63
gpu: add support for integer uniforms and fix a few PS3 and Linux compilation
issues that were introduced with the Direct3D changes.
vor 13 Jahren
Sam Hocevar
090834b149
win32: start porting the graphical backend to DirectX 9. Apparently I
cannot used DirectX 10 because my video card only supports DX9, and there
is no compatibility layer. DX11 has feature levels for older hardware so
it would work with a DX9 card, but it's not available for WinXP.
vor 13 Jahren
Sam Hocevar
60a2e83d54
xbox: start working on an Xbox/Direct3D port.
vor 13 Jahren
Sam Hocevar
8bea4cf189
math: ensure real::fabs() is never chosen over std::fabs() for arguments
that are not explicitly real, even with namespace mistakes.
vor 13 Jahren
Sam Hocevar
54f74a1b20
win32: some compilation fixes here and there.
vor 13 Jahren
Sam Hocevar
d38a79ee3d
math: move most vector and matrix member functions to global functions.
vor 13 Jahren
Sam Hocevar
b2d73f6310
core: prefix Entity members with m_ to avoid accidental shadowing.
vor 13 Jahren
Sam Hocevar
bc331e0116
gl: do not enable or disable GL_TEXTURE_2D with GLES 2.0, it's now illegal.
vor 13 Jahren
Sam Hocevar
2edb8115e6
core: port all code to NativeClient. Nothing runs for now, but it builds.
vor 13 Jahren
Sam Hocevar
1ca9c191e6
debug: fix a timing issue in the quad debug object.
vor 13 Jahren
Sam Hocevar
01ebcec3b8
core: split vector operations into linear and non-linear so that we can
reuse the linear operations in quaternions. Also mark some constructors
explicit to better spot coding errors.
vor 13 Jahren
Sam Hocevar
5521b9fd01
build: start adding Xbox 360 configuration settings to the VS projects.
vor 13 Jahren