Commit Graph

11568 Commits (master)

Author SHA1 Message Date
mgerhardy 9ef9dccd9c BACKEND: introduced AICommon header for better controlling macros for simpleai 2016-04-18 20:37:08 +02:00
mgerhardy c78b78c2f7 CORE: ReadWriteLock supports detection deadlocks now 2016-04-17 22:01:53 +02:00
Martin Gerhardy bf57cda2a3 BACKEND: style - added brackets 2016-04-17 20:40:07 +02:00
Martin Gerhardy 0d7af5799c FRONTEND: todo comment 2016-04-17 20:39:42 +02:00
Martin Gerhardy fc1523f3ce BACKEND: inline peer() method 2016-04-17 20:39:31 +02:00
Martin Gerhardy 91d050ba8a BACKEND: don't create a copy of the position vector 2016-04-17 20:39:00 +02:00
Martin Gerhardy b90bfe8895 FRONTEND: renamed member 2016-04-17 20:20:24 +02:00
Martin Gerhardy 1eadae9be3 CLIENT: removed user id member 2016-04-17 20:19:54 +02:00
mgerhardy 1c7337ea76 CLIENT: removed PosLerp usage in the client - use the player's position 2016-04-17 12:27:36 +02:00
mgerhardy f6950a6de4 CLIENT: only send movement if there was a change 2016-04-17 12:22:51 +02:00
mgerhardy f6574f4c3a NETWORK: reuse some messages for npcs and users
we have to remove the generated messages from the repo at some point...
2016-04-17 12:18:26 +02:00
mgerhardy 90b0e32b82 DATA: character model
https://github.com/mikelovesrobots/mmmm
2016-04-17 08:29:16 +02:00
mgerhardy a764ba40d6 FRONTEND: use testFrustum for entities, as we currently don't have access to the real size 2016-04-16 21:23:27 +02:00
mgerhardy eeb683e3a9 VIDEO: added testFrustum for a point 2016-04-16 21:23:27 +02:00
mgerhardy 04f4f609f4 DATA: chicken mesh
http://opengameart.org/content/chicken-voxel
CC BY 3.0
2016-04-16 16:28:16 +02:00
mgerhardy 3b76b77ef5 FRONTEND: properly lerp the vistdistance 2016-04-16 15:54:13 +02:00
mgerhardy f301f40514 VIDEO: started to implement frustum culling 2016-04-16 15:30:39 +02:00
mgerhardy b0cb3e52b7 SHAPETOOL: extract new meshes around the camera while flying around 2016-04-16 14:18:28 +02:00
mgerhardy 831bc68eca VOXEL: renamed world ctx parameters for caves 2016-04-16 14:18:16 +02:00
mgerhardy a552ee6085 VOXEL: the generated caves are starting to look good 2016-04-16 14:05:00 +02:00
mgerhardy f98eae9495 VOXEL: disable 3d noise for now 2016-04-16 13:34:00 +02:00
mgerhardy b55116bfd8 VOXEL: work-in-progress noise3d 2016-04-16 13:04:12 +02:00
mgerhardy 0ffd2852bd SHAPETOOL: increase mouse speed 2016-04-16 13:03:44 +02:00
mgerhardy 0ff20620d1 NOISE: use noise::norm 2016-04-16 13:03:25 +02:00
mgerhardy 6c3e2aa686 VOXEL: fixed invalid amplitude context parameter usage 2016-04-16 12:49:42 +02:00
mgerhardy a6e78907f9 VOXEL: reduced code duplication 2016-04-16 11:49:21 +02:00
mgerhardy 92923946dc DOCS: added turbobadger widget docs 2016-04-15 22:35:08 +02:00
mgerhardy 6d9ea85195 VIDEO: camera rotation speed is no longer using the same variable as camera movement 2016-04-15 22:34:41 +02:00
mgerhardy 5509992fc5 UI: tweaked TurboBadger integration a little bit 2016-04-15 22:33:37 +02:00
mgerhardy 4592dad596 VOXEL: don't schedule extraction of touched (dirty) chunks
... if they were not already extracted
2016-04-13 20:05:50 +02:00
mgerhardy 4d45893bd7 VOXEL: convert chunk coorindates into world coordinates
... if we exceed the chunk boundaries
2016-04-13 20:55:23 +02:00
mgerhardy 4b2a2fb971 VOXEL/FRONTEND: support multiple height chunks
there is still a problem left that is connected to the dirty chunks that are
maintained if we modify a voxel out of the current chunk boundaries. It looks
like they are all drawn at 0,y,0
2016-04-12 22:28:33 +02:00
mgerhardy c8d26a0b7f FRONTEND: the gridpos conversion is done internally anyway 2016-04-12 22:20:49 +02:00
mgerhardy 8dee2e4c5d VOXEL: store a const ref - we never know what future voxel type will look like 2016-04-12 22:18:55 +02:00
mgerhardy 35bfe1b119 VOXEL: minor style stuff in IsQuadNeeded 2016-04-12 22:17:53 +02:00
mgerhardy 8ccfe37e9b VOXEL: cleanup in vector comparison 2016-04-12 22:17:03 +02:00
mgerhardy 2ca8391017 CORE: print some vector types that are used in the unittests 2016-04-12 22:16:38 +02:00
mgerhardy 6a5e630cca VOXEL: todo comment 2016-04-12 21:38:11 +02:00
mgerhardy ac03ee1a6c FRONTEND: in case a gl mesh already exists, just update it 2016-04-12 20:20:22 +02:00
mgerhardy c03903f2bf VOXEL: reextract dirty chunks 2016-04-12 20:14:33 +02:00
mgerhardy e5c364c11b VOXEL: typedef for PositionSet 2016-04-12 20:13:54 +02:00
mgerhardy e6568d3ff4 FRONTEND: updateMesh method 2016-04-12 20:13:50 +02:00
mgerhardy d3c96e62d1 VOXEL: introduced TerrainContext to keep the inteface a little bit more stable
once we switch to the octree creation, we don't have access to the chunk anymore
2016-04-12 20:11:22 +02:00
mgerhardy 8b3c448aaf VOXEL: introduced createVoxel 2016-04-12 20:11:19 +02:00
mgerhardy 36962364d4 CUBIQUITY: added cuGetVolumeTypeRet c api function
this allows us to use check the volume type in core_assert statements that aren't evaluated in release mode
2016-04-11 20:50:59 +02:00
mgerhardy ceaa2405fb CUBIQUITY: allow access to all bits of the color data type
there are still 16 bytes left (we don't alpha atm) in the colors bit storage

we will most likely use them for our voxel type (which already used 16bytes, too - so using quantized colors is
a win here, because we can even apply different colors from the cpu side to the same voxel type (quite useful
for e.g. leaves - were we right now have 10 different leave types)
2016-04-11 20:50:15 +02:00
mgerhardy cdd20c3f4a VIDEO: renamed GL_OFFSET to GL_OFFSET_CAST to avoid conflicts with GL_OFFSET from glext.h 2016-04-11 20:17:37 +02:00
mgerhardy 8c0ae7a133 FRONTEND: todo comment 2016-04-11 20:10:35 +02:00
mgerhardy 507fd90528 FRONTEND: use CU_UNKNOWN 2016-04-11 20:50:39 +02:00
mgerhardy 3bc842ef2b CUBIQUITY: don't allocate nodes on the fly - but with a hunk
the preallocated octree nodes size of the hunk must still be tweaked - currently the max amount of possible
nodes are pre-allocated - which is a waste of memory
2016-04-11 20:44:47 +02:00