387 Commits

Author SHA1 Message Date
Perttu Ahola
abab2f9ee0 Apply Vim modeline magic to everything 2014-09-24 14:54:15 +03:00
Perttu Ahola
c0826539c7 util/codestyle.sh: Add Vim modeline magic to everything 2014-09-24 14:51:50 +03:00
Perttu Ahola
8ed59316af Fix coding style in other code 2014-09-24 14:30:53 +03:00
Perttu Ahola
dfd2865d3a util/codestyle.sh: Add CMakeLists.txt whitespace and caps rules and apply them 2014-09-24 14:30:53 +03:00
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
4f93467716 builtin/client_file: Watch directory so that deleting files doesn't stop the watch 2014-09-24 12:57:11 +03:00
Perttu Ahola
552c1ec684 impl/linux/file_watch: Support watching directories 2014-09-24 12:57:11 +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
591597ce00 client/app: Default to not grabbing the mouse (grab by u3d.input:SetMouseVisible(false); u3d.input:SetMouseGrabbed(true)) 2014-09-24 09:24:52 +03:00
Perttu Ahola
e4440d617a README.md: Come on, it's ./cmake_gcc.sh 2014-09-24 02:13:19 +03:00
Perttu Ahola
00a67dbbdb README.md: Urho3D: -DURHO3D_LUA=true -DURHO3D_SAFE_LUA=true 2014-09-24 02:01:33 +03:00
Perttu Ahola
c3c97d6dd6 README.md: Add Urho3D's dependencies and format Urho3D build instructions properly 2014-09-24 01:39:40 +03:00
Perttu Ahola
94648b8bae README.md: Add -U $URHO3D_HOME to buildat_client command line 2014-09-24 01:22:54 +03:00
Perttu Ahola
c242626edf client: urho3d_path 2014-09-24 01:13:30 +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
3788d111a5 interface/fs: get_cwd(), get_absolute_path() 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
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