touky
ea93e0fecc
baselua fix
return 1 added after sam remark
преди 9 години
Sam Hocevar
f533ecffad
Various compilation fixes.
преди 9 години
touky
fab4610405
lolua tweaks
Added macros to help basic setup
преди 9 години
touky
eb943fc5e3
Lolua small simplification
getter default params are better now
преди 9 години
touky
0cdeb424d9
2nd pass, removed all old code, and fixed all the wrong usages
преди 9 години
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 години
touky
893ab7b6f5
first little pass, everything is broken.
Will resume on other computer.
преди 9 години
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 години
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 години
Sam Hocevar
7ccf613a08
build: move Lua to a submodule
преди 9 години
Sam Hocevar
3db14cd669
win64: various VS 2015 build fixes.
преди 9 години
Sam Hocevar
f1c34b8660
lua: import lua 5.3.3 source (was 5.2.1).
преди 9 години
Sam Hocevar
bd96cfeb51
Add LuaLoader::Find() helper to find the state’s loader.
преди 9 години
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
преди 10 години
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 години
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 години
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
преди 10 години
Sam Hocevar
2b4d3318d6
Fix a race condition in the file watcher and a few compilation warnings.
преди 10 години
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
преди 10 години
Sam Hocevar
d97087fc8b
lua: fix compilation issues.
преди 10 години
Benjamin ‘Touky’ Huet
bd9fddc5d9
Split Tileset in TextureImage -> Tileset
Added Texture (by image) update in TextureImage (and tileset)
Added lolimgui first integration pass
преди 10 години
Benjamin ‘Touky’ Huet
9c07e8c2e0
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
преди 10 години
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 години
Benjamin ‘Touky’ Huet
8222295f3b
2nd pass on Lua integration.
First pass on EzMesh integration (doesn't work yet)
преди 10 години
Benjamin ‘Touky’ Huet
106a7632d1
Small folders tweaks
преди 10 години
Benjamin ‘Touky’ Huet
baae344fc2
lua property get/set added, not as nice as I wished, but working.
преди 10 години
Benjamin ‘Touky’ Huet
77c0ae241b
tidied up the lua tutorial
преди 10 години
Benjamin ‘Touky’ Huet
77420f6b55
small lua code refactor
преди 10 години
Benjamin ‘Touky’ Huet
cf888d721d
3rd pass on lua classes. It works now. It's ..... ALIIIIIIVE
преди 10 години
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 години
Benjamin ‘Touky’ Huet
0ac33c2da2
Lua integration second pass. Still doesn't work, though.
преди 10 години
Benjamin ‘Touky’ Huet
41da69ba68
Remove defines. It still crashes though.
преди 10 години
Benjamin ‘Touky’ Huet
596e74c78c
Added first pass for Base Lua setup
преди 10 години