52 Commits

Author SHA1 Message Date
Perttu Ahola
0965047f89 client: buildat.disconnect() 2014-09-27 09:58:16 +03:00
Perttu Ahola
2e66905d84 extensions/urho3d: Basic shadow properties; use in testmodules/test1 2014-09-27 09:15:39 +03:00
Perttu Ahola
d2a1830ce5 extensions/urho3d: Better event error logging for sandbox-subscribed events 2014-09-27 08:44:24 +03:00
Perttu Ahola
810360a93e extensions/urho3d: Move class whitelist to safe_classes.lua 2014-09-27 08:41:10 +03:00
Perttu Ahola
51cc8240af extensions/urho3d: Whitelist events in safe_events.lua 2014-09-27 08:38:28 +03:00
Perttu Ahola
2a0bd20e40 extensions/urho3d: Move list of safe globals to safe_globals.lua 2014-09-27 07:47:05 +03:00
Perttu Ahola
61d541b8b3 extensions/urho3d: Sandbox using extensions/magic_sandbox 2014-09-27 07:18:53 +03:00
Perttu Ahola
ee200cddad extensions/magic_sandbox 2014-09-27 07:18:47 +03:00
Perttu Ahola
6a98105c5a extensions/uistack: Fix coding style 2014-09-27 07:18:46 +03:00
Perttu Ahola
423c7a7b5a extensions/__menu: Connecting to servers 2014-09-26 16:36:14 +03:00
Perttu Ahola
8f44b7490a buildat.connect_server(address) -> status, error 2014-09-26 16:36:14 +03:00
Perttu Ahola
1f30a0cc33 extensions/__menu: Use UIStack 2014-09-26 16:36:10 +03:00
Perttu Ahola
9739bf430d extensions/uistack 2014-09-26 16:33:56 +03:00
Perttu Ahola
8a472b04f3 extensions/urho3d: SubscribeToEvent: Return global name of the generated global callback 2014-09-26 16:33:55 +03:00
Perttu Ahola
f11bd3ed25 extensions/__menu: Figuring out how this thing should work 2014-09-26 16:33:34 +03:00
Perttu Ahola
865e71ec38 extensions/__menu: Initial testing 2014-09-26 16:32:59 +03:00
Perttu Ahola
50d6cf6b3f extensions/urho3d: Support SubscribeToEvent with object parameter 2014-09-26 16:32:58 +03:00
Perttu Ahola
4cd96ea32a extensions/urho3d: Provide the API and an improved version of SubscribeToEvent() to the unsafe environment 2014-09-26 16:32:58 +03:00
Perttu Ahola
fbc8c98931 util/codestyle.sh: Fix Lua Vim modeline magic 2014-09-24 15:13:49 +03:00
Perttu Ahola
abab2f9ee0 Apply Vim modeline magic to everything 2014-09-24 14:54:15 +03:00
Perttu Ahola
3110d21c3c Dynamic resource reloading works as long as files aren't deleted in between like what git checkout does 2014-09-24 10:58:46 +03:00
Perttu Ahola
a3e4705452 testmodules/test1: Disable mouse control, use test1/green_texture.png for floor 2014-09-24 01:13:30 +03:00
Perttu Ahola
625d7a53c1 client: Loading resources received from server works 2014-09-24 01:13:26 +03:00
Perttu Ahola
50ec3815c8 Remove unused extensions: graphics joyinput keyinput mouseinput polycode_sandbox ui 2014-09-24 01:13:26 +03:00
Perttu Ahola
bc5be04fcf testmodules/test1: Use h3d namespace 2014-09-24 01:13:26 +03:00
Perttu Ahola
1c2111e266 Wrap global variables created by sandbox so that they don't pollute the actual global sandbox table 2014-09-24 01:13:26 +03:00
Perttu Ahola
12d7465f4e Move client/urho3d.lua to extensions/urho3d 2014-09-24 01:13:26 +03:00
Perttu Ahola
3721ba59f3 extensions/experimental: Remove accidentally added unused test code 2014-09-22 03:12:57 +03:00
Perttu Ahola
46fc4b2844 extensions/ui: UIElement.hasFocus property 2014-09-22 02:29:25 +03:00
Perttu Ahola
4dc1d10c82 extensions/{graphics,ui}: Implement event handling class model 2014-09-22 02:29:25 +03:00
Perttu Ahola
3ea0544172 extensions/polycode_sandbox: Recursive wrapper method resolver 2014-09-22 02:17:04 +03:00
Perttu Ahola
344b5149fa extensions/polycode_sandbox: Recursive type checking 2014-09-22 01:23:56 +03:00
Perttu Ahola
2aa3325c5f extensions/polycode_sandbox: Sandbox class wrapper: Allow mirroring Polycode's internal class inheritance with minimal effort 2014-09-22 01:23:56 +03:00
Perttu Ahola
e9c4f5a468 extensions/polycode_sandbox: Automagic sandbox wrapper for Polycode's Lua class model - now sandboxed code can subclass classes provided by Polycode 2014-09-22 01:23:47 +03:00
Perttu Ahola
400fce6a99 extensions/graphics3d -> extensions/graphics 2014-09-21 12:44:10 +03:00
Perttu Ahola
7dce426a29 extensions/ui: Initial base, with related changes in a lot of places 2014-09-21 12:42:53 +03:00
Břetislav Štec
fdf5b76a8c extensions/joyinput 2014-09-21 01:48:48 +03:00
Perttu Ahola
f456b110e4 Prepend license notice to all lua files 2014-09-21 01:20:43 +03:00
Perttu Ahola
4acafc042b extensions/experimental, with initial sub_tick(f(dtime)) support 2014-09-21 01:07:25 +03:00
Perttu Ahola
c76e949a7e extensions/mouseinput: warp_cursor(x, y), show_cursor(show: boolean) 2014-09-20 17:48:31 +03:00
Perttu Ahola
e6ee6600f6 extensions/graphics3d: Don't create temporary saved-with-extension files multiple times 2014-09-20 03:02:25 +03:00
Perttu Ahola
f36e5af4de extensions/cereal, client/app: Allow repeating values of the same type without specifying type for each value separately 2014-09-20 03:02:25 +03:00
Perttu Ahola
d6179bcd01 extensions/mouseinput and client/default.lua 2014-09-20 03:02:25 +03:00
Perttu Ahola
640d7552a4 extensions/keyinput and related event handling boilerplate in client/app 2014-09-20 03:02:25 +03:00
Perttu Ahola
5ebde7540b client, extensions/cereal: Binary output 2014-09-20 03:02:25 +03:00
Perttu Ahola
0c7d5602bb client: Packet handling in Lua; extensions/cereal 2014-09-20 03:02:25 +03:00
Perttu Ahola
f4862fdc0d extensions/graphics3d: Working texture loading 2014-09-19 15:48:03 +03:00
Perttu Ahola
b17ff040d7 client, ext/graphics3d: Loading of textures (not tested) 2014-09-19 15:19:17 +03:00
Perttu Ahola
4301546f2e buildat:Logger -> buildat.Logger 2014-09-19 14:50:25 +03:00
Perttu Ahola
591c04a755 extensions/polycode_sandbox; extensions/graphics3d works for small example 2014-09-19 14:46:46 +03:00