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
10 년 전
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 년 전
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
11 년 전
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
11 년 전
Sam Hocevar
7e9f926c43
base: switch map, hash, array2d and array3d to lowercase, like standard
C++ containers.
11 년 전
Sam Hocevar
18254349aa
image: gather pixel-related types and enums into a single pixel.h header.
11 년 전
Sam Hocevar
ff8723ff63
gpu: implement Framebuffer::GetImage() for OpenGL.
11 년 전
Sam Hocevar
5fc5d62849
image: add an optional Imlib2 codec, prepare for float32 images, make the
Lock/Unlock mechanism safer, and implement the rule of three.
11 년 전
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
11 년 전
Sam Hocevar
b5672a6f61
neercs: refactor the shader system.
11 년 전
Sam Hocevar
44dec8612e
core: fix minor Windows and Raspberry compilation issues.
11 년 전
Sam Hocevar
3c8ef15f0e
gpu: switch some types to enum classes to check C++11 support.
11 년 전
Sam Hocevar
47e71bda63
base: rough implementation of safe enums with minimal ToString() support.
11 년 전
Sam Hocevar
7e769d6c79
base: make the safe enums slightly safer. :-)
11 년 전
Sam Hocevar
231d74f1f8
gpu: implement RenderContext::SetBlendEquation().
11 년 전
Benjamin ‘Touky’ Huet
1e4af19a89
Praise the Safe-Enum.
Implemented Safe-Enum for everyone.
Now the power is in the Safe-Enum for all.
11 년 전
Benjamin ‘Touky’ Huet
f5e37a4337
AddedSprite_sorter stores parameters now.
Added palette in Scene.
11 년 전
Benjamin ‘Touky’ Huet
9a09939793
Added SpriteSorter and SquadShooter
11 년 전
Sam Hocevar
c9b8ff54a1
misc: some refactoring in texture handling.
11 년 전
Benjamin ‘Touky’ Huet
fd4cb5e350
Added debug stuff
11 년 전
Benjamin ‘Touky’ Huet
dbb1d02aa6
Added 2D to 3D DebugLines
11 년 전
Sam Hocevar
76740f77bc
math: remove some vector constants that were a bit too specific.
11 년 전
Sam Hocevar
232fa4126d
gpu: rename uniforms here and there for consistency.
12 년 전
Sam Hocevar
73891294fe
gpu: fix a buffer overflow in our shader compilation wrapper.
12 년 전
Sam Hocevar
752829b7ed
gpu: shader fixes for the Web version.
12 년 전
Sam Hocevar
1945e85afc
scene: start working on the scene class reorganisation.
12 년 전
Benlitz
845a870c9f
gpu: fixed Video::GetSize(), it was previously returning the size of the current viewport, it is now returning the size of the back buffer.
12 년 전