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 роки тому