155 Commits

Author SHA1 Message Date
Perttu Ahola
41cad62f6c server: Fix threading 2014-10-29 13:11:59 +02:00
Perttu Ahola
e630a27fec server/state: Fix file watching and module reload 2014-10-28 15:34:50 +02:00
Perttu Ahola
533c96e17d builtin: Switch to correct get_x() nullptr convention 2014-10-28 14:49:42 +02:00
Perttu Ahola
8172d15abc builtin/ground_plane_lighting: Add missing event routing to instances 2014-10-28 14:04:15 +02:00
Perttu Ahola
a32e09b9a7 games/digger/worldgen -> builtin/worldgen 2014-10-28 13:58:57 +02:00
Perttu Ahola
65aa149d68 builtin/ground_plane_lighting: Update to new scene handling 2014-10-28 13:56:30 +02:00
Perttu Ahola
4bfcd1057e builtin/voxelworld: Update to new scene handling 2014-10-28 13:56:30 +02:00
Perttu Ahola
3f6bcb6228 builtin/main_context, builtin/replicate: New multi-scene handling 2014-10-28 13:56:30 +02:00
Perttu Ahola
ee48a47094 core/log: Rename LOG_* to CORE_* so that they don't get mixed up by Urho3D's LOG_* constants 2014-10-28 09:31:15 +02:00
Perttu Ahola
261864ff42 builtin/voxelworld, games/digger: Way more robust startup sequence 2014-10-28 00:20:52 +02:00
Perttu Ahola
f2919b06bb Switch to using #define MODULE in modules, and rename Module::MODULE to Module::m_module_name 2014-10-27 16:01:23 +02:00
Perttu Ahola
b23830f79f builtin/main_context: Create Urho3D stuff in init() 2014-10-27 14:43:37 +02:00
Perttu Ahola
e17a761e84 builtin/ground_plane_lighting: Fix disallowed locking order 2014-10-27 14:43:37 +02:00
Perttu Ahola
b50656f505 Break coding style 2014-10-27 01:08:16 +02:00
Perttu Ahola
4937a83ac5 server: Run modules in separate threads 2014-10-27 01:01:47 +02:00
Perttu Ahola
89add42185 builtin/voxelworld: Send voxel registry to clients when modified 2014-10-27 01:01:06 +02:00
Perttu Ahola
ef6bb545dd builtin/voxelworld: Modify client-side initialization to not require call to init() 2014-10-27 01:01:06 +02:00
Perttu Ahola
eaaa55b1c7 Remove "#pragma GCC diagnostic" lines which became unnecessary when using include_directories(SYSTEM ...) 2014-10-25 12:22:49 +03:00
Perttu Ahola
5eab367a33 builtin/voxelworld: Keep track of total number of dirty buffers for fancier logging 2014-10-24 10:41:04 +03:00
Perttu Ahola
92ced8924e builtin/voxelworld/client: Listen to correct packet type (voxel updates weren't showing up due to this) 2014-10-24 10:40:32 +03:00
Perttu Ahola
a585388836 ground_plane_lighting, voxelworld, server: Tweak logging 2014-10-23 23:52:40 +03:00
Perttu Ahola
bf71c97d69 builtin/voxelworld: Name static nodes by chunk_p, not section_p+local_chunk_p 2014-10-23 23:08:36 +03:00
Perttu Ahola
0ca6cdd133 builtin/*: Lower the log level of relatively useless construct/destruct/init messages 2014-10-23 23:04:09 +03:00
Perttu Ahola
6384ff4d84 builtin/voxelworld: Use voxelworld:node_volume_updated instead of CommitHook for post-commit processing and continuously limit amount of loaded buffers 2014-10-23 19:30:33 +03:00
Perttu Ahola
917ef1b3ad Break coding style 2014-10-22 12:30:29 +03:00
Perttu Ahola
ae8592fb9a builtin/voxelworld: Use correct coordinate in static node names and also log the name 2014-10-22 11:53:54 +03:00
Perttu Ahola
455d509fec builtin/voxelworld/client: get_static_node/voxel(): Log at trace level instead of debug 2014-10-22 11:53:41 +03:00
Perttu Ahola
9ef4bedf5f builtin/replicate: Fix crash when logging at debug or trace levels 2014-10-22 11:53:41 +03:00
Perttu Ahola
9921211cd0 impl/mesh, builtin/voxelworld: Fix alignment of everything 2014-10-22 01:26:03 +03:00
Perttu Ahola
2e4a1b3ed8 Rename VoxelInstance::getId() to VoxelInstance::get_id() 2014-10-21 19:08:57 +03:00
Perttu Ahola
d8a061f2b4 builtin/ground_plane_lighting: Remove unused code 2014-10-21 18:45:01 +03:00
Perttu Ahola
f586695112 builtin/voxelworld: Use replicate::Interface::sync_node_immediate() 2014-10-21 18:19:27 +03:00
Perttu Ahola
ae3a46f0ea builtin/replicate: sync_node_immediate() 2014-10-21 18:19:27 +03:00
Perttu Ahola
73ce0fc8c2 builtin/loader: Buffer names of modules that should be reloaded until modules aren't being modified for a period of time, and then reload them 2014-10-21 18:19:27 +03:00
Perttu Ahola
9dc83df6aa builtin/voxelworld/client: Cache static voxel nodes 2014-10-21 18:19:27 +03:00
Perttu Ahola
4c8d3eed2c builtin/ground_plane_lighting: Remove excessive logging 2014-10-21 18:19:27 +03:00
Perttu Ahola
6c6faa2eb6 builtin/voxelworld/client: Cache node volumes 2014-10-21 18:19:27 +03:00
Perttu Ahola
619163b7ef builtin/voxelworld: Split voxelworld.get_static_voxel() to multiple functions 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
4fb4742c88 WIP 2014-10-21 18:19:27 +03:00
Perttu Ahola
265860cf62 WIP 2014-10-21 18:19:27 +03:00
Perttu Ahola
813bfe79a3 impl/voxel_volume.cpp: Clean up and fix stuff 2014-10-21 18:19:27 +03:00
Perttu Ahola
d5c0bed9c6 WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola
4313287a10 Move stuff from games/digger to builtin/ground_plane_lighting 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
aff341b135 builtin/voxelworld, games/digger: Proper synchronization for using voxelworld's registries on the client 2014-10-21 18:19:26 +03:00
Perttu Ahola
17b09fabdb games/digger: Use voxelworld's voxel/atlas_reg for custom node 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