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
|
c19afaaca6
|
server/state: Call module->init() in module thread
|
2014-10-27 14:43:37 +02:00 |
|
Perttu Ahola
|
490b25ae48
|
impl/thread: Use std::atomic_bool
|
2014-10-27 14:43:37 +02:00 |
|
Perttu Ahola
|
b23a2348ad
|
core/log: Use std::atomic
|
2014-10-27 14:43:37 +02:00 |
|
Perttu Ahola
|
dd2bce22e5
|
Revert "README.md: -DURHO3D_ENFORCE_SINGLE_THREAD=false"
This reverts commit 77406b2609a43cbf1d69ea013ac8a0e878984ecf.
This isn't needed due to changes in interface::Server::access_module().
|
2014-10-27 14:43:37 +02:00 |
|
Perttu Ahola
|
209301b772
|
server/state: Run access_module()'s callback in target module's thread
|
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
|
6a4d225092
|
interface/thread,thread_pool: Allow setting thread name
|
2014-10-27 14:43:37 +02:00 |
|
Perttu Ahola
|
77406b2609
|
README.md: -DURHO3D_ENFORCE_SINGLE_THREAD=false
|
2014-10-27 11:26:52 +02:00 |
|
Perttu Ahola
|
76e3222e35
|
games/digger: Move world generation and voxel definitions to the worldgen module so that it can slowly generate the world while the main module is always responsive towards clients
|
2014-10-27 01:18:55 +02:00 |
|
Perttu Ahola
|
b50656f505
|
Break coding style
|
2014-10-27 01:08:16 +02:00 |
|
Perttu Ahola
|
8c864c6ac9
|
lua_bindings/mesh: Trigger Urho3D Octree update by using cg->SetZoneMask(magic::DEFAULT_ZONEMASK)
|
2014-10-27 01:01:47 +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
|
2404a15af4
|
interface/voxel: VoxelRegistry dirty flag
|
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
|
1291d08c32
|
client/sandbox.lua: Whitelist error()
|
2014-10-27 01:01:06 +02:00 |
|
Perttu Ahola
|
e99f96b334
|
doc/whynot: Something about module instances
|
2014-10-26 13:03:14 +02:00 |
|
Perttu Ahola
|
3213a7f27d
|
server: Move stuff to magic_event_handler.{h,cpp}
|
2014-10-26 12:52:29 +02:00 |
|
Perttu Ahola
|
ab1b49cf6b
|
server: Move stuff to rccpp_util.{h,cpp}
|
2014-10-26 12:48:08 +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
|
4031efc230
|
interface/event: Use shared pointer so that events can be copied
|
2014-10-24 13:15:04 +03:00 |
|
Perttu Ahola
|
35d76b2de6
|
doc/todo
|
2014-10-24 10:53:24 +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
|
b60cad6889
|
server/state: Avoid access to freed memory when reloading a module
|
2014-10-24 10:39: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
|
697e038c55
|
server: Redirect Urho3D's log messages to Buildat's log system
|
2014-10-23 23:04:45 +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
|
589c1d16ad
|
server/state: Don't cause so many useless warnings by trying to hash inexisting include files
|
2014-10-23 21:59:34 +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
|
9fc9f846e2
|
games/digger: Use force-based player movement
|
2014-10-23 13:59:28 +03:00 |
|
Perttu Ahola
|
92458464b8
|
doc/{design,todo}
|
2014-10-23 11:44:12 +03:00 |
|
Perttu Ahola
|
252119e9cd
|
3rdparty/luabind-deboostified/luabind/pointer_traits.hpp: #include <stdexcept> (needed on some compilers)
|
2014-10-22 23:13:49 +03:00 |
|
Perttu Ahola
|
6e2ea8c499
|
Fix various build issues on Linux systems
|
2014-10-22 23:10:54 +03:00 |
|
Perttu Ahola
|
b70bd0b202
|
doc/todo
|
2014-10-22 21:39:56 +03:00 |
|
Perttu Ahola
|
450e367e25
|
Fix Windows build
|
2014-10-22 14:15:52 +03:00 |
|
Perttu Ahola
|
8fca0d63e6
|
doc/todo: Update
|
2014-10-22 12:39:48 +03:00 |
|
Perttu Ahola
|
917ef1b3ad
|
Break coding style
|
2014-10-22 12:30:29 +03:00 |
|
Perttu Ahola
|
b033ac78b2
|
client/state: Log possible replication overwrites of nodes and components
|
2014-10-22 11:55:55 +03:00 |
|
Perttu Ahola
|
c5efd6594a
|
lua_bindings/mesh: Create all components with mode=LOCAL (fixes things)
|
2014-10-22 11:55:55 +03:00 |
|
Perttu Ahola
|
a38440780d
|
doc: Remove old issues and add a note about CreateMode (the LOCAL/REPLICATED thing)
|
2014-10-22 11:55:38 +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
|
f9cabdb8d8
|
client/init.lua, lua_bindings/misc: buildat.Logger:trace()
|
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
|
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 |
|