Sam Hocevar
4374db93c4
input: use key scancodes everywhere, but add a small fallback for SDL1.2.
před 11 roky
Sam Hocevar
0cc1dd69ba
input: use scancodes instead of ASCII values when using SDL v2.
před 11 roky
Sam Hocevar
2b81246a22
build: reorganise some visual studio shit and comment some files.
před 11 roky
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
před 11 roky
Sam Hocevar
0bc2ec0480
build: move VS solution one directory below and create a VS2014 solution.
před 11 roky
Sam Hocevar
62f7068516
math: move code from vector.cpp to matrix.cpp and transform.cpp.
před 11 roky
Sam Hocevar
7cf72fd16e
base: add a simple tuple implementation.
před 11 roky
Sam Hocevar
11dc5eebcc
math: put almost all quaternion/vector/matrix operators in ADL namespaces.
před 11 roky
Sam Hocevar
a6327b2469
math: move complex/quaternion code out of vector.h and into transform.h.
před 11 roky
Sam Hocevar
b7e237c6ea
math: move matrix code out of vector.h into a new matrix.h header.
před 11 roky
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
před 11 roky
Sam Hocevar
378eaec1cb
sys: use the fully working std::atomic instead of our placeholder class.
před 11 roky
Sam Hocevar
6526c8c904
image: reimplement most image merge operations (overlay, screen, etc.).
před 11 roky
Sam Hocevar
8abafbc686
math: add Array3D template class. Happy, Touky? :-)
před 11 roky
Sam Hocevar
18254349aa
image: gather pixel-related types and enums into a single pixel.h header.
před 11 roky
Sam Hocevar
c5a3d4873b
image: port the DBS dithering method and remove a few dead files.
před 11 roky
Sam Hocevar
59a157a58c
build: port solution to VS2013. Muahahaha.
před 11 roky
Sam Hocevar
967ce8141b
image: bicubic and Bresenham resampling.
před 11 roky
Sam Hocevar
c33c45904b
image: brightness, contrast, threshold, invert, dilate, erode, sharpen.
před 11 roky
Sam Hocevar
b5e3bc6c2f
image: get rid of stock images; we were misusing them where we actually
wanted convolution or dithering kernels.
před 11 roky
Sam Hocevar
6b9f3b66c1
image: add YUV filter, median filter, and image cropping.
před 11 roky
Sam Hocevar
e064118dc1
image: ordered dithering is now complete.
před 11 roky
Sam Hocevar
2f752030f0
engine: remove dead code.
před 11 roky
Sam Hocevar
08fb9be357
image: make the various image processing kernels use Array2D instead
of slightly overkill Image objects.
před 11 roky
Sam Hocevar
12d249f3fa
image: add Convolution() method, with optimisation for separable filters.
před 11 roky
Sam Hocevar
b369be3dd7
build: various Windows compilation fixes.
před 11 roky
Sam Hocevar
5fb1ce656f
math: add an Array2D class that acts like a 2D matrix.
před 11 roky
Sam Hocevar
47e71bda63
base: rough implementation of safe enums with minimal ToString() support.
před 11 roky
Sam Hocevar
7e769d6c79
base: make the safe enums slightly safer. :-)
před 11 roky
Benjamin ‘Touky’ Huet
f5e37a4337
AddedSprite_sorter stores parameters now.
Added palette in Scene.
před 11 roky
Benjamin ‘Touky’ Huet
58a0c1001a
ThreadManager is now an entity, it's awesooooome
před 11 roky
Benjamin ‘Touky’ Huet
3d4b3d53c3
Added bunch of stuff on threads and images.
před 11 roky
Benjamin ‘Touky’ Huet
98eb66b6c8
geomerty cleanup & tweak
před 11 roky
Benjamin ‘Touky’ Huet
04dff54084
Added aabb_tree.h to the main branch.
před 12 roky
Sam Hocevar
92c2f69d07
algorithm: move Array::Sort out of the base headers because their implementation
requires stuff from lol/math, too.
před 12 roky
Sam Hocevar
547fe6a908
color: utility functions to convert vec3 colors to hex strings.
před 12 roky
Sam Hocevar
d46e63ff29
build: VS2012 solution and project tweaks for exotic platforms.
před 12 roky
Benlitz
246af694d8
removed vs2010 solution, migrated all projects to 2012. VsLol stays on 2010 for compatibility and now has its own sln.
před 12 roky
Sam Hocevar
1945e85afc
scene: start working on the scene class reorganisation.
před 12 roky
Benjamin ‘Touky’ Huet
2b6b50aa26
EZMesh : Some files splitup
před 12 roky
Sam Hocevar
470fbbc550
build: add Abuse to the Visual Studio solution and exclude NaCl files
from all platform builds.
před 12 roky
Benjamin ‘Touky’ Huet
4029f475e4
for ze LOL
před 12 roky
Benjamin ‘Touky’ Huet
34688578ae
Added Shiny flat lolfx
před 12 roky
Benjamin ‘Touky’ Huet
747da72c44
Input : Small refactor, for clarity, easiness and beautification.
Constants : Added minus one.
před 12 roky
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
před 12 roky
Benjamin ‘Touky’ Huet
0a7dc44a67
Added MessageService : Basic & Naive Message logging.
Camera & vector.cpp : Fixed shifted_perspective crash with almost zero FOV.
před 12 roky
Benjamin ‘Touky’ Huet
d8114e6cfb
String : Added ::replace(char, char, bool), ::ToLower(), ::ToUpper()
Added utils.h : GetRandom(Array<T>) : gets a random element in a template list with weight logic.
T FindValue(char*) : Find the value of a safe enum from the given name (when GetName is implemented)
swap(T&, T&) is now in here too.
před 12 roky
Benjamin ‘Touky’ Huet
a03c38872d
btPhysTest : Added a new test mode called "CAT_MODE". Try it out at your own risks.
před 12 roky
Benlitz
8a657ea287
input: Removed previous input system
před 12 roky
Benlitz
a7aac24c46
Completely reworked input system. Unified device interface, button, axis and cursor support, controller and binding system, mouse capture. Tutorial 07_input provided. Require to compile lolcore with LOL_INPUT_V2 to be activated (also needed app-side before including core.h)
před 12 roky