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.
il y a 9 ans
Benjamin ‘Touky’ Huet
c5d4432bb0
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
il y a 9 ans
Sam Hocevar
b7a4ac0170
build: remove dead PS3 code.
il y a 10 ans
Sam Hocevar
6fcde9ae44
build: reorganise some visual studio shit and comment some files.
il y a 10 ans
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.
il y a 10 ans
Sam Hocevar
3f897ce51a
build: reorganise includes so that we can use precompiled headers later.
il y a 10 ans
Sam Hocevar
6fbfecb33e
build: move VS solution one directory below and create a VS2014 solution.
il y a 10 ans
Sam Hocevar
ef23ae4bf0
base: get rid of the ssize_t requirement and use ptrdiff_t instead.
il y a 10 ans
Sam Hocevar
0ccf54847a
build: remove empty directories and add proper svn:ignore flags.
il y a 10 ans
Sam Hocevar
d2cb94e057
misc: remove 100% of the "using namespace std;" madness.
il y a 10 ans
Sam Hocevar
b4eb4b1a6f
base: huge refactor in vector.h; GCC compilation times down by 50%.
il y a 10 ans
Sam Hocevar
ebbb89f91c
base: strip core.h from its contents and put it in public/private headers.
il y a 10 ans
Sam Hocevar
a5694a59f0
base: use lol::array in most places.
il y a 10 ans
Sam Hocevar
70e6a8e570
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
il y a 10 ans
Sam Hocevar
9bfaa46d54
neercs: refactor the shader system.
il y a 10 ans
Sam Hocevar
19cca47000
misc: some refactoring in texture handling.
il y a 10 ans
Sam Hocevar
77c0f255a8
build: various MSVC compilation fixes.
il y a 10 ans
Sam Hocevar
0f431c4ec3
build: VS2012 solution and project tweaks for exotic platforms.
il y a 11 ans
Benlitz
fbc4e8d8df
removed vs2010 solution, migrated all projects to 2012. VsLol stays on 2010 for compatibility and now has its own sln.
il y a 11 ans
Sam Hocevar
52e8d052d1
misc: fix some coding errors found by Coverity.
il y a 11 ans
Sam Hocevar
282d9868e4
input: disable keyboard tests the new input system doesn't support yet.
il y a 11 ans
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
il y a 11 ans
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
il y a 11 ans
Sam Hocevar
81b6d454fb
neercs: fix typo in render state handling.
il y a 11 ans
Sam Hocevar
2cc06f00c2
gpu: add SetDepthMask/GetDepthMask to render contexts.
il y a 11 ans
Sam Hocevar
55ec282a0b
ticker: replace linked lists wih dynamic arrays for entity groups.
il y a 11 ans
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
il y a 11 ans
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
il y a 11 ans
Sam Hocevar
ce71a85f3e
build: manually add lollua.vcxproj as a reference in all projects.
il y a 11 ans
Sam Hocevar
64de01408b
ps4: prepare for the fioutaah!
il y a 11 ans
Sam Hocevar
1ead8498b0
gpu: move Video::Clear to Renderer::Clear.
il y a 11 ans
Sam Hocevar
f58a6615aa
gpu: add full support for alpha test in GL and D3D.
il y a 11 ans
Sam Hocevar
a8c77baf42
gpu: implement all depth test functions in the renderer.
il y a 11 ans
Sam Hocevar
9f780656dc
gpu: implement blend function and alpha test in the renderer.
il y a 11 ans
Sam Hocevar
b79214e9ad
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
il y a 11 ans
Sam Hocevar
4ed24ab7db
gpu: use the RenderContext class in a few friendly places.
il y a 11 ans
Sam Hocevar
ea32511191
build: update .vcxproj files.
il y a 11 ans
Sam Hocevar
a515e4d690
gpu: rename FrameBuffer to Framebuffer.
il y a 11 ans
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.
il y a 11 ans
Sam Hocevar
bde02398fd
build: big Android build system refactor; we now attempt to build
an apk for each project.
il y a 11 ans
Sam Hocevar
7b9a8b613e
build: reorganise automake build system.
il y a 11 ans
Sam Hocevar
7b336eeefb
core: import pristine lua 5.2.1 in the engine code.
il y a 11 ans
Sam Hocevar
641cea216d
build: re-add liblolcore dependency tracking to all binary objects.
il y a 11 ans
Sam Hocevar
34b1503ac3
build: fix syntax errors in the Visual Studio projects.
il y a 11 ans
Sam Hocevar
bc01c62de2
build: reorganise AM_CPPFLAGS handling so that we can disable the
shitload of warnings Bullet spits at us.
il y a 11 ans
Sam Hocevar
51259cf7a3
build: split the main library into lolcore and lolbullet.
il y a 11 ans
Sam Hocevar
34d5feaac8
build: fix all vector/scalar type mismatches such as "vec2 * double"
instead of "vec2 * float".
il y a 11 ans
Sam Hocevar
88075b5aba
math: remove coercion rules in the vector classes, they increase the
compilation time for very little benefit and maybe even confusion.
il y a 11 ans
Sam Hocevar
7894b2e483
build: hide LolFx external declarations behind macros.
il y a 12 ans
Sam Hocevar
e6931215fb
neercs: fix resource path.
il y a 12 ans