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.
преди 9 години
Sam Hocevar
969911a10a
gpu: remove 1200 lines of old DirectX 9 code.
преди 9 години
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
преди 10 години
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
преди 10 години
Lolbot
78b1319e2a
fixed 18 files out of 4242:
- removed 0 CR characters
- removed 12 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 15 svn:eol-style properties
преди 10 години
Sam Hocevar
6ffaca4bbd
engine: move some files around.
преди 10 години
Benjamin ‘Touky’ Huet
3b00a2e5ee
Added Joystick count
преди 10 години
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
преди 10 години
Sam Hocevar
144cb0df31
sys: get rid of pthreads.
Since C++11 threads are available on every platform that has threads, we
no longer need our pthread implementation. The LOL_FEATURE_CXX11_THREADS
macro is gone, too, and we now just use LOL_FEATURE_THREADS.
Note that it is still necessary to link with -lpthread or -pthread on
some platforms, so we don’t throw that part away.
преди 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 години
Benjamin ‘Touky’ Huet
7605caace4
MultiScene: Phase 4: Rendering is fixed.
Though it still is not possible to create a new window from a thread that did not init SDL
преди 10 години
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
преди 10 години
Sam Hocevar
7257bcc1e8
sdl: tiny fix for SDLv1 keyboard input.
преди 10 години
Sam Hocevar
42813316b8
build: improve emscripten build.
преди 10 години
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
преди 10 години
Benjamin ‘Touky’ Huet
71ee91fcb1
MultiplMultiScene: Phase 2: No more g_scene access and multiple scene calls support
преди 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
a07844682e
build: remove dead PS3 code.
преди 11 години
Sam Hocevar
8657a3adfa
sys: use std::bind for thread workers to avoid ugly casts.
преди 11 години
Sam Hocevar
42a5296207
gpu: use PEGTL to split lolfx files into different parts.
преди 11 години
Benjamin ‘Touky’ Huet
1756726fca
Added some shit in controller and text
преди 11 години
Sam Hocevar
4374db93c4
input: use key scancodes everywhere, but add a small fallback for SDL1.2.
преди 11 години
Sam Hocevar
0cc1dd69ba
input: use scancodes instead of ASCII values when using SDL v2.
преди 11 години
Sam Hocevar
6f1f7ab895
input: fix a typo in the key list and clean up some code.
преди 11 години
Sam Hocevar
7934df34ef
build: "USE_SDL" is now for SDL v2 and "USE_OLD_SDL" for version 1.
преди 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
7d4a58021f
build: use SDL2 on Windows.
преди 11 години
Sam Hocevar
d37d124849
sdl: SDL2 video and audio support (no input yet).
преди 11 години
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
преди 11 години
Sam Hocevar
4be9ea2a4e
misc: replace NULL with nullptr.
преди 11 години
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
преди 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 години
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
преди 11 години
Benjamin ‘Touky’ Huet
3d4b3d53c3
Added bunch of stuff on threads and images.
преди 11 години
Benjamin ‘Touky’ Huet
b98584957c
Added Mouse scroll as axis.
преди 11 години
Lolbot
47b9f0abb0
fixed 69 files out of 2739:
- removed 10 CR characters
- removed 39 trailing whitespaces
- replaced 243 tabs with spaces
- fixed 60 svn:eol-style properties
преди 12 години
Jean-Yves Lamoureux
b59fdb8baa
* Fix compilation on lesser tools
преди 12 години
Jean-Yves Lamoureux
171433e9de
* Fix compilation on lesser tools
преди 12 години
Jean-Yves Lamoureux
81e4f7421e
sdlinput: fix captured mouse coordinates
преди 12 години
Sam Hocevar
92385ac1ee
android: more NativeActivity migration work.
преди 12 години
Sam Hocevar
0f3805be4c
android: various fixes, but the switch to NativeActivity isn't complete.
преди 12 години
Sam Hocevar
af2fdff577
android: ensure the asset manager is initialised (hint: it's not).
преди 12 години
Benjamin ‘Touky’ Huet
1cd715e6ef
Mouse support now works in emscripten
преди 12 години
Benjamin ‘Touky’ Huet
e04367b138
mouse input fix
преди 12 години
Benjamin ‘Touky’ Huet
2da1903619
Build fix
преди 12 години
Benjamin ‘Touky’ Huet
dfc2a47f7f
Input : mouse focus integration.
преди 12 години
Benjamin ‘Touky’ Huet
3281169274
Input : Fixed mouse speed calculation in sdl & android.
преди 12 години