touky
ce1fa592c5
Merge branch 'lolua_refactor'
pirms 8 gadiem
touky
fab4610405
lolua tweaks
Added macros to help basic setup
pirms 8 gadiem
touky
eb943fc5e3
Lolua small simplification
getter default params are better now
pirms 8 gadiem
touky
0cdeb424d9
2nd pass, removed all old code, and fixed all the wrong usages
pirms 8 gadiem
touky
4d78d62a70
Lolua refactor 2nd pass: New version is much simpler and practical
Next pass is clean-up and fix of all the old usage
pirms 8 gadiem
touky
893ab7b6f5
first little pass, everything is broken.
Will resume on other computer.
pirms 8 gadiem
Lolbot
af53a69eb7
fixed 9 files out of 506:
- removed 0 CR characters
- removed 7 trailing whitespaces
- replaced 332 tabs with spaces
pirms 8 gadiem
Sam Hocevar
168dbb0e00
test: put back commit feature in check-source.sh.
pirms 8 gadiem
Sam Hocevar
dc9f5c72cb
test: make source code checks more verbose
pirms 8 gadiem
Sam Hocevar
eac41fd3f8
test: remove obsolete SVN support in check-source.sh
pirms 8 gadiem
Sam Hocevar
5fb319b10c
imgui: update submodule to a cleaner branch.
pirms 8 gadiem
Sam Hocevar
7d2cd5c8a3
build: fix imgui example on Linux
pirms 8 gadiem
Guillaume Bittoun
3525d1f317
Crash fix: first call to TickGame must not occur before TickDraw. referencing #3
pirms 8 gadiem
touky
527e27c880
- ImGUI is now operational again
- Most recent version is in with index buffer support
pirms 8 gadiem
Sam Hocevar
ac0f48e269
build: fix .vcxproj UUID clash.
pirms 8 gadiem
touky
3b255d4137
first test for lolimgui
pirms 8 gadiem
touky
ce13252b69
Shader version compatibility fix
Shader replacement code for older shader version is now fixed
pirms 8 gadiem
touky
9174a1e43d
startup fixes
pirms 8 gadiem
Sam Hocevar
37c8949b40
Update submodule names and specify explicit branches.
pirms 8 gadiem
Sam Hocevar
aaa39bd782
build: fix Windows build and LolFx generation
pirms 8 gadiem
Sam Hocevar
7619caef3e
audio: minimal streaming API
This will allow us to generate sounds on the fly on several dedicated
channels. Until now we could only play fully loaded samples.
pirms 8 gadiem
Sam Hocevar
0ef4e3c203
Clean up a lot of shader crap
pirms 8 gadiem
Sam Hocevar
d01f29d483
tutorial: fix input tutorial speed.
pirms 8 gadiem
Sam Hocevar
b9ac811720
tutorial: support the Julia set in the fractal sample
pirms 8 gadiem
Sam Hocevar
10f244192c
math: allow to create real numbers from long doubles
pirms 8 gadiem
Sam Hocevar
2149187abd
tutorial: fix tutorial 11 (fractal)
Input was broken, as well as palette generation, and even texture
upload. Should be all good now.
pirms 8 gadiem
Sam Hocevar
96d725fd71
lua: replace lol::LuaState with the original lua_State
We have no hope of extending lua_State to add more data to it, because
that object may be created by Lua itself, for instance within a coroutine,
and it has no knowledge of our version of the object.
pirms 8 gadiem
Sam Hocevar
89a8add7bf
audio: reorganise files
pirms 8 gadiem
Guillaume Bittoun
da1c26728c
Tutorial 11_fractal fixed
pirms 8 gadiem
Sam Hocevar
610d2a97ac
lua: remove LuaLoader::Find() helper
This has proved unreliable because coroutines create whole new environments,
so one of the only ways to store user data and access it even from coroutines
is to use lua_setglobal().
pirms 8 gadiem
Sam Hocevar
9b6e2995fb
sys: minor tweaks to the Timer class
pirms 8 gadiem
Guillaume Bittoun
28031dac1e
Getting rid of TimerData class
pirms 8 gadiem
Guillaume Bittoun
15d3a82b5c
Adding test for timer
pirms 8 gadiem
Guillaume Bittoun
ebce27315e
Moving entire timer code in timer.h
pirms 8 gadiem
Guillaume Bittoun
40462127d4
Refactor Timer class with std::chrono
pirms 8 gadiem
Sam Hocevar
9e4b6a4155
build: add path to lolfx resource names
This will help us deal with shader name collision. Breaks the Windows
build for the moment, unfortunately.
pirms 8 gadiem
Sam Hocevar
25ad63d33d
scene: add Scene::pre_render and post_render
This allows actors to perform draw commands in TickDraw(), even
if it’s not exactly what we want in the future.
pirms 8 gadiem
Sam Hocevar
78fdedf06f
base: add operator for char + String
pirms 8 gadiem
Sam Hocevar
0a7adbc88a
build: remove some old kludgy autoconf code
pirms 8 gadiem
Sam Hocevar
96fc303163
getopt: Windows build fix
pirms 8 gadiem
Sam Hocevar
75a8caa6ad
Update PEGTL submodule to a custom branch of ours.
pirms 8 gadiem
Sam Hocevar
f69c3352ea
build: clean up “make dist” rules.
pirms 8 gadiem
Sam Hocevar
6a35a64dd5
sys: make a few functions lowercase.
pirms 8 gadiem
Sam Hocevar
afada09f64
getopt: minor improvements.
pirms 8 gadiem
Sam Hocevar
c5a4f59517
sys: getopt wrapper and reimplementation (first iteration).
pirms 8 gadiem
Sam Hocevar
afc48d2927
scene: add render buffers and a temporary postprocess
pirms 8 gadiem
Sam Hocevar
8c3c62bdc0
build: improvements when building as a subproject
pirms 8 gadiem
Sam Hocevar
244a1cbe97
sys: always try to open files directly on the filesystem
pirms 8 gadiem
Sam Hocevar
e8cb6606ac
build: add .gitignore files to some 3rd party libraries
pirms 8 gadiem
Sam Hocevar
39f34590e4
build: remove configure tests that were initially for neercs
pirms 8 gadiem