523 Commits

Author SHA1 Message Date
Perttu Ahola
f64adf35d6 Fix coding style 2014-10-21 18:19:25 +03:00
Perttu Ahola
ad528c2443 util/codestyle.sh: Fix uncrustify's parameter lambda comment indentation using sed 2014-10-21 18:19:25 +03:00
Perttu Ahola
03cfa56831 util/uncrusfity.cfg: indent_cmt_with_tabs = true -> false; this isn't ideal but it's still better than the alternative 2014-10-21 18:19:25 +03:00
Perttu Ahola
12465d8e3b everything: voxelworld::Interface::set_voxel() and everything from there to updating geometry and physics on the client 2014-10-21 18:19:25 +03:00
Perttu Ahola
8f196bb0e6 client/main, server/main: -L redirects log to a specified file 2014-10-21 18:19:25 +03:00
Perttu Ahola
ef8237e265 server/state: Add server::State::handle_events to Urho3D profiler 2014-10-21 18:19:25 +03:00
Perttu Ahola
a6e77fab36 doc/design.txt: The issue about user variable updates 2014-10-21 18:19:24 +03:00
Perttu Ahola
29add321de extensions/urho3d/safe_events.lua: Add some mouse events 2014-10-21 18:19:24 +03:00
Perttu Ahola
84ce4ad2d1 builtin/voxelworld: set_voxel() and some kind of dumb reload handling 2014-10-21 18:19:24 +03:00
Perttu Ahola
9ece9020e0 builtin/voxelworld: Fix lazy physics updates 2014-10-21 18:19:24 +03:00
Perttu Ahola
74c835a077 games/digger: Back to previous player size 2014-10-21 18:19:24 +03:00
Perttu Ahola
ed741ed353 games/digger: Fix flying trees 2014-10-21 18:19:24 +03:00
Perttu Ahola
6967ff6c9f client, builtin/voxelworld: Add voxelworld updates to profiler 2014-10-21 18:19:24 +03:00
Perttu Ahola
f412ac256d builtin/voxelworld: Lazy node physics update 2014-10-21 18:19:24 +03:00
Perttu Ahola
1805a3e02f builtin/voxelworld, games/digger: Speed up voxelworld::Interface::set_voxel() by various means 2014-10-21 18:19:24 +03:00
Perttu Ahola
f052367b0c doc 2014-10-21 18:19:24 +03:00
Perttu Ahola
dbd7e793f7 builtin/loader: Don't try to load files in main module path as modules 2014-10-21 18:19:24 +03:00
Perttu Ahola
be1bd720be LOD stuff: Tune weights and add 4 -> clip out trigger 2014-10-21 18:19:24 +03:00
Perttu Ahola
b3d4e928f0 doc 2014-10-21 18:19:24 +03:00
Perttu Ahola
a905b7ed05 games/digger: 2x higher player with rouching 2014-10-21 18:19:24 +03:00
Perttu Ahola
29c9515d15 games/digger: Switch back to old starting direction 2014-10-21 18:19:24 +03:00
Perttu Ahola
9270fd43c0 doc 2014-10-21 18:19:24 +03:00
Perttu Ahola
bed240bc89 LOD stuff: Switch default LOD_DISTANCE from 100 to 80 to get more FPS 2014-10-21 18:19:24 +03:00
Perttu Ahola
110812af6c LOD stuff 2014-10-21 18:19:24 +03:00
Perttu Ahola
503a83ea72 games/digger, builtin/voxelworld: add leaves.png; change grass.png 2014-10-21 18:19:24 +03:00
Perttu Ahola
a54ab428ba games/digger/main/main.cpp: Generate trees and wider terrain 2014-10-21 18:19:24 +03:00
Perttu Ahola
fee49fc938 extensions/urho3d/safe_classes.lua: Quaternion 2014-10-21 18:19:24 +03:00
Perttu Ahola
33a9c146b5 games/digger/main: Generate a spherical hole in the ground 2014-10-21 18:19:24 +03:00
Perttu Ahola
125bbd8fae builtin/voxelworld: Clear voxel geometry and physics boxes when camera moves far from them 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
1728d15b43 builtin/voxelworld: Remove slow Lua implementation of SpatialUpdateQueue and use higher max_operations 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
9ca7697f7e client, sandbox_test: Make things toggleable via F10 instead of just being launchable 2014-10-21 18:19:23 +03:00
Perttu Ahola
6115d92f3f builtin/voxelworld, games/digger: WIP 2014-10-21 18:19:23 +03:00
Perttu Ahola
6d26d3144d extensions/urho3d: Scene:GetNode() 2014-10-21 18:19:23 +03:00
Perttu Ahola
a32bf7ccf3 client/api: IntVector3 -> Vector3 2014-10-21 18:19:23 +03:00
Perttu Ahola
d3440d171a server/main: Tick server at physics FPS (which is 30) 2014-10-21 18:19:23 +03:00
Perttu Ahola
27c72d707c server/state: Set some PhysicsWorld parameters 2014-10-21 18:19:23 +03:00
Perttu Ahola
e42cd2a600 server/main: Log Urho3D profiler output: Less braindead timing 2014-10-21 18:19:23 +03:00
Perttu Ahola
541a7fc70a server/main: Log Urho3D profiler output 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
73a7dc9345 builtin/voxelworld/client_lua/module.lua: Move stuff from old queue to new queue one portion at a time to keep a steady framerate 2014-10-21 18:19:23 +03:00
Perttu Ahola
e8e7fa63dd builtin/voxelworld/client_lua/module.lua: Optimize spatial update prioritization queue 2014-10-21 18:19:23 +03:00
Perttu Ahola
93661819b3 games/digger/main: Delay setting player's mass so that it's possible to wait for the world to load before dropping into it 2014-10-21 18:19:23 +03:00
Perttu Ahola
4c72b310f4 impl/mesh: Add collision shapes as local components as they are useless on the client when added by the server 2014-10-21 18:19:23 +03:00
Perttu Ahola
333e7749b1 games/digger/main: Make code thread-safe 2014-10-21 18:19:23 +03:00
Perttu Ahola
9d463c7319 builtin/voxelworld: WIP 2014-10-21 18:19:23 +03:00
Perttu Ahola
edb1008f80 builtin/voxelworld, impl/mesh,voxel: Remove TextureAtlasRegistry from VoxelRegistry 2014-10-21 18:19:23 +03:00
Perttu Ahola
6a82e1fee7 builtin/voxelworld: WIP: Set player direction 2014-10-21 18:19:23 +03:00