Sam Hocevar
b2dbc2751a
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
9 jaren geleden
Benjamin ‘Touky’ Huet
c5d4432bb0
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
9 jaren geleden
Sam Hocevar
b7a4ac0170
build: remove dead PS3 code.
10 jaren geleden
Sam Hocevar
6fcde9ae44
build: reorganise some visual studio shit and comment some files.
10 jaren geleden
Sam Hocevar
c8af09f3b4
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
10 jaren geleden
Sam Hocevar
3f897ce51a
build: reorganise includes so that we can use precompiled headers later.
10 jaren geleden
Sam Hocevar
6fbfecb33e
build: move VS solution one directory below and create a VS2014 solution.
10 jaren geleden
Sam Hocevar
ef23ae4bf0
base: get rid of the ssize_t requirement and use ptrdiff_t instead.
10 jaren geleden
Sam Hocevar
0ccf54847a
build: remove empty directories and add proper svn:ignore flags.
10 jaren geleden
Sam Hocevar
d2cb94e057
misc: remove 100% of the "using namespace std;" madness.
10 jaren geleden
Sam Hocevar
b4eb4b1a6f
base: huge refactor in vector.h; GCC compilation times down by 50%.
10 jaren geleden
Sam Hocevar
ebbb89f91c
base: strip core.h from its contents and put it in public/private headers.
10 jaren geleden
Sam Hocevar
a5694a59f0
base: use lol::array in most places.
10 jaren geleden
Sam Hocevar
70e6a8e570
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
10 jaren geleden
Sam Hocevar
9bfaa46d54
neercs: refactor the shader system.
10 jaren geleden
Sam Hocevar
19cca47000
misc: some refactoring in texture handling.
10 jaren geleden
Sam Hocevar
77c0f255a8
build: various MSVC compilation fixes.
10 jaren geleden
Sam Hocevar
0f431c4ec3
build: VS2012 solution and project tweaks for exotic platforms.
11 jaren geleden
Benlitz
fbc4e8d8df
removed vs2010 solution, migrated all projects to 2012. VsLol stays on 2010 for compatibility and now has its own sln.
11 jaren geleden
Sam Hocevar
52e8d052d1
misc: fix some coding errors found by Coverity.
11 jaren geleden
Sam Hocevar
282d9868e4
input: disable keyboard tests the new input system doesn't support yet.
11 jaren geleden
Lolbot
2ee8a1f55a
fixed 8 files out of 2617:
- removed 0 CR characters
- removed 0 trailing whitespaces
- replaced 88 tabs with spaces
- fixed 3 svn:eol-style properties
11 jaren geleden
Benlitz
e1839e2c1d
gpu: removed attribute name, everything works using semantic only now. For glsl, semantic is determined from the attribute name which must follow this pattern: in_[Semantic][index], index being optional. Note: this may break most of the projects although I tried to updated every shader accordingly
11 jaren geleden
Sam Hocevar
81b6d454fb
neercs: fix typo in render state handling.
11 jaren geleden
Sam Hocevar
2cc06f00c2
gpu: add SetDepthMask/GetDepthMask to render contexts.
11 jaren geleden
Sam Hocevar
55ec282a0b
ticker: replace linked lists wih dynamic arrays for entity groups.
11 jaren geleden
Lolbot
e320574ed2
fixed 542 files out of 2754:
- removed 0 CR characters
- removed 0 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 542 svn:eol-style properties
11 jaren geleden
Lolbot
ea0cb6a208
fixed 542 files out of 2754:
- removed 0 CR characters
- removed 0 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 542 svn:eol-style properties
11 jaren geleden
Sam Hocevar
ce71a85f3e
build: manually add lollua.vcxproj as a reference in all projects.
11 jaren geleden
Sam Hocevar
64de01408b
ps4: prepare for the fioutaah!
11 jaren geleden
Sam Hocevar
1ead8498b0
gpu: move Video::Clear to Renderer::Clear.
11 jaren geleden
Sam Hocevar
f58a6615aa
gpu: add full support for alpha test in GL and D3D.
11 jaren geleden
Sam Hocevar
a8c77baf42
gpu: implement all depth test functions in the renderer.
11 jaren geleden
Sam Hocevar
9f780656dc
gpu: implement blend function and alpha test in the renderer.
11 jaren geleden
Sam Hocevar
b79214e9ad
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
11 jaren geleden
Sam Hocevar
4ed24ab7db
gpu: use the RenderContext class in a few friendly places.
11 jaren geleden
Sam Hocevar
ea32511191
build: update .vcxproj files.
11 jaren geleden
Sam Hocevar
a515e4d690
gpu: rename FrameBuffer to Framebuffer.
11 jaren geleden
Sam Hocevar
a133d36dfc
base: roll our own constants because it’s always a pain in the ass
to get M_PI from the platform headers and cast it to float.
11 jaren geleden
Sam Hocevar
bde02398fd
build: big Android build system refactor; we now attempt to build
an apk for each project.
11 jaren geleden
Sam Hocevar
7b9a8b613e
build: reorganise automake build system.
11 jaren geleden
Sam Hocevar
7b336eeefb
core: import pristine lua 5.2.1 in the engine code.
11 jaren geleden
Sam Hocevar
641cea216d
build: re-add liblolcore dependency tracking to all binary objects.
11 jaren geleden
Sam Hocevar
34b1503ac3
build: fix syntax errors in the Visual Studio projects.
11 jaren geleden
Sam Hocevar
bc01c62de2
build: reorganise AM_CPPFLAGS handling so that we can disable the
shitload of warnings Bullet spits at us.
11 jaren geleden
Sam Hocevar
51259cf7a3
build: split the main library into lolcore and lolbullet.
11 jaren geleden
Sam Hocevar
34d5feaac8
build: fix all vector/scalar type mismatches such as "vec2 * double"
instead of "vec2 * float".
11 jaren geleden
Sam Hocevar
88075b5aba
math: remove coercion rules in the vector classes, they increase the
compilation time for very little benefit and maybe even confusion.
11 jaren geleden
Sam Hocevar
7894b2e483
build: hide LolFx external declarations behind macros.
12 jaren geleden
Sam Hocevar
e6931215fb
neercs: fix resource path.
12 jaren geleden