Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
il y a 7 ans
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.
il y a 7 ans
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.
il y a 11 ans
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.
il y a 11 ans
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
il y a 11 ans
Benjamin ‘Touky’ Huet
71ee91fcb1
MultiplMultiScene: Phase 2: No more g_scene access and multiple scene calls support
il y a 11 ans
Sam Hocevar
a07844682e
build: remove dead PS3 code.
il y a 11 ans
Sam Hocevar
8657a3adfa
sys: use std::bind for thread workers to avoid ugly casts.
il y a 11 ans
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.
il y a 11 ans
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
il y a 11 ans
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
il y a 11 ans
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
il y a 11 ans
Benjamin ‘Touky’ Huet
e04367b138
mouse input fix
il y a 12 ans
Benjamin ‘Touky’ Huet
70395b5da2
Mouse support is now OK in NaCl
il y a 12 ans
Benjamin ‘Touky’ Huet
056df1d9a0
NaCl build FIX
il y a 12 ans
Benjamin ‘Touky’ Huet
3337671dfa
NaCl : First pass on input re-implementation
MViewer : Small tweak
il y a 12 ans
Benjamin ‘Touky’ Huet
17109e369f
MessageService : Safe Enum added to ensure good usage.
il y a 12 ans
Benjamin ‘Touky’ Huet
2e3c5e6e94
build FIX
il y a 12 ans
Benjamin ‘Touky’ Huet
b0181eafd2
nacl-instance : ::HandleMessage now does a MessageService::Send()
il y a 12 ans
Benjamin ‘Touky’ Huet
2c36522ece
nacl : CODE FAIL. today is not the day.
il y a 12 ans
Benjamin ‘Touky’ Huet
0c750b9fcd
nacl : deactivated input to get build back.
il y a 12 ans
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
il y a 13 ans
Sam Hocevar
f44e3e323b
core: you can now while(app.MustTick()) { Tick(); } instead of app.Run().
il y a 13 ans
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
il y a 13 ans
Sam Hocevar
bd649af62d
nacl: NaCl binaries no longer need a modified main() to work, the NaCl
instance object takes care of everything for us.
il y a 14 ans
Sam Hocevar
32f232e112
nacl: preliminary gamepad support in the NaCl backend.
il y a 14 ans
Sam Hocevar
b83a7eccca
nacl: remove our old hack of #including the file containing main() from
the NaCl instance object. Now we properly override main() and we can at
last build all the executables as NaCl binaries.
il y a 14 ans
Sam Hocevar
0a52e68f6f
math: rename matrix.h to vector.h and simplify some stuff, especially in
the matrix code itself.
il y a 14 ans
Sam Hocevar
48bf48a4e4
math: move the Remez algorithm implementation to the core.
il y a 14 ans
Sam Hocevar
0161879a84
core: try to merge Ticker and Emcee. Still not very good.
il y a 14 ans
Sam Hocevar
e5df84100b
nacl: quick and dirty mouse support.
il y a 14 ans
Sam Hocevar
6743bb45cd
nacl: the Mandelbrot zoomer is starting to work on NaCl.
il y a 14 ans
Sam Hocevar
2edb8115e6
core: port all code to NativeClient. Nothing runs for now, but it builds.
il y a 14 ans