76 Commits

Author SHA1 Message Date
Perttu Ahola
1291d08c32 client/sandbox.lua: Whitelist error() 2014-10-27 01:01:06 +02:00
Perttu Ahola
f9cabdb8d8 client/init.lua, lua_bindings/misc: buildat.Logger:trace() 2014-10-22 11:53:41 +03:00
Perttu Ahola
ab4d0dfb73 client: Pass replicated scene to Lua environment in a proper way 2014-10-22 11:53:41 +03:00
Perttu Ahola
16097914bd client: Trigger replicate.sub_sync_node_added callbacks only after and immediately when replicate:create_node has been fully processed 2014-10-22 11:53:41 +03:00
Perttu Ahola
8a3c777f77 client/sandbox: Improve a log message about the creation of a new global 2014-10-22 11:53:41 +03:00
Perttu Ahola
2c6b64fbd7 Remove useless buildat.voxel_heuristic_has_sunlight() 2014-10-21 18:19:27 +03:00
Perttu Ahola
54daef48c4 client/api: Vector2/3.eq() 2014-10-21 18:19:27 +03:00
Perttu Ahola
d2839d5cf3 client: voxelworld.get_static_voxel() 2014-10-21 18:19:27 +03:00
Perttu Ahola
265860cf62 WIP 2014-10-21 18:19:27 +03:00
Perttu Ahola
a644a57f63 client/api: buildat.safe.Vector2 2014-10-21 18:19:26 +03:00
Perttu Ahola
adbb3290e7 WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola
b9b47ee6d9 WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola
6d7a88dad2 lua_bindings: VoxelName, AtlasSegmentDefinition, VoxelDefinition and VoxelRegistry::add_voxel() 2014-10-21 18:19:26 +03:00
Perttu Ahola
bc4ac09c1a builtin/voxelworld and things: Transmit VoxelRegistry over network and deserialize it in Lua 2014-10-21 18:19:26 +03:00
Perttu Ahola
692c0d1418 Global rename: TextureAtlas -> Atlas 2014-10-21 18:19:26 +03:00
Perttu Ahola
997bf1bc94 client: Lua owns VoxelRegistry and TextureAtlasRegistry 2014-10-21 18:19:26 +03:00
Perttu Ahola
bbc300f540 VoxelRegistry Lua interface WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola
6967ff6c9f client, builtin/voxelworld: Add voxelworld updates to profiler 2014-10-21 18:19:24 +03:00
Perttu Ahola
d19ec84717 lua_bindings, client/api: clear_voxel_geometry, clear_voxel_physics_boxes 2014-10-21 18:19:24 +03:00
Perttu Ahola
abad1e0e2f lua_bindings/spatial_update_queue: Initial half-working version 2014-10-21 18:19:24 +03:00
Perttu Ahola
a2890529bf Very ugly LOD mechanism 2014-10-21 18:19:24 +03:00
Perttu Ahola
a32bf7ccf3 client/api: IntVector3 -> Vector3 2014-10-21 18:19:23 +03:00
Perttu Ahola
b85cc010bd client: buildat.get_time_us() 2014-10-21 18:19:23 +03:00
Perttu Ahola
0b76e363bd builtin/voxelworld: WIP: Separate buildat.set_voxel_physics_boxes() 2014-10-21 18:19:23 +03:00
Perttu Ahola
7f52b74fcb builtin/voxelworld, games/digger: WIP 2014-10-21 18:19:22 +03:00
Perttu Ahola
e491b36b68 client, lua_bindings: Support string data for set_simple_voxel_model() and set_8bit_voxel_geometry() 2014-10-21 18:19:21 +03:00
Perttu Ahola
610fe94d08 doc/todo: Module tags 2014-10-21 18:19:21 +03:00
Perttu Ahola
f12aa72bef client/api.lua: buildat.safe.IntVector3 2014-10-21 18:19:21 +03:00
Perttu Ahola
3530493f84 interface/mesh: set_8bit_voxel_geometry() - Definition-based voxel geometry generation with textures, utilizing texture atlases 2014-10-09 13:43:10 +03:00
Perttu Ahola
1b3a4182ab Fix coding style (previous attempt only touched header files) 2014-10-08 00:52:30 +03:00
Perttu Ahola
f55cbc7468 games/geometry, buildat.set_simple_voxel_model() 2014-10-06 07:59:39 +03:00
Perttu Ahola
fb51bc6cbe client: Allow loading module's module.lua via require("buildat/module/<name>") 2014-10-05 11:56:04 +03:00
Perttu Ahola
f9d2e825cc client: Fix loading of extensions (extensions were loaded twice; one instance for the sandbox and one for other extensions, which broke things) 2014-10-04 19:48:31 +03:00
Perttu Ahola
15e9dbcc95 Hack and rape everything so that everything works on Windows and Linux 2014-10-04 00:12:40 +03:00
Perttu Ahola
a001b1ba64 client: Clean interface to scene replication (hide the hack inside client/app and client/replication.lua) 2014-10-03 12:19:41 +03:00
Perttu Ahola
8c98b56653 client/default.pak: Delete unused Polycode resource file 2014-10-03 01:55:33 +03:00
Perttu Ahola
cb6b59ac41 WIP 2014-10-02 14:38:59 +03:00
Perttu Ahola
c6a88ac4ce WIP 2014-10-02 13:52:48 +03:00
Perttu Ahola
a0872fec6f client/sandbox.lua: Fix string concatenation when creating an error message 2014-09-29 23:47:16 +03:00
Perttu Ahola
ba42488bf8 extensions/sandbox_test: When loaded, start checking values at runtime as reported by magic_sandbox 2014-09-28 15:25:08 +03:00
Perttu Ahola
1148decb2a extensions/sandbox_test: Search for exploits in latest real sandbox environments and a test sandbox environment (KEY_F10) 2014-09-28 12:57:47 +03:00
Perttu Ahola
c54cda99ff client: Clean up logging 2014-09-28 00:44:45 +03:00
Perttu Ahola
94f94c0f0d client/extensions.lua: Put our Lua package loader first in package.loaders to get rid of unnecessary extension lookups in disallowed files 2014-09-27 23:38:48 +03:00
Perttu Ahola
3917701b47 client: Use sandboxed urho3d in extensions for interoperability with modules 2014-09-27 15:29:50 +03:00
Perttu Ahola
0965047f89 client: buildat.disconnect() 2014-09-27 09:58:16 +03:00
Perttu Ahola
6e8a85e51d client: buildat.extension_path(name) 2014-09-27 07:44:54 +03:00
Perttu Ahola
8f44b7490a buildat.connect_server(address) -> status, error 2014-09-26 16:36:14 +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
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