Commit Graph

178 Commits (master)

Author SHA1 Message Date
Perttu Ahola c645fea5cd builtin/worldgen: Fix some kind of issue that killed the generator thread 2014-11-03 17:15:34 +02:00
Perttu Ahola 4f9939c547 Fix coding style 2014-11-02 16:04:11 +02:00
Perttu Ahola 24ac1d7fbc Fix coding style 2014-11-01 22:55:43 +02:00
Perttu Ahola 52b9031100 Fix coding style 2014-11-01 22:08:53 +02:00
Perttu Ahola 3cb57eaee4 Fix Windows build 2014-10-31 11:21:47 +02:00
Perttu Ahola a1610d5203 interface/os: get_timeofday_us() -> time_us() 2014-10-30 22:21:34 +02:00
Perttu Ahola bd4219d7bd interface/thread: ThreadedThing::on_crash() and some server/state crash handling improvements 2014-10-30 17:14:28 +02:00
Perttu Ahola 873213aae9 core/types, doc/conventions, builtin: NullptrCatch 2014-10-30 07:08:03 +02:00
Perttu Ahola cb0f3f1d77 builtin/ground_plane_lighting: Catch common nullptr dereference 2014-10-30 03:30:36 +02:00
Perttu Ahola 674146f8c7 builtin/network, builtin/client_file: Don't start thread in constructor because in there the module is not guaranteed to be available by server->access_module(), which the thread uses 2014-10-30 02:24:02 +02:00
Perttu Ahola cb403add89 builtin/network: network::PeerId 2014-10-30 00:37:56 +02:00
Perttu Ahola 77c9c9173d builtin/voxelworld/client: Fix get_static_voxel() when in uninitialized state 2014-10-30 00:04:31 +02:00
Perttu Ahola bde862d05c builtin/ground_plane_lighting: Handle scene deletions 2014-10-29 23:46:03 +02:00
Perttu Ahola e5a6f452df builtin/voxelworld/client: get_chunk_position(): Return nil instead of error() 2014-10-29 22:32:19 +02:00
Perttu Ahola 7ebce17fbd builtin/main_context: Fix scene reference handling 2014-10-29 21:33:20 +02:00
Perttu Ahola 8590d0b482 builtin/voxelworld: Fix invalid memory access 2014-10-29 20:07:31 +02:00
Perttu Ahola 4a0f90358c builtin/replicate: Don't spam core:tick events to log 2014-10-29 19:54:35 +02:00
Perttu Ahola ca97c7ac78 builtin/loader: Don't assume directories are modules unless they contain a file named meta.json 2014-10-29 19:50:15 +02:00
Perttu Ahola 8244bac731 builtin/voxelworld: Move world region to be decided by caller 2014-10-29 19:13:09 +02:00
Perttu Ahola 75e0ae5cbf interface/fs: Remove crazy 2014-10-29 17:28:41 +02:00
Perttu Ahola 86976cbc6c builtin/replicate,voxelworld: Initialize existing peers on scene at voxelworld instance creation 2014-10-29 13:30:35 +02:00
Perttu Ahola 82e0ff612a New base for a configuration system 2014-10-29 13:19:23 +02:00
Perttu Ahola 10a6685c29 builtin/replicate: Fix possible data race 2014-10-29 13:12:05 +02:00
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