Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
6 years ago
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.
6 years ago
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
7 years ago
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
9 years ago
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
9 years ago
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.
9 years ago
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.
9 years ago
Benjamin ‘Touky’ Huet
3e9e6178ae
Small refactor controller tweak
10 years ago
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 years ago
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
10 years ago
Benjamin ‘Touky’ Huet
6c3dd67bc0
Controller refactor to enforce InputProfile usage (because why not)
DefaultThreadManager build FIX
10 years ago
Benjamin ‘Touky’ Huet
9c07e8c2e0
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
10 years ago
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
10 years ago
Benjamin ‘Touky’ Huet
f3d30c4111
small tweak in controller
10 years ago
Sam Hocevar
aa2bb79c87
input: tweak warning messages.
10 years ago
Benjamin ‘Touky’ Huet
1756726fca
Added some shit in controller and text
10 years ago
Sam Hocevar
9ba22b8a58
input: prepare a small API for direct text input.
10 years ago
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 years ago
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 years ago
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
10 years ago
Sam Hocevar
0f3805be4c
android: various fixes, but the switch to NativeActivity isn't complete.
11 years ago
Benjamin ‘Touky’ Huet
2da1903619
Build fix
11 years ago
Benjamin ‘Touky’ Huet
747da72c44
Input : Small refactor, for clarity, easiness and beautification.
Constants : Added minus one.
11 years ago
Benlitz
339f05db73
input: binding multiple key/axis to the same controller action
11 years ago
Benlitz
35c5bce344
orbital: upgraded to the new input system and fixed compilation. NOT WORKING since InputGame() is not currently being called by the engine.
11 years ago
Benlitz
eab5c46b1e
input: added a name the controllers, and a static Get() function to easily retrieve a registered controller
11 years ago
Benlitz
b3d306d22e
input: added functions to bind keys over axis (not tested)
11 years ago
Benlitz
8a657ea287
input: Removed previous input system
11 years ago
Sam Hocevar
e16416a6ee
input: fix a memory leak in the controller code.
11 years ago
Sam Hocevar
399a172425
build: fix a few compilation issues with input v2.
11 years ago
Lolbot
c47d0f8c62
fixed 10 files out of 2754:
- removed 386 CR characters
- removed 4 trailing whitespaces
- replaced 189 tabs with spaces
11 years ago
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)
11 years ago