touky
ea93e0fecc
baselua fix
return 1 added after sam remark
9 jaren geleden
Sam Hocevar
f533ecffad
Various compilation fixes.
9 jaren geleden
touky
fab4610405
lolua tweaks
Added macros to help basic setup
9 jaren geleden
touky
eb943fc5e3
Lolua small simplification
getter default params are better now
9 jaren geleden
touky
0cdeb424d9
2nd pass, removed all old code, and fixed all the wrong usages
9 jaren geleden
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
9 jaren geleden
touky
893ab7b6f5
first little pass, everything is broken.
Will resume on other computer.
9 jaren geleden
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.
9 jaren geleden
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().
9 jaren geleden
Sam Hocevar
7ccf613a08
build: move Lua to a submodule
9 jaren geleden
Sam Hocevar
3db14cd669
win64: various VS 2015 build fixes.
9 jaren geleden
Sam Hocevar
f1c34b8660
lua: import lua 5.3.3 source (was 5.2.1).
9 jaren geleden
Sam Hocevar
bd96cfeb51
Add LuaLoader::Find() helper to find the state’s loader.
9 jaren geleden
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
10 jaren geleden
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 jaren geleden
Sam Hocevar
98ad45046f
lua: disable 64-bit integer setters.
Lua only supports the "double" type for now, so storing a 64-bit integer
would lose information unless it's encapsulated in a more complex type.
I prefer to disable these accessors for now.
10 jaren geleden
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
10 jaren geleden
Sam Hocevar
2b4d3318d6
Fix a race condition in the file watcher and a few compilation warnings.
10 jaren geleden
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
10 jaren geleden
Sam Hocevar
d97087fc8b
lua: fix compilation issues.
10 jaren geleden
Benjamin ‘Touky’ Huet
bd9fddc5d9
Split Tileset in TextureImage -> Tileset
Added Texture (by image) update in TextureImage (and tileset)
Added lolimgui first integration pass
10 jaren geleden
Benjamin ‘Touky’ Huet
9c07e8c2e0
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
10 jaren geleden
Benjamin ‘Touky’ Huet
a8c3a80eb1
Add color var in lua
Add SafeEnum var in lua
MeshViewer SceneSetup is operational
Added imGui to vs-solution, not implemented yet
10 jaren geleden
Benjamin ‘Touky’ Huet
8222295f3b
2nd pass on Lua integration.
First pass on EzMesh integration (doesn't work yet)
10 jaren geleden
Benjamin ‘Touky’ Huet
106a7632d1
Small folders tweaks
10 jaren geleden
Benjamin ‘Touky’ Huet
baae344fc2
lua property get/set added, not as nice as I wished, but working.
10 jaren geleden
Benjamin ‘Touky’ Huet
77c0ae241b
tidied up the lua tutorial
10 jaren geleden
Benjamin ‘Touky’ Huet
77420f6b55
small lua code refactor
10 jaren geleden
Benjamin ‘Touky’ Huet
cf888d721d
3rd pass on lua classes. It works now. It's ..... ALIIIIIIVE
10 jaren geleden
Lolbot
e4098f0db7
fixed 5 files out of 4252:
- removed 147 CR characters
- removed 1 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 5 svn:eol-style properties
10 jaren geleden
Benjamin ‘Touky’ Huet
0ac33c2da2
Lua integration second pass. Still doesn't work, though.
10 jaren geleden
Benjamin ‘Touky’ Huet
41da69ba68
Remove defines. It still crashes though.
10 jaren geleden
Benjamin ‘Touky’ Huet
596e74c78c
Added first pass for Base Lua setup
10 jaren geleden