82 Commits

Author SHA1 Message Date
Perttu Ahola
3157198a30 buildat.run_script_file: Add to client_api.txt and switch from instance-style to namespace-style call 2014-09-24 14:17:16 +03:00
Perttu Ahola
abc39ba044 server: Respond quickly to SIGINT and stop startup if some module fails to compile 2014-09-24 14:10:44 +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
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
d934d02f6e testmodules/test1: Shows a 3D scene controllable by user input; add and fix other things to support it 2014-09-24 01:12:16 +03:00
Perttu Ahola
76778cd2e7 Client is now able to start and run code sent by server 2014-09-24 01:12:16 +03:00
Perttu Ahola
24ba299a66 testmodules/minigame: Add "mouse grab" and "clear field" buttons 2014-09-22 02:29:26 +03:00
Perttu Ahola
4dc1d10c82 extensions/{graphics,ui}: Implement event handling class model 2014-09-22 02:29:25 +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
85a1aae1fa testmodules/minigame: Use joystick input 2014-09-21 01:48:49 +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
6b7845f68a testmodules/test1: Update to new binary serialization interface 2014-09-20 20:00:26 +03:00
Perttu Ahola
ead8cd1acf testmodules/minigame: Example usage of extension/mouseinput 2014-09-20 17:48:35 +03:00
Perttu Ahola
7a19735e6f testmodules/minigame: Use new type table format 2014-09-20 14:38:49 +03:00
Perttu Ahola
8939df9619 Fix coding style 2014-09-20 11:24:20 +03:00
Perttu Ahola
301887c179 testmodules/minigame 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
601de946b7 Move module/include/api.h to module/api.h 2014-09-19 15:54:23 +03:00
Perttu Ahola
f4862fdc0d extensions/graphics3d: Working texture loading 2014-09-19 15:48:03 +03:00
Perttu Ahola
3176478881 builtin/client_data 2014-09-19 15:47:21 +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
f4798c2913 extensions/graphics3d WIP 2014-09-19 14:12:00 +03:00
Perttu Ahola
dd39767cf5 client/extensions 2014-09-19 11:29:59 +03:00
Perttu Ahola
1e1170313d testmodules/test1/client_lua/init.lua: Disable non-working code 2014-09-19 10:33:16 +03:00
Perttu Ahola
7fb086e399 client, builtin/client_file: Synchronize transmission end 2014-09-19 02:55:18 +03:00
Perttu Ahola
fdb4751d06 client: Running cached script files works 2014-09-19 02:43:16 +03:00
Perttu Ahola
60c0a790bb client, builtin/client_file: Transferring of file content into cache 2014-09-19 02:22:53 +03:00
Perttu Ahola
5899a081da client: Sending of packets from Lua 2014-09-19 01:42:52 +03:00
Perttu Ahola
8da0f11df9 client_file/boot.lua, testmodules/test1: Tidy up 2014-09-19 01:10:54 +03:00
Perttu Ahola
0414bc8aaf interface/packet_stream: Unify packet streaming code 2014-09-19 00:58:42 +03:00
Perttu Ahola
5f66d2eeb6 File transfer WIP 2014-09-18 23:47:05 +03:00
Perttu Ahola
ab83f7e5ca builtin/client_lua 2014-09-18 21:54:29 +03:00
Perttu Ahola
89d9c7a394 module/server/<module>.cpp -> module/<module>.cpp 2014-09-18 19:57:52 +03:00
Perttu Ahola
3498a07473 module/server/init.cpp -> module/server/<module>.cpp 2014-09-18 19:43:14 +03:00
Perttu Ahola
61a2e6d2d6 doc 2014-09-18 18:12:59 +03:00
Perttu Ahola
ed921ebf4b server/state, testmodules/__loader: Don't automate module reload, instead implement it in __loader 2014-09-18 17:52:44 +03:00
Perttu Ahola
8d32289239 client: Remote execution of Lua works 2014-09-18 14:43:34 +03:00
Perttu Ahola
2bfdc3b1c3 testmodules/test1: Send a script to each new client 2014-09-18 14:25:07 +03:00
Perttu Ahola
c7a1b82628 Remove mutexes from modules and handle locking automatically by callback-based access control 2014-09-18 13:09:30 +03:00