Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
pirms 6 gadiem
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.
pirms 6 gadiem
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
pirms 7 gadiem
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
pirms 7 gadiem
Sam Hocevar
968f7c92bb
Get rid of String::format in favour of a std::string version.
pirms 7 gadiem
Sam Hocevar
3544e76a4d
input: fix uninitialised variable.
pirms 8 gadiem
touky
fd3a6a8ae6
imgui + renderer + mouse scroll
Added scissor mode in renderer
Added scissor support in imGui
Mouse scroll sensivity tweak
pirms 8 gadiem
touky
d8efedf4d7
sdl input tweak
sdl integration now supports OS character input as per existing in sdl.
Use SetTextInputActive to turn it off/on
pirms 8 gadiem
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
pirms 9 gadiem
Benjamin ‘Touky’ Huet
3b00a2e5ee
Added Joystick count
pirms 9 gadiem
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
pirms 9 gadiem
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.
pirms 9 gadiem
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.
pirms 9 gadiem
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.
pirms 9 gadiem
Sam Hocevar
d6b7882bda
input: temporary workaround for a bug preventing us from binding the “A” key with SDL.
pirms 9 gadiem
Sam Hocevar
2b4d3318d6
Fix a race condition in the file watcher and a few compilation warnings.
pirms 9 gadiem
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
pirms 9 gadiem
Benjamin ‘Touky’ Huet
9acf2e925b
lol Buildfix
pirms 9 gadiem
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
pirms 9 gadiem
Benjamin ‘Touky’ Huet
3e9e6178ae
Small refactor controller tweak
pirms 9 gadiem
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.
pirms 9 gadiem
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
pirms 9 gadiem
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
pirms 9 gadiem
Benjamin ‘Touky’ Huet
4d3d7de4f2
Name refactors for doc stuff
pirms 9 gadiem
Benjamin ‘Touky’ Huet
6c3dd67bc0
Controller refactor to enforce InputProfile usage (because why not)
DefaultThreadManager build FIX
pirms 9 gadiem
Benjamin ‘Touky’ Huet
9c07e8c2e0
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
pirms 9 gadiem
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
pirms 9 gadiem
Benjamin ‘Touky’ Huet
f3d30c4111
small tweak in controller
pirms 9 gadiem
Sam Hocevar
aa2bb79c87
input: tweak warning messages.
pirms 10 gadiem
Sam Hocevar
94f4df0c47
input: fix compilation warning.
pirms 10 gadiem
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
pirms 10 gadiem
Benjamin ‘Touky’ Huet
1756726fca
Added some shit in controller and text
pirms 10 gadiem
Sam Hocevar
9ba22b8a58
input: prepare a small API for direct text input.
pirms 10 gadiem
Sam Hocevar
4374db93c4
input: use key scancodes everywhere, but add a small fallback for SDL1.2.
pirms 10 gadiem
Sam Hocevar
0cc1dd69ba
input: use scancodes instead of ASCII values when using SDL v2.
pirms 10 gadiem
Sam Hocevar
6f1f7ab895
input: fix a typo in the key list and clean up some code.
pirms 10 gadiem
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.
pirms 10 gadiem
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
pirms 10 gadiem
Sam Hocevar
b2283cd1a3
build: update VS solution and fix a few compilation warnings.
pirms 10 gadiem
Sam Hocevar
7dba2ff3a1
base: use ptrdiff_t for array and string sizes and some other things.
pirms 10 gadiem
Sam Hocevar
e49353f457
base: use variadic templates to remove 300+ lines of redundant code.
pirms 10 gadiem
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
pirms 10 gadiem
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
pirms 10 gadiem
Benjamin ‘Touky’ Huet
3d4b3d53c3
Added bunch of stuff on threads and images.
pirms 10 gadiem
Benjamin ‘Touky’ Huet
b98584957c
Added Mouse scroll as axis.
pirms 10 gadiem
Sam Hocevar
0f3805be4c
android: various fixes, but the switch to NativeActivity isn't complete.
pirms 11 gadiem
Benlitz
e1241fd974
input: removed static keyword for global input names
pirms 11 gadiem
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
pirms 11 gadiem
Benjamin ‘Touky’ Huet
2da1903619
Build fix
pirms 11 gadiem
Benjamin ‘Touky’ Huet
747da72c44
Input : Small refactor, for clarity, easiness and beautification.
Constants : Added minus one.
pirms 11 gadiem