180 Commits

Author SHA1 Message Date
Perttu Ahola
8f44b7490a buildat.connect_server(address) -> status, error 2014-09-26 16:36:14 +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
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
abab2f9ee0 Apply Vim modeline magic to everything 2014-09-24 14:54:15 +03:00
Perttu Ahola
8ed59316af Fix coding style in other code 2014-09-24 14:30:53 +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
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
c242626edf client: urho3d_path 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
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
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
7dce426a29 extensions/ui: Initial base, with related changes in a lot of places 2014-09-21 12:42:53 +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
4acafc042b extensions/experimental, with initial sub_tick(f(dtime)) support 2014-09-21 01:07:25 +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
590a61e341 client/app: The ultimate type table format for __buildat_cereal_binary_output() 2014-09-20 19:59:06 +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
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
9233f1422d server: Configurable compiler command 2014-09-20 10:35:41 +03:00
Perttu Ahola
51fe18624a interface/process 2014-09-20 10:35:20 +03:00
Perttu Ahola
7ad609ca8b server/rccpp: Clean up code and add compiler_command constructor parameter 2014-09-20 10:12:34 +03:00
Perttu Ahola
99bfd2c53a server/rccpp, server/state: Supply cxxflags and ldflags from deps.txt to compiler 2014-09-20 03:02:26 +03:00
Perttu Ahola
8e6b16fc53 client/app, client/main: Clean up, set better window title 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
8aefb1c4d8 client/app: Log errors occurring in event callbacks 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
ceb8adf65b doc 2014-09-20 03:02:25 +03:00
Perttu Ahola
ab2d4a06b4 server/state: Fully implement unload_module() 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
928706b36e client/config, server/config: Check configured paths at startup 2014-09-19 19:11:42 +03:00
Perttu Ahola
d2427313ea Prepend license notice to all *.{h,cpp} files 2014-09-19 18:42:14 +03:00
Perttu Ahola
e0cb500671 server/state: Track modifications in files included from module source 2014-09-19 18:02:50 +03:00
Perttu Ahola
a370bcb166 client, builtin/{network,client_file}: Use portable binary archives 2014-09-19 17:34:00 +03:00
Perttu Ahola
4e76b92196 builtin/network,builtin/client_file: Store and restore state on reload 2014-09-19 17:29:26 +03:00
Perttu Ahola
028e4b9975 Supporting things for builtin/network,builtin/client_file reload restore 2014-09-19 17:02:25 +03:00
Perttu Ahola
66ab5c1985 builtin/client_file, interface/file_watch: Watch changes in automatically transferred files and reload content for new clients 2014-09-19 16:46:17 +03:00