touky
24d9405ff3
ResourceLoader + tileset tweaks
Moved ImageLoader to ResourceLoader, so that loading is extensible.
i.e. here: Zed image loader now loads up a tileset instead of being a
hacked image loader.
Goal is to support more funky stuff (wad, pak .....)
8 년 전
touky
d8efedf4d7
sdl input tweak
sdl integration now supports OS character input as per existing in sdl.
Use SetTextInputActive to turn it off/on
8 년 전
Sam Hocevar
c6f4070e70
build: refactor autotools files for out-of-tree builds.
All these changes will allow us to more easily add Lol Engine as a
submodule of another Git project.
8 년 전
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
10 년 전
Benjamin ‘Touky’ Huet
3b00a2e5ee
Added Joystick count
10 년 전
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
10 년 전
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.
10 년 전
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
7257bcc1e8
sdl: tiny fix for SDLv1 keyboard input.
10 년 전
Sam Hocevar
42813316b8
build: improve emscripten build.
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 년 전
Sam Hocevar
42a5296207
gpu: use PEGTL to split lolfx files into different parts.
10 년 전
Sam Hocevar
4374db93c4
input: use key scancodes everywhere, but add a small fallback for SDL1.2.
10 년 전
Sam Hocevar
0cc1dd69ba
input: use scancodes instead of ASCII values when using SDL v2.
10 년 전
Sam Hocevar
6f1f7ab895
input: fix a typo in the key list and clean up some code.
10 년 전
Sam Hocevar
7934df34ef
build: "USE_SDL" is now for SDL v2 and "USE_OLD_SDL" for version 1.
10 년 전
Sam Hocevar
d37d124849
sdl: SDL2 video and audio support (no input yet).
10 년 전
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 년 전
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 년 전
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
10 년 전
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
10 년 전
Benjamin ‘Touky’ Huet
3d4b3d53c3
Added bunch of stuff on threads and images.
11 년 전
Benjamin ‘Touky’ Huet
b98584957c
Added Mouse scroll as axis.
11 년 전
Jean-Yves Lamoureux
b59fdb8baa
* Fix compilation on lesser tools
11 년 전
Jean-Yves Lamoureux
171433e9de
* Fix compilation on lesser tools
11 년 전
Jean-Yves Lamoureux
81e4f7421e
sdlinput: fix captured mouse coordinates
11 년 전
Benjamin ‘Touky’ Huet
1cd715e6ef
Mouse support now works in emscripten
11 년 전
Benjamin ‘Touky’ Huet
2da1903619
Build fix
11 년 전
Benjamin ‘Touky’ Huet
dfc2a47f7f
Input : mouse focus integration.
11 년 전
Benjamin ‘Touky’ Huet
3281169274
Input : Fixed mouse speed calculation in sdl & android.
11 년 전
Benjamin ‘Touky’ Huet
747da72c44
Input : Small refactor, for clarity, easiness and beautification.
Constants : Added minus one.
11 년 전
Benlitz
e1a4367226
input: fixed crash when user rotate the mouse wheel
11 년 전
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
11 년 전
Benlitz
c1da4619f7
input: renamed xinput keys to something more human readable (such as A or DPadLeft) and inverted mouse Y axis to match joystick axis (negatives being up)
core: calling InitGame() at the first tick of an entity. InitDraw is still uncalled yet
fixed mrpigeon and orbital accordingly
11 년 전
Benjamin ‘Touky’ Huet
de338ae89a
nacl build fix.
11 년 전
Sam Hocevar
349559acd9
input: fix uninitialised data in the SDL mouse input.
11 년 전
Benlitz
8a657ea287
input: Removed previous input system
11 년 전
Sam Hocevar
0529e067f2
input: fix a problem with the SDLK_WORLD_0 macro; arrow keys weren't
handled properly.
11 년 전
Lolbot
c47d0f8c62
fixed 10 files out of 2754:
- removed 386 CR characters
- removed 4 trailing whitespaces
- replaced 189 tabs with spaces
11 년 전
Benlitz
cecd5db3fa
build fix on non-SDL platforms
11 년 전
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 년 전
Sam Hocevar
68c2da5898
build: more Emscripten improvements; keyboard input works properly now.
12 년 전
Sam Hocevar
6be31bba32
input: make keyboard state platform-independent.
12 년 전
Sam Hocevar
1ffa61c572
input: activate SDL input with Emscripten.
12 년 전
Sam Hocevar
95369e26db
base: a few minor style tweaks.
12 년 전
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
12 년 전
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
12 년 전
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12 년 전
Sam Hocevar
b438a94642
input: add the Keyboard abstraction object type.
12 년 전