Sam Hocevar
f04165769c
gpu: simplify automatic shader generation code.
il y a 6 ans
Sam Hocevar
7d42c3d58e
Various emscripten compilation fixes.
il y a 6 ans
Sam Hocevar
50e494803d
Replace array::empty() with array::clear().
We used to have lol::map::empty() to empty maps, but in std::map
this method is called clear(). It sounds safe to harmonise between
our types and have lol::array::clear() too.
il y a 6 ans
Sam Hocevar
8981100727
Get rid of lol::hash which is now useless.
il y a 7 ans
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
il y a 7 ans
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
il y a 7 ans
Sam Hocevar
0239617197
Various compilation and warning fixes.
il y a 7 ans
Sam Hocevar
5b21579db4
Add --disable-opengl flag.
This flag disables GL, GLES, but also Glew and EGL libraries.
il y a 7 ans
Sam Hocevar
f9058a384d
3rdparty: upgrade PEGTL to its latest version (2.1.4 or something).
il y a 7 ans
Lolbot
af53a69eb7
fixed 9 files out of 506:
- removed 0 CR characters
- removed 7 trailing whitespaces
- replaced 332 tabs with spaces
il y a 8 ans
touky
ce13252b69
Shader version compatibility fix
Shader replacement code for older shader version is now fixed
il y a 8 ans
touky
9174a1e43d
startup fixes
il y a 8 ans
Sam Hocevar
969911a10a
gpu: remove 1200 lines of old DirectX 9 code.
il y a 8 ans
Sam Hocevar
2f66dcc33f
Switch PEGTL external to latest Git snapshot.
il y a 8 ans
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.
il y a 8 ans
Sam Hocevar
848344cc7b
build: fix some issues with WIN32_LEAN_AND_MEAN redefinitions.
il y a 9 ans
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
il y a 9 ans
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
il y a 9 ans
Benjamin ‘Touky’ Huet
6ab67e8f86
btPhysTest is working again, but it still has 7 Ticker::Unref(Shader) that should be there ......
il y a 10 ans
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.
il y a 10 ans
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.
il y a 10 ans
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.
il y a 10 ans
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
il y a 10 ans
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
il y a 10 ans
Sam Hocevar
a07844682e
build: remove dead PS3 code.
il y a 10 ans
Sam Hocevar
f8b29001cd
base: convert map and avl_tree methods to lowercase. Because.
il y a 10 ans
Sam Hocevar
42a5296207
gpu: use PEGTL to split lolfx files into different parts.
il y a 10 ans
Benjamin ‘Touky’ Huet
cb7a99bac3
Added ShaderBuilder
il y a 10 ans
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
il y a 10 ans
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
il y a 10 ans
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
il y a 10 ans
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
il y a 10 ans
Sam Hocevar
7e9f926c43
base: switch map, hash, array2d and array3d to lowercase, like standard
C++ containers.
il y a 10 ans
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
il y a 10 ans
Sam Hocevar
b5672a6f61
neercs: refactor the shader system.
il y a 10 ans
Sam Hocevar
44dec8612e
core: fix minor Windows and Raspberry compilation issues.
il y a 10 ans
Sam Hocevar
47e71bda63
base: rough implementation of safe enums with minimal ToString() support.
il y a 10 ans
Sam Hocevar
7e769d6c79
base: make the safe enums slightly safer. :-)
il y a 10 ans
Benjamin ‘Touky’ Huet
1e4af19a89
Praise the Safe-Enum.
Implemented Safe-Enum for everyone.
Now the power is in the Safe-Enum for all.
il y a 10 ans
Sam Hocevar
c9b8ff54a1
misc: some refactoring in texture handling.
il y a 11 ans
Sam Hocevar
73891294fe
gpu: fix a buffer overflow in our shader compilation wrapper.
il y a 11 ans
Benjamin ‘Touky’ Huet
7c3dab6af9
Fixed an error for Emscripten.
il y a 11 ans
Sam Hocevar
a7d169caff
ps3: some compilation fixes.
il y a 11 ans
Sam Hocevar
9cfe17fd8b
core: fix some minor compiler warnings.
il y a 11 ans
Benlitz
b07f6aba93
mesh: submesh class working, can be rendered with any compatible shader without caring of attributes
il y a 11 ans
Benlitz
f104674963
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
Benlitz
1a2bfe6609
gpu: fixed vbo attribute binding when one of the attribute on the buffer does not exist in the shader
il y a 11 ans
Lolbot
8cc04f0ba9
fixed 7 files out of 2745:
- removed 0 CR characters
- removed 21 trailing whitespaces
- replaced 42 tabs with spaces
il y a 11 ans
Benlitz
3fc469b1f6
shaders now cache attribute location once they have been retrieved for the first time.
il y a 11 ans
Sam Hocevar
c6ffd1ffcf
build: fix the X360 port.
il y a 11 ans