Sam Hocevar
8981100727
Get rid of lol::hash which is now useless.
пре 8 година
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
пре 8 година
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
пре 8 година
Sam Hocevar
0239617197
Various compilation and warning fixes.
пре 8 година
Sam Hocevar
5b21579db4
Add --disable-opengl flag.
This flag disables GL, GLES, but also Glew and EGL libraries.
пре 8 година
Sam Hocevar
f9058a384d
3rdparty: upgrade PEGTL to its latest version (2.1.4 or something).
пре 8 година
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
пре 8 година
touky
fd3a6a8ae6
imgui + renderer + mouse scroll
Added scissor mode in renderer
Added scissor support in imGui
Mouse scroll sensivity tweak
пре 9 година
Lolbot
af53a69eb7
fixed 9 files out of 506:
- removed 0 CR characters
- removed 7 trailing whitespaces
- replaced 332 tabs with spaces
пре 9 година
touky
527e27c880
- ImGUI is now operational again
- Most recent version is in with index buffer support
пре 9 година
touky
3b255d4137
first test for lolimgui
пре 9 година
touky
ce13252b69
Shader version compatibility fix
Shader replacement code for older shader version is now fixed
пре 9 година
touky
9174a1e43d
startup fixes
пре 9 година
Sam Hocevar
0ef4e3c203
Clean up a lot of shader crap
пре 9 година
Sam Hocevar
9e4b6a4155
build: add path to lolfx resource names
This will help us deal with shader name collision. Breaks the Windows
build for the moment, unfortunately.
пре 9 година
Sam Hocevar
afc48d2927
scene: add render buffers and a temporary postprocess
пре 9 година
Sam Hocevar
c6f4070e70
build: refactor autotools files for out-of-tree builds.
All these changes will allow us to more easily add Lol Engine as a
submodule of another Git project.
пре 9 година
Sam Hocevar
70799848f7
scene: make the postprocess a nop for now and clean up some shaders.
пре 9 година
Sam Hocevar
969911a10a
gpu: remove 1200 lines of old DirectX 9 code.
пре 9 година
Sam Hocevar
3a90766614
scene: start working on a postprocess mechanism.
Not all programs support this feature for now, but that’s because they
don’t support the scene framework either, and will need patching. Also
the default postprocess is deliberately exaggerated for now.
пре 9 година
Sam Hocevar
2f66dcc33f
Switch PEGTL external to latest Git snapshot.
пре 9 година
Sam Hocevar
6a6ecc66e9
Port all parsers to PEGTL 1.3.1.
There might be issues with lolremez but at first sight it seems to work.
пре 9 година
Sam Hocevar
7939719ce1
gpu: fix GLES 2.x support.
пре 9 година
Sam Hocevar
848344cc7b
build: fix some issues with WIN32_LEAN_AND_MEAN redefinitions.
пре 10 година
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
пре 10 година
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
пре 10 година
Benjamin ‘Touky’ Huet
6ab67e8f86
btPhysTest is working again, but it still has 7 Ticker::Unref(Shader) that should be there ......
пре 10 година
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
пре 10 година
Sam Hocevar
ccf5f53825
misc: various mingw cross-compilation fixes.
Add mingw-std-threads project to external/ for full C++11 thread support, fix
an incorrect Win32 fix I did in PEGTL, work around mingw’s <io.h> declaring a
conflicting eof symbol, and fix a capitalisation error in log.cpp.
пре 10 година
Sam Hocevar
70edc0d38e
misc: carry on with the lowercase rampage.
Using “Array” instead of “array” is now fully deprecated, and I replaced
the Log::Debug() etc. functions with msg::debug() etc. because log:: was
unavailable due to being a maths function.
Added up-to-date copyright notice and BOM to modified files, just in case.
пре 10 година
Sam Hocevar
03c17fcae4
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.
пре 10 година
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
пре 10 година
Sam Hocevar
489b02b077
gpu: fix syntax issue in shader.
The “f” suffix is valid GLSL, but WebGL does not like it so let’s disable it.
пре 10 година
Sam Hocevar
2fa398926d
math: improve the 2D and 3D box classes.
Box objects (AABB) now have the long awaited extent() and center()
methods. Corners are now called “aa” and “bb” for convenience. The
WorldEntity class uses a box3 for its AABB instead of two vec3s.
This allows us to simplify a lot of verbose code.
пре 10 година
Benjamin ‘Touky’ Huet
f139a7e164
LolImGui integration 2nd pass: It now works perfectly (to the extent of the api)
SDL2: Mouse is back ! With correct focus support
SDL2: Added typing support with keyboard
ShaderBuilder: Refactored and simplified Shader block creation
Several warning removal
Fixed Image::Copy
пре 11 година
Sam Hocevar
31477c906e
build: remove the LolFx and the EasyMesh compilers for now.
пре 11 година
Sam Hocevar
a07844682e
build: remove dead PS3 code.
пре 11 година
Sam Hocevar
f8b29001cd
base: convert map and avl_tree methods to lowercase. Because.
пре 11 година
Sam Hocevar
42a5296207
gpu: use PEGTL to split lolfx files into different parts.
пре 11 година
Benjamin ‘Touky’ Huet
cb7a99bac3
Added ShaderBuilder
пре 11 година
Sam Hocevar
7934df34ef
build: "USE_SDL" is now for SDL v2 and "USE_OLD_SDL" for version 1.
пре 11 година
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.
пре 11 година
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
пре 11 година
Sam Hocevar
d0e9447ac0
gpu: fix missing #if blocks in vertex buffer code.
пре 11 година
Sam Hocevar
ffa21ed0d0
misc: disable all 16-bit float vectors when using Visual Studio.
пре 11 година
Sam Hocevar
4be9ea2a4e
misc: replace NULL with nullptr.
пре 11 година
Sam Hocevar
5dc05d7f3e
build: remove empty directories and add proper svn:ignore flags.
пре 11 година
Sam Hocevar
5fcc47b74c
gpu: fix compilation on platforms that don't have GL_BGRA.
пре 11 година
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
пре 11 година
Sam Hocevar
12aaff89e3
base: huge refactor in vector.h; GCC compilation times down by 50%.
пре 11 година