]> git.localhorst.tv Git - blank.git/log
blank.git
9 years agoupdate entity model on state change
Daniel Karbach [Thu, 22 Oct 2015 09:39:58 +0000 (11:39 +0200)]
update entity model on state change

9 years agofix client's player entity ID
Daniel Karbach [Thu, 22 Oct 2015 09:28:21 +0000 (11:28 +0200)]
fix client's player entity ID

you shall not flicker

9 years agotreat head pitch and yaw as entity state
Daniel Karbach [Thu, 22 Oct 2015 07:25:41 +0000 (09:25 +0200)]
treat head pitch and yaw as entity state

9 years agoget rid of angular velocity
Daniel Karbach [Wed, 21 Oct 2015 13:33:37 +0000 (15:33 +0200)]
get rid of angular velocity

orientation will be managed solely by controllers (ai/animation/input/etc)

9 years agocompress protocol a little
Daniel Karbach [Wed, 21 Oct 2015 12:47:14 +0000 (14:47 +0200)]
compress protocol a little

9 years agoserver: notify clients of player joins/parts
Daniel Karbach [Wed, 21 Oct 2015 07:42:41 +0000 (09:42 +0200)]
server: notify clients of player joins/parts

9 years agoserver: distribute received messages to clients
Daniel Karbach [Wed, 21 Oct 2015 07:19:03 +0000 (09:19 +0200)]
server: distribute received messages to clients

9 years ago(shabby) client side handling of messages
Daniel Karbach [Tue, 20 Oct 2015 15:40:30 +0000 (17:40 +0200)]
(shabby) client side handling of messages

9 years agoadded message packet
Daniel Karbach [Tue, 20 Oct 2015 15:20:58 +0000 (17:20 +0200)]
added message packet

9 years agochat state
Daniel Karbach [Tue, 20 Oct 2015 14:45:26 +0000 (16:45 +0200)]
chat state

standalone only atm

9 years agouniform background for message box
Daniel Karbach [Tue, 20 Oct 2015 10:11:13 +0000 (12:11 +0200)]
uniform background for message box

9 years agorenamed OutlineMesh -> PrimitiveMesh
Daniel Karbach [Tue, 20 Oct 2015 09:40:07 +0000 (11:40 +0200)]
renamed OutlineMesh -> PrimitiveMesh

now it can be used for lines and surfaces

and with alpha blending

9 years agouse eye transform for client rendering
Daniel Karbach [Mon, 19 Oct 2015 15:21:41 +0000 (17:21 +0200)]
use eye transform for client rendering

9 years agorestore orientation on player load
Daniel Karbach [Mon, 19 Oct 2015 15:21:02 +0000 (17:21 +0200)]
restore orientation on player load

only works for yaw, obviously

9 years agobetter stability of collision response
Daniel Karbach [Mon, 19 Oct 2015 14:45:46 +0000 (16:45 +0200)]
better stability of collision response

9 years agoapply pitch to head instead of body
Daniel Karbach [Mon, 19 Oct 2015 13:21:17 +0000 (15:21 +0200)]
apply pitch to head instead of body

9 years agouse entity's eyes to aim
Daniel Karbach [Mon, 19 Oct 2015 12:36:16 +0000 (14:36 +0200)]
use entity's eyes to aim

also squashed some assets

9 years agouse seconds as world time unit
Daniel Karbach [Mon, 19 Oct 2015 10:43:19 +0000 (12:43 +0200)]
use seconds as world time unit

9 years agopenalty force collision response
Daniel Karbach [Mon, 19 Oct 2015 09:45:33 +0000 (11:45 +0200)]
penalty force collision response

feels kinda funny, let's see how it pans out

9 years agouse "forces" for entity control and RK4 integrator
Daniel Karbach [Fri, 16 Oct 2015 14:33:52 +0000 (16:33 +0200)]
use "forces" for entity control and RK4 integrator

9 years agoblock sounds depending on block type
Daniel Karbach [Fri, 16 Oct 2015 07:15:55 +0000 (09:15 +0200)]
block sounds depending on block type

well, potentially

9 years agolil cleanup of common and unused stuff
Daniel Karbach [Thu, 15 Oct 2015 14:59:08 +0000 (16:59 +0200)]
lil cleanup of common and unused stuff

9 years agoinvalidate meshes if surrounding chunks on insert
Daniel Karbach [Thu, 15 Oct 2015 13:41:31 +0000 (15:41 +0200)]
invalidate meshes if surrounding chunks on insert

this should fix the dark seams on chunk borders

9 years agoload models from assets
Daniel Karbach [Thu, 15 Oct 2015 12:02:36 +0000 (14:02 +0200)]
load models from assets

9 years agostore shapes in models rather than meshes
Daniel Karbach [Wed, 14 Oct 2015 15:25:22 +0000 (17:25 +0200)]
store shapes in models rather than meshes

9 years agolinear model instance state
Daniel Karbach [Wed, 14 Oct 2015 10:28:40 +0000 (12:28 +0200)]
linear model instance state

9 years agoupdated todo file
Daniel Karbach [Tue, 13 Oct 2015 15:10:50 +0000 (17:10 +0200)]
updated todo file

those two typos have been bugging me for a long time now

9 years agouse (and fix) new shape implementation
Daniel Karbach [Tue, 13 Oct 2015 14:59:15 +0000 (16:59 +0200)]
use (and fix) new shape implementation

9 years agoactually load shapes
Daniel Karbach [Tue, 13 Oct 2015 12:38:30 +0000 (14:38 +0200)]
actually load shapes

load, not use :P

9 years ago(data) shape prototype
Daniel Karbach [Mon, 12 Oct 2015 15:46:02 +0000 (17:46 +0200)]
(data) shape prototype

9 years agorenamed Shape -> CollisionBounds
Daniel Karbach [Mon, 12 Oct 2015 14:18:01 +0000 (16:18 +0200)]
renamed Shape -> CollisionBounds

et al

9 years agocomposite model is the canonical model
Daniel Karbach [Mon, 12 Oct 2015 12:15:06 +0000 (14:15 +0200)]
composite model is the canonical model

9 years agomodel -> mesh
Daniel Karbach [Mon, 12 Oct 2015 08:22:17 +0000 (10:22 +0200)]
model -> mesh

9 years agofix entity shader
Daniel Karbach [Mon, 12 Oct 2015 07:43:27 +0000 (09:43 +0200)]
fix entity shader

oops

9 years agomerge chunk requester into receiver
Daniel Karbach [Fri, 9 Oct 2015 14:14:34 +0000 (16:14 +0200)]
merge chunk requester into receiver

it won't request anything either since the server decides
which chunks the client gets

9 years agoallow hsl color shifts for blocks and entities
Daniel Karbach [Fri, 9 Oct 2015 13:28:44 +0000 (15:28 +0200)]
allow hsl color shifts for blocks and entities

also: better defaults for block types

9 years agofunction to get mtime
Daniel Karbach [Fri, 9 Oct 2015 08:32:03 +0000 (10:32 +0200)]
function to get mtime

9 years agotransmit chunks in growing sphere order
Daniel Karbach [Fri, 9 Oct 2015 07:55:31 +0000 (09:55 +0200)]
transmit chunks in growing sphere order

9 years agorearrange init of standalone state a little
Daniel Karbach [Thu, 8 Oct 2015 07:23:38 +0000 (09:23 +0200)]
rearrange init of standalone state a little

9 years agolast resort lighting on render
Daniel Karbach [Thu, 8 Oct 2015 06:50:12 +0000 (08:50 +0200)]
last resort lighting on render

9 years agomerge common parts of pre- and unload states
Daniel Karbach [Thu, 8 Oct 2015 15:39:25 +0000 (17:39 +0200)]
merge common parts of pre- and unload states

9 years agoinitialize packet control in test
Daniel Karbach [Wed, 7 Oct 2015 20:30:01 +0000 (22:30 +0200)]
initialize packet control in test

oO

9 years agomove serverside joining from state to server
Daniel Karbach [Wed, 7 Oct 2015 15:38:13 +0000 (17:38 +0200)]
move serverside joining from state to server

9 years agodon't unload dangling chunks until they're saved
Daniel Karbach [Wed, 7 Oct 2015 15:37:14 +0000 (17:37 +0200)]
don't unload dangling chunks until they're saved

9 years agohandle events in headless environment
Daniel Karbach [Wed, 7 Oct 2015 15:36:16 +0000 (17:36 +0200)]
handle events in headless environment

9 years agosped up chunk generation a little
Daniel Karbach [Wed, 7 Oct 2015 13:52:15 +0000 (15:52 +0200)]
sped up chunk generation a little

9 years agorandom stuff
Daniel Karbach [Tue, 6 Oct 2015 15:21:52 +0000 (17:21 +0200)]
random stuff

pun intended

9 years agoread preferences from user config file
Daniel Karbach [Mon, 5 Oct 2015 15:32:01 +0000 (17:32 +0200)]
read preferences from user config file

9 years agoallow dots in identifiers
Daniel Karbach [Mon, 5 Oct 2015 15:31:18 +0000 (17:31 +0200)]
allow dots in identifiers

anywhere except at the beginning

9 years agomoar blocks
Daniel Karbach [Mon, 5 Oct 2015 15:17:04 +0000 (17:17 +0200)]
moar blocks

9 years agomore parameters for world generation
Daniel Karbach [Sat, 3 Oct 2015 17:00:24 +0000 (19:00 +0200)]
more parameters for world generation

world generation changed, so previous world might look weird on
transitions between old and new generation

well, weirder than usual, anyway

if that's possible

well, it is, but probably not like this

9 years agomove spawn index out of world
Daniel Karbach [Fri, 2 Oct 2015 14:54:52 +0000 (16:54 +0200)]
move spawn index out of world

client doesn't need those

9 years agobasic message state
Daniel Karbach [Fri, 2 Oct 2015 13:19:58 +0000 (15:19 +0200)]
basic message state

not very versatile, but oh well

9 years agoplans for world generation
Daniel Karbach [Thu, 1 Oct 2015 15:33:23 +0000 (17:33 +0200)]
plans for world generation

9 years agoalso simulate world collisions in replay
Daniel Karbach [Thu, 1 Oct 2015 14:07:15 +0000 (16:07 +0200)]
also simulate world collisions in replay

9 years agostore players in world save
Daniel Karbach [Thu, 1 Oct 2015 13:22:31 +0000 (15:22 +0200)]
store players in world save

9 years agoexchange block updates with clients
Daniel Karbach [Thu, 1 Oct 2015 11:20:54 +0000 (13:20 +0200)]
exchange block updates with clients

9 years agotransmit player input from client to server
Daniel Karbach [Thu, 1 Oct 2015 10:30:54 +0000 (12:30 +0200)]
transmit player input from client to server

9 years agofixed some initialization issues
Daniel Karbach [Tue, 29 Sep 2015 17:47:09 +0000 (19:47 +0200)]
fixed some initialization issues

9 years agoconfig IO
Daniel Karbach [Tue, 29 Sep 2015 15:48:44 +0000 (17:48 +0200)]
config IO

9 years agosplit input handling
Daniel Karbach [Tue, 29 Sep 2015 15:10:37 +0000 (17:10 +0200)]
split input handling

this should make way for networking input

also, a lot lot lot of mess has piled up that needs cleaning

9 years agomove standalone stuff to its own dir
Daniel Karbach [Mon, 28 Sep 2015 08:11:13 +0000 (10:11 +0200)]
move standalone stuff to its own dir

9 years agooutput functions for SDL events
Daniel Karbach [Fri, 25 Sep 2015 13:59:30 +0000 (15:59 +0200)]
output functions for SDL events

9 years agomove todo file to docs directory
Daniel Karbach [Fri, 25 Sep 2015 07:26:48 +0000 (09:26 +0200)]
move todo file to docs directory

and stupid caps, what was I thinking

9 years agofix this whole sky box mess
Daniel Karbach [Thu, 24 Sep 2015 10:37:15 +0000 (12:37 +0200)]
fix this whole sky box mess

9 years agosome skybox experiments
Daniel Karbach [Wed, 23 Sep 2015 16:21:48 +0000 (18:21 +0200)]
some skybox experiments

it's soooooo small :(

9 years agosky box model & shader
Daniel Karbach [Wed, 23 Sep 2015 15:07:05 +0000 (17:07 +0200)]
sky box model & shader

9 years agocube map textures
Daniel Karbach [Wed, 23 Sep 2015 09:41:39 +0000 (11:41 +0200)]
cube map textures

9 years agoeven more packet tests
Daniel Karbach [Wed, 23 Sep 2015 07:15:13 +0000 (09:15 +0200)]
even more packet tests

9 years agounit test for EntityUpdate packet
Daniel Karbach [Tue, 22 Sep 2015 06:53:53 +0000 (08:53 +0200)]
unit test for EntityUpdate packet

wow, this one actually helped. what happened?

9 years agofix EntityUpdate packet length
Daniel Karbach [Tue, 22 Sep 2015 06:44:15 +0000 (08:44 +0200)]
fix EntityUpdate packet length

9 years agomore unit tests for Packet
Daniel Karbach [Mon, 21 Sep 2015 07:02:01 +0000 (09:02 +0200)]
more unit tests for Packet

9 years agokeep track of packet loss
Daniel Karbach [Sun, 20 Sep 2015 16:09:29 +0000 (18:09 +0200)]
keep track of packet loss

9 years agoer, didn't mean to kill all communication ^^
Daniel Karbach [Sun, 20 Sep 2015 15:50:09 +0000 (17:50 +0200)]
er, didn't mean to kill all communication ^^

9 years agogive network players a model
Daniel Karbach [Sun, 20 Sep 2015 15:07:56 +0000 (17:07 +0200)]
give network players a model

9 years agoinitialize Audio::last_free
Daniel Karbach [Sat, 19 Sep 2015 11:26:41 +0000 (13:26 +0200)]
initialize Audio::last_free

oops

9 years agoinvalidate chunks after receiving
Daniel Karbach [Sat, 19 Sep 2015 11:19:37 +0000 (13:19 +0200)]
invalidate chunks after receiving

9 years agogroup entity updates in as few packets as possible
Daniel Karbach [Fri, 18 Sep 2015 14:41:53 +0000 (16:41 +0200)]
group entity updates in as few packets as possible

9 years agofixed int rollover in client entity update
Daniel Karbach [Fri, 18 Sep 2015 14:21:52 +0000 (16:21 +0200)]
fixed int rollover in client entity update

9 years agomove server and client stuff around
Daniel Karbach [Fri, 18 Sep 2015 13:01:21 +0000 (15:01 +0200)]
move server and client stuff around

9 years agocache chunks received by the client
Daniel Karbach [Fri, 18 Sep 2015 10:45:24 +0000 (12:45 +0200)]
cache chunks received by the client

cache is not synced with the server atm

9 years agosome unit tests for Packet et al
Daniel Karbach [Thu, 17 Sep 2015 20:20:47 +0000 (22:20 +0200)]
some unit tests for Packet et al

9 years agomore packet introspection from payload
Daniel Karbach [Thu, 17 Sep 2015 20:20:00 +0000 (22:20 +0200)]
more packet introspection from payload

or is that "extrospection"? ^^

9 years agotransmit chunks from server to client
Daniel Karbach [Thu, 17 Sep 2015 09:23:19 +0000 (11:23 +0200)]
transmit chunks from server to client

for now, the server decides which chunks to send

later on, the client should request chunks from the server
with an optional cache tag to avoid unnecessary transmission

9 years agofixed old packet acks
Daniel Karbach [Thu, 17 Sep 2015 15:47:20 +0000 (17:47 +0200)]
fixed old packet acks

yeah, backwards is backwards -.-

9 years agosecond attempt at "nice" client state correction
Daniel Karbach [Wed, 16 Sep 2015 09:46:58 +0000 (11:46 +0200)]
second attempt at "nice" client state correction

9 years agosome experiements with state sync
Daniel Karbach [Tue, 15 Sep 2015 15:47:15 +0000 (17:47 +0200)]
some experiements with state sync

9 years agoadd packet for merging player state back to client
Daniel Karbach [Mon, 14 Sep 2015 15:44:35 +0000 (17:44 +0200)]
add packet for merging player state back to client

also, part of the merge procedure is already in place

9 years agogrouped entity physics state into a struct
Daniel Karbach [Mon, 14 Sep 2015 13:15:59 +0000 (15:15 +0200)]
grouped entity physics state into a struct

9 years agomove client update throttling to state
Daniel Karbach [Mon, 14 Sep 2015 10:49:39 +0000 (12:49 +0200)]
move client update throttling to state

9 years agofix block placement
Daniel Karbach [Mon, 14 Sep 2015 07:11:32 +0000 (09:11 +0200)]
fix block placement

9 years agobetter control over entity update transmission
Daniel Karbach [Fri, 11 Sep 2015 14:59:35 +0000 (16:59 +0200)]
better control over entity update transmission

9 years agosend entity visual from server to client
Daniel Karbach [Thu, 10 Sep 2015 15:44:24 +0000 (17:44 +0200)]
send entity visual from server to client

9 years agofix loop removing players from world
Daniel Karbach [Thu, 10 Sep 2015 15:14:21 +0000 (17:14 +0200)]
fix loop removing players from world

9 years agofix server state update
Daniel Karbach [Thu, 10 Sep 2015 15:13:52 +0000 (17:13 +0200)]
fix server state update

9 years agosplit chunk stuff
Daniel Karbach [Wed, 9 Sep 2015 19:43:42 +0000 (21:43 +0200)]
split chunk stuff

storage, indexing, redering, loading, etc are now all separated
so the different states can pull in what they need and it's more
flexible and makes way for some optimizations as well

9 years agosplit graphics stuff from AI spawner
Daniel Karbach [Tue, 8 Sep 2015 14:12:31 +0000 (16:12 +0200)]
split graphics stuff from AI spawner

9 years agofix special case in rng
Daniel Karbach [Tue, 8 Sep 2015 14:01:08 +0000 (16:01 +0200)]
fix special case in rng

9 years agosync entities with clients
Daniel Karbach [Tue, 8 Sep 2015 09:55:00 +0000 (11:55 +0200)]
sync entities with clients

9 years agoalso tell connection handlers about ack'd packets
Daniel Karbach [Mon, 7 Sep 2015 14:37:43 +0000 (16:37 +0200)]
also tell connection handlers about ack'd packets