Sam Hocevar
6455091518
doc: rename a few tutorials to remove “lol” from their names.
6 年前
Sam Hocevar
fc43bd7e5b
input: remove useless code.
6 年前
Sam Hocevar
016330c12b
ui: move a lot of files around.
Most input and GUI files are now in a common ui/ directory. The platform/
directory is no longer, as everythyng was moved to application/ or ui/.
6 年前
Sam Hocevar
a57cecaf98
input: remove a lot of unnecessarily convoluted code.
In particular, get rid of the enum magic; we can use map<string,int> if we
really need some named enums. Which we usually don’t.
6 年前
Sam Hocevar
2f736356d6
input: expose the whole vector of key states to the client application.
6 年前
Sam Hocevar
a822785879
sdl: improve input support stability and handle return/tab/backspace in text input mode.
6 年前
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
7 年前
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 年前