77 Commits

Author SHA1 Message Date
Perttu Ahola
f9d2e825cc client: Fix loading of extensions (extensions were loaded twice; one instance for the sandbox and one for other extensions, which broke things) 2014-10-04 19:48:31 +03:00
Perttu Ahola
e6c1b78b4b windows: Fix client by using LuaJIT and installing DLLs 2014-10-04 19:12:12 +03:00
Perttu Ahola
b924d66b3a extensions/urho3d: Variant, Material:SetShaderParameter 2014-10-04 09:36:16 +03:00
Perttu Ahola
dd1e991602 extensions/urho3d: Fix UnsubscribeFromEvent() so that uistack's SubscribeToStackEvent() works like it should 2014-10-03 13:16:16 +03:00
Perttu Ahola
f089913ea6 extensions/urho3d: Add nodes and components in LOCAL mode by default 2014-10-03 13:05:33 +03:00
Perttu Ahola
d7a6737569 games/entitytest, extensions/urho3d: Fix camera to be a local scene node so that it doesn't disappear once new nodes are added by the server 2014-10-03 12:57:57 +03:00
Perttu Ahola
92f63f2bbb extensions/magic_sandbox: Never wrap nil into a sandbox wrapper instance (it's very confusing) 2014-10-03 12:43:13 +03:00
Perttu Ahola
a001b1ba64 client: Clean interface to scene replication (hide the hack inside client/app and client/replication.lua) 2014-10-03 12:19:41 +03:00
Perttu Ahola
70769a36bf entitysync -> replicate 2014-10-03 11:08:58 +03:00
Perttu Ahola
f43dd14d4c client: Clean up logging of received updates 2014-10-03 01:50:18 +03:00
Perttu Ahola
c3032ff13b extensions/urho3d: Stuff, including sub_sync_node_added() 2014-10-03 01:43:04 +03:00
Perttu Ahola
9f7f9bd804 Use Urho3D::ResourceRouter 2014-10-02 19:35:03 +03:00
Perttu Ahola
cb6b59ac41 WIP 2014-10-02 14:38:59 +03:00
Perttu Ahola
c6a88ac4ce WIP 2014-10-02 13:52:48 +03:00
Perttu Ahola
a14d0e1b46 extensions/sandbox_test: Add names 2014-10-02 13:42:04 +03:00
Břetislav Štec
86b35173e3 extensions/urho3d/safe_classes.lua: Wrap more methods for Scene and Node 2014-09-29 19:59:50 +02:00
Perttu Ahola
3947187ef5 Fix coding style 2014-09-28 21:19:19 +03:00
Perttu Ahola
ba42488bf8 extensions/sandbox_test: When loaded, start checking values at runtime as reported by magic_sandbox 2014-09-28 15:25:08 +03:00
Perttu Ahola
b23711f066 extensions/sandbox_test/try_exploit.lua: Try calling found functions 2014-09-28 14:00:17 +03:00
Perttu Ahola
0e7c9fc6e4 extensions/urho3d: Fix exploit revealed by extensions/sandbox_test caused by a stupid mistake 2014-09-28 12:59:35 +03:00
Perttu Ahola
1148decb2a extensions/sandbox_test: Search for exploits in latest real sandbox environments and a test sandbox environment (KEY_F10) 2014-09-28 12:57:47 +03:00
Perttu Ahola
779e95b3ec extensions/__menu: Fix UI warnings 2014-09-28 01:05:04 +03:00
Perttu Ahola
4e7d03adc6 client: Get rid of exception about inexisting remote resource when accessing a local resoource 2014-09-28 00:55:37 +03:00
Perttu Ahola
b3a151e8a9 extensions/uistack: Global UIStack instance "main", which the main menu uses too 2014-09-27 16:09:17 +03:00
Perttu Ahola
3917701b47 client: Use sandboxed urho3d in extensions for interoperability with modules 2014-09-27 15:29:50 +03:00
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