368 Commits

Author SHA1 Message Date
Perttu Ahola
bc5be04fcf testmodules/test1: Use h3d namespace 2014-09-24 01:13:26 +03:00
Perttu Ahola
03f1f87830 client_api.txt 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
4fb48b4748 client: Remove config.polycode_path 2014-09-24 01:12:16 +03:00
Perttu Ahola
977eabd1d5 Builds now; doesn't run yet due to stuff in Lua expecting Polycode 2014-09-24 01:12:16 +03:00
Perttu Ahola
847f8e9599 CMakeLists.txt: Initial Urho3D things 2014-09-24 01:12:16 +03:00
Perttu Ahola
1aa71a0a1b doc: Switch to Urho3D! 2014-09-24 01:12:16 +03:00
Perttu Ahola
7e2cae8940 network: Don't shut down on ECONNRESET="Connection reset by peer" when receiving data 2014-09-24 01:12:16 +03:00
Perttu Ahola
3721ba59f3 extensions/experimental: Remove accidentally added unused test code 2014-09-22 03:12:57 +03:00
Perttu Ahola
24ba299a66 testmodules/minigame: Add "mouse grab" and "clear field" buttons 2014-09-22 02:29:26 +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
036ea9dc77 CMakeLists.txt: Allow selecting what to build (-DBUILD_SERVER=true/false, -DBUILD_CLIENT=true/false) 2014-09-21 13:12:48 +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
Perttu Ahola
ae155d9d4a client/extensions.lua: Log errors properly when an extension has invalid syntax 2014-09-21 11:12:19 +03:00
Perttu Ahola
95db31394a client: Add Polycode's UI Lua bindings to the build system and Lua environment 2014-09-21 11:02:04 +03:00
Perttu Ahola
38e927a1c3 client/init.lua: Don't dofile default.lua (it was removed previously) 2014-09-21 10:31:58 +03:00
Perttu Ahola
5dcde57c38 client: Fix undescriptive error message when extension module returns nil 2014-09-21 10:18:11 +03:00
Břetislav Štec
85a1aae1fa testmodules/minigame: Use joystick input 2014-09-21 01:48:49 +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
1d6876c79f Remove client/default.lua 2014-09-21 00:47:50 +03:00
Perttu Ahola
81c6876703 Clean up and make more robust a large portion of Lua support code 2014-09-21 00:47:40 +03:00
Perttu Ahola
fc0142c22e client/app: Fix coding style; also add a minor thing to util/codestyle.sh 2014-09-20 20:20:54 +03:00
Perttu Ahola
6b7845f68a testmodules/test1: Update to new binary serialization interface 2014-09-20 20:00:26 +03:00
Perttu Ahola
175c06ba5e client/sandbox.lua: Add assert() to sandbox environment 2014-09-20 19:59:45 +03:00
Perttu Ahola
590a61e341 client/app: The ultimate type table format for __buildat_cereal_binary_output() 2014-09-20 19:59:06 +03:00
Perttu Ahola
8e9555faf1 doc 2014-09-20 19:05:30 +03:00
Perttu Ahola
ead8cd1acf testmodules/minigame: Example usage of extension/mouseinput 2014-09-20 17:48:35 +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
6b4b252f5a doc 2014-09-20 15:30:37 +03:00
Perttu Ahola
086a19129e README.md: "To make sure Polycode was built and is fully working, try running the Polycode IDE" 2014-09-20 14:46:43 +03:00
Perttu Ahola
7a19735e6f testmodules/minigame: Use new type table format 2014-09-20 14:38:49 +03:00
Perttu Ahola
2d637cee68 client/app: The ultimate type table format for __buildat_cereal_binary_input() 2014-09-20 14:30:15 +03:00
Perttu Ahola
fb322e1d44 core/types: Remove @ prefix from output of dump(const id_ &id) 2014-09-20 14:20:42 +03:00
Perttu Ahola
eb9e2ada26 client/lua: buildat.bytes(data) 2014-09-20 14:19:20 +03:00
Perttu Ahola
8939df9619 Fix coding style 2014-09-20 11:24:20 +03:00
Perttu Ahola
0159370b27 server/rccpp: Use interface/process.h 2014-09-20 11:17:48 +03:00
Perttu Ahola
b208742a5d design.txt: Document __menu startup and disconnect behavior 2014-09-20 11:17:27 +03:00
Perttu Ahola
4a370584ac conventions.txt: Ordering of #include directives 2014-09-20 10:43:33 +03:00
Perttu Ahola
9233f1422d server: Configurable compiler command 2014-09-20 10:35:41 +03:00