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
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 година
Sam Hocevar
d9f2b07822
scene: fix multiple crashes in release mode and a few warnings.
In release mode our asserts are ignored for performance reasons and all
the code they may be executing is disabled, so no side effects will happen.
We can’t put programming logic in asserts.
пре 10 година
Sam Hocevar
2b4d3318d6
Fix a race condition in the file watcher and a few compilation warnings.
пре 10 година
Lolbot
3797ac1179
fixed 3 files out of 4212:
- removed 177 CR characters
- removed 12 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 1 svn:eol-style properties
пре 10 година
Benjamin ‘Touky’ Huet
9acf2e925b
lol Buildfix
пре 10 година
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
пре 10 година
Benjamin ‘Touky’ Huet
3e9e6178ae
Small refactor controller tweak
пре 10 година
Benjamin ‘Touky’ Huet
9477f1f722
Moved GetKey/Axis status tests to protected, and made them accessible through controller directly to implement layer system in the future.
пре 10 година
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
пре 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 година
Benjamin ‘Touky’ Huet
4d3d7de4f2
Name refactors for doc stuff
пре 10 година
Benjamin ‘Touky’ Huet
6c3dd67bc0
Controller refactor to enforce InputProfile usage (because why not)
DefaultThreadManager build FIX
пре 10 година
Benjamin ‘Touky’ Huet
9c07e8c2e0
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
пре 10 година
Benjamin ‘Touky’ Huet
f3d30c4111
small tweak in controller
пре 10 година
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
пре 11 година
Benjamin ‘Touky’ Huet
1756726fca
Added some shit in controller and text
пре 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
b2283cd1a3
build: update VS solution and fix a few compilation warnings.
пре 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 година
Lolbot
91304801cc
fixed 22 files out of 2667:
- removed 2 CR characters
- removed 9 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 19 svn:eol-style properties
пре 12 година
Benjamin ‘Touky’ Huet
747da72c44
Input : Small refactor, for clarity, easiness and beautification.
Constants : Added minus one.
пре 12 година
Benlitz
339f05db73
input: binding multiple key/axis to the same controller action
пре 12 година
Sam Hocevar
9cfe17fd8b
core: fix some minor compiler warnings.
пре 12 година
Benlitz
eab5c46b1e
input: added a name the controllers, and a static Get() function to easily retrieve a registered controller
пре 12 година
Benlitz
b3d306d22e
input: added functions to bind keys over axis (not tested)
пре 12 година
Benlitz
8a657ea287
input: Removed previous input system
пре 12 година
Sam Hocevar
e16416a6ee
input: fix a memory leak in the controller code.
пре 12 година
Benlitz
42381d33a4
fixed a crash when updating a binding that has been bound to an unexisting key/axis of an existing device
пре 12 година
Sam Hocevar
399a172425
build: fix a few compilation issues with input v2.
пре 12 година
Lolbot
c47d0f8c62
fixed 10 files out of 2754:
- removed 386 CR characters
- removed 4 trailing whitespaces
- replaced 189 tabs with spaces
пре 12 година
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)
пре 12 година