Sam Hocevar
c4df7f7f91
nx: ensure projects that use OpenGL compile properly.
пре 5 година
Sam Hocevar
d7fc121faf
Start porting the engine to the Nintendo Switch.
пре 5 година
Sam Hocevar
2c484bc8ae
Add NX64 platform to projects.
пре 5 година
Sam Hocevar
512eba5bf6
audio: fix build with SDL_Mixer disabled.
пре 5 година
Sam Hocevar
b5de2bd6e6
math: implement <<(ostream &, real).
пре 5 година
Sam Hocevar
9a73325d68
math: fix a bug in hex display of reals.
пре 5 година
Sam Hocevar
2bf54ebcb0
math: use std::string logic rather than printf() for real number formatting.
пре 5 година
Sam Hocevar
db3a40687a
gpu: remove debug code that should not have ended here.
пре 5 година
Sam Hocevar
b095015731
easymesh: comment out a lot of code that was just causing compilation warnings
пре 5 година
Sam Hocevar
83e48e8820
gpu: fix OS X port (bad framebuffer image creation flags).
пре 5 година
Sam Hocevar
864bc699cf
sdl: display GL context version upon creation.
пре 5 година
Sam Hocevar
eafffe7148
sdl: ensure the OS X event pump is called on the main thread.
пре 5 година
Sam Hocevar
6187be0850
emscripten: use document.querySelector() instead of getElementById().
пре 5 година
Sam Hocevar
a21c2cbea7
tutorial: fix build.
пре 5 година
Sam Hocevar
d1881dcc51
3rdparty: update imgui, lua and pegtl submodules to latest upstream.
пре 5 година
Sam Hocevar
4eec8450d3
audio: rename format enum entries to avoid collisions.
пре 5 година
Sam Hocevar
c49bce2b8b
tutorial: add a few missing “override” qualifiers.
пре 5 година
Sam Hocevar
68c2530b16
audio: refactor audio streaming mechanism.
Rename “channels” to “tracks” when talking about the mixing channels, to
avoid confusion with channels in the context of mono/stereo/5.1. Also allow
conversions between various formats and frequencies.
To do: allow to query the current audio device’s preferred frequency when
the client application is able to send the best possible data.
пре 5 година
Sam Hocevar
b11e6bd537
audio: more feedback upon initialisation.
пре 5 година
Sam Hocevar
acb4624084
emscripten: log to stdout instead of stderr.
пре 5 година
Sam Hocevar
29ea039556
math: use type traits instead of multiple macros for math functions.
пре 5 година
Sam Hocevar
6f0155a50e
audio: allow to load a sample from raw data.
пре 5 година
Sam Hocevar
f8e5114e6e
build: enable SDL_image and SDL_mixer in the emscripten build.
пре 5 година
Sam Hocevar
70847edb61
tutorial: fix a signedness bug in the sound tutorial.
пре 5 година
Sam Hocevar
aedc1da589
build: remove built-in bullet compilation on Linux.
Executables that use libbullet are now 1 MiB smaller (stripped!).
пре 5 година
Sam Hocevar
634e96fa37
tutorial: refresh some tutorial programs to use the init/release entity mechanism.
пре 5 година
Sam Hocevar
afe2c72beb
input: fix right/middle mouse button confusion.
пре 5 година
Sam Hocevar
df7f58e20d
input: fix various input bugs.
Devices were not properly reset at each frame, which caused
button_pressed() and other functions to fail.
пре 5 година
Sam Hocevar
19cf115ae1
tutorial: add a VS project for the sound tutorial.
пре 5 година
Sam Hocevar
96736217fe
doc: update some tutorials to use the new entity init/release mechanism.
пре 5 година
Sam Hocevar
2e4aabbc29
ticker: better mechanism for entity init/release.
Now we can call functions that need to access GPU resources explicitly
on the draw thread.
пре 5 година
Sam Hocevar
d9dd340141
sdl: fix clang build.
пре 5 година
Sam Hocevar
fcfafa2035
test: add a unit test of real::cbrt() and fix the camera unit test.
пре 5 година
Sam Hocevar
1186c08ad7
entity: add a flag system.
This lets us get rid of m_autorelease and m_destroy and we’ll be able
to implement init_game/init_draw later, for stuff that must happen
on the render thread.
пре 5 година
Sam Hocevar
06edad8755
scene: remove useless subobject classes.
пре 5 година
Sam Hocevar
96a336db03
build: fix a few CRLF issues and make .gitattributes more robust.
пре 5 година
Sam Hocevar
1a783a228f
msbuild: only copy SDL libraries to target directory when actually using SDL.
пре 5 година
Sam Hocevar
5814dd4cf0
math: fix a bug in real::cbrt() that completely broke the function.
пре 5 година
Sam Hocevar
90bf8a37d5
build: fix “make dist”; a few header references were missing.
пре 5 година
Sam Hocevar
17f1cb4a6a
image: port FFmpeg encoder to the new API to stop calling deprecated functions.
пре 5 година
Sam Hocevar
a33073f996
Fix the EGL application build.
пре 5 година
Sam Hocevar
9c13aabe98
build: fix the mingw cross compilation.
пре 5 година
Sam Hocevar
615c968e2d
engine: minor changes in ticker.
пре 5 година
Sam Hocevar
9a0b6e4a9a
Build: fix several compilation warnings.
пре 5 година
Sam Hocevar
635b597e34
input: move code from input device to mouse device.
пре 5 година
Sam Hocevar
0d766ea9b9
input: fix Win32 build.
пре 5 година
Sam Hocevar
c9f75a6c3f
input: start splitting keyboard, mouse etc. objects
пре 5 година
Sam Hocevar
6a1188a65a
input: fix Windows build.
пре 5 година
Sam Hocevar
b0a8596001
RIP lol::Controller and lol::InputProfile ⚰️ LOL
пре 5 година
Sam Hocevar
ae4ff1d27c
input: add a buttons.inc file with a list of default mouse/joystick button names.
пре 5 година