363 Commits

Author SHA1 Message Date
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
6e8a85e51d client: buildat.extension_path(name) 2014-09-27 07:44:54 +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
064502d047 doc/external_issues.txt 2014-09-26 16:32:59 +03:00
Perttu Ahola
f3ed3de9ce client: Allow loading resources from /extensions 2014-09-26 16:32:58 +03:00
Perttu Ahola
b319f4f546 client: Launch extensions/__menu if no server address is given on the command line 2014-09-26 16:32:58 +03:00
Perttu Ahola
fd09ba59a3 client/app: Set resizable graphics mode 2014-09-26 16:32:58 +03:00
Perttu Ahola
50d6cf6b3f extensions/urho3d: Support SubscribeToEvent with object parameter 2014-09-26 16:32:58 +03:00
Perttu Ahola
e1d9644a89 Move documentation files to /doc 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
990569c02a builtin/network, interface/packet_stream: Catch unknown packet exceptions and log them as warnings 2014-09-26 16:32:58 +03:00
Perttu Ahola
44596b6d13 client/app: Don't call magic_input->SetMouseGrabbed(false); because it isn't available in Urho3D's latest stable (1.31) and everything works fine without it 2014-09-25 17:10:22 +03:00
Perttu Ahola
419868362a Naming convention: Alias Urho3D as "magic" 2014-09-24 16:42:16 +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
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