]> git.localhorst.tv Git - blank.git/log
blank.git
8 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

8 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

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

it's soooooo small :(

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

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

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

8 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?

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

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

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

8 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 ^^

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

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

oops

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

8 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

8 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

8 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

8 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

8 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

8 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"? ^^

8 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

8 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 -.-

8 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

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

8 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

8 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

8 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

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

8 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

8 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

8 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

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

8 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

8 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

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

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

8 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

8 years agosend player updates from client to server
Daniel Karbach [Sat, 5 Sep 2015 14:16:45 +0000 (16:16 +0200)]
send player updates from client to server

8 years agomake server aware connected clients' player entity
Daniel Karbach [Sat, 5 Sep 2015 13:45:11 +0000 (15:45 +0200)]
make server aware connected clients' player entity

8 years agoadjust player index if entity is removed
Daniel Karbach [Sat, 5 Sep 2015 12:56:49 +0000 (14:56 +0200)]
adjust player index if entity is removed

8 years agodocumented packet structure
Daniel Karbach [Sat, 5 Sep 2015 12:56:40 +0000 (14:56 +0200)]
documented packet structure

8 years agogive unique IDs to entities
Daniel Karbach [Fri, 4 Sep 2015 22:27:15 +0000 (00:27 +0200)]
give unique IDs to entities

please don't modify from outside the world :P

8 years agofix stupid bug in packet builder
Daniel Karbach [Fri, 4 Sep 2015 14:44:19 +0000 (16:44 +0200)]
fix stupid bug in packet builder

8 years agofixed transmission control
Daniel Karbach [Fri, 4 Sep 2015 14:38:56 +0000 (16:38 +0200)]
fixed transmission control

8 years agoreorganized client state
Daniel Karbach [Fri, 4 Sep 2015 08:42:45 +0000 (10:42 +0200)]
reorganized client state

8 years agodefined and implemented join and part packets
Daniel Karbach [Thu, 3 Sep 2015 08:39:52 +0000 (10:39 +0200)]
defined and implemented join and part packets

8 years agotag packets withsequence numbers
Daniel Karbach [Wed, 2 Sep 2015 21:40:21 +0000 (23:40 +0200)]
tag packets withsequence numbers

acks are already transmitted to the other side,
but they're not used yet

8 years agoclient-side implementation of login packet
Daniel Karbach [Wed, 2 Sep 2015 20:33:08 +0000 (22:33 +0200)]
client-side implementation of login packet

chunk loading has to change:
need to stop the client from generating chunks on its own and
the server must be able to load chunks for multiple bases

also, I've not written a single test for all this crap
shame on me

8 years agospecial treatment for players
Daniel Karbach [Wed, 2 Sep 2015 19:18:49 +0000 (21:18 +0200)]
special treatment for players

with some drawbacks and cut corners, but more to come

8 years agofirst draft for client/server architecture
Daniel Karbach [Wed, 2 Sep 2015 15:27:01 +0000 (17:27 +0200)]
first draft for client/server architecture

8 years agoadd minimal debug symbols in release build
Daniel Karbach [Mon, 31 Aug 2015 11:49:38 +0000 (13:49 +0200)]
add minimal debug symbols in release build

this should make tracing core dumps much easier
and they can always be stripped anyway

8 years agogive feedback to stdout when profiling
Daniel Karbach [Fri, 28 Aug 2015 14:09:30 +0000 (16:09 +0200)]
give feedback to stdout when profiling

8 years agosort chunk candidates before detailed check
Daniel Karbach [Fri, 28 Aug 2015 14:05:27 +0000 (16:05 +0200)]
sort chunk candidates before detailed check

this makes the check from nearest to farthest which should save a
lot of work. too bad that profiling currently runs with the aim
pointing into nothingness, so results aren't visible. may have to
check that again some time

8 years agolerp random walk and make it change ang vel
Daniel Karbach [Fri, 28 Aug 2015 13:43:51 +0000 (15:43 +0200)]
lerp random walk and make it change ang vel

8 years agofix divide by zero in Chaser AI
Daniel Karbach [Fri, 28 Aug 2015 13:28:13 +0000 (15:28 +0200)]
fix divide by zero in Chaser AI

8 years agoavoid library rand()
Daniel Karbach [Fri, 28 Aug 2015 09:15:13 +0000 (11:15 +0200)]
avoid library rand()

8 years agosplit composite model in template and instance
Daniel Karbach [Fri, 28 Aug 2015 07:03:01 +0000 (09:03 +0200)]
split composite model in template and instance

8 years agoreference count entities for safer removal
Daniel Karbach [Thu, 27 Aug 2015 14:13:41 +0000 (16:13 +0200)]
reference count entities for safer removal

8 years agosplit chunk redering from world model
Daniel Karbach [Thu, 27 Aug 2015 09:45:20 +0000 (11:45 +0200)]
split chunk redering from world model

first step towards headless

8 years agoexplicit reference for world coordinates
Daniel Karbach [Fri, 21 Aug 2015 07:59:01 +0000 (09:59 +0200)]
explicit reference for world coordinates

8 years agosome outline improvements
Daniel Karbach [Wed, 19 Aug 2015 09:56:29 +0000 (11:56 +0200)]
some outline improvements

8 years agodisplay focused entity in debug overlay
Daniel Karbach [Tue, 18 Aug 2015 14:46:42 +0000 (16:46 +0200)]
display focused entity in debug overlay

8 years agouse collision structures for ray tests
Daniel Karbach [Tue, 18 Aug 2015 11:23:47 +0000 (13:23 +0200)]
use collision structures for ray tests

8 years agocheck for entities under crosshair
Daniel Karbach [Mon, 17 Aug 2015 15:29:38 +0000 (17:29 +0200)]
check for entities under crosshair

also display aim block information in debug overlay, sorry

8 years agofix some inline TODOs
Daniel Karbach [Mon, 17 Aug 2015 09:23:27 +0000 (11:23 +0200)]
fix some inline TODOs

8 years agomake buttons configurable
Daniel Karbach [Fri, 14 Aug 2015 12:16:56 +0000 (14:16 +0200)]
make buttons configurable

8 years agothe sound thing
Daniel Karbach [Fri, 14 Aug 2015 09:39:39 +0000 (11:39 +0200)]
the sound thing

8 years agoshow player orientation in debug overlay
Daniel Karbach [Thu, 13 Aug 2015 16:30:13 +0000 (18:30 +0200)]
show player orientation in debug overlay

8 years agodedicated shader for outlines
Daniel Karbach [Thu, 13 Aug 2015 16:08:22 +0000 (18:08 +0200)]
dedicated shader for outlines

8 years agofix normal in intersection ray/box intersection
Daniel Karbach [Thu, 13 Aug 2015 06:43:15 +0000 (08:43 +0200)]
fix normal in intersection ray/box intersection

was transformed by M which apparently was wrong :)

8 years agoblank screen before doing anything serious
Daniel Karbach [Thu, 13 Aug 2015 14:45:54 +0000 (16:45 +0200)]
blank screen before doing anything serious

8 years agocollect and load textures required by block types
Daniel Karbach [Thu, 13 Aug 2015 12:28:04 +0000 (14:28 +0200)]
collect and load textures required by block types

8 years agoload block types from data file
Daniel Karbach [Wed, 12 Aug 2015 11:46:09 +0000 (13:46 +0200)]
load block types from data file

8 years agoallow multiple meshes per entity
Daniel Karbach [Tue, 11 Aug 2015 13:17:54 +0000 (15:17 +0200)]
allow multiple meshes per entity

organized in a tree with each node haing its local
position/orientation relative to the parent

8 years agocentralize fonts
Daniel Karbach [Tue, 11 Aug 2015 08:18:53 +0000 (10:18 +0200)]
centralize fonts

8 years agoenhanced application state control
Daniel Karbach [Tue, 11 Aug 2015 08:06:11 +0000 (10:06 +0200)]
enhanced application state control

8 years agotry to get every chunk change saved to disk
Daniel Karbach [Mon, 10 Aug 2015 15:35:46 +0000 (17:35 +0200)]
try to get every chunk change saved to disk

8 years agodifferent limits for reading and generating chunks
Daniel Karbach [Mon, 10 Aug 2015 14:48:59 +0000 (16:48 +0200)]
different limits for reading and generating chunks

8 years agosave and load chunk data
Daniel Karbach [Mon, 10 Aug 2015 14:24:21 +0000 (16:24 +0200)]
save and load chunk data

currently running a one chunk per file approach for simplicity

8 years agosave and load world seed
Daniel Karbach [Sun, 9 Aug 2015 18:16:16 +0000 (20:16 +0200)]
save and load world seed

first four bytes of persistence, yay ^^

8 years agofix error in make_dirs and add is_file
Daniel Karbach [Sun, 9 Aug 2015 17:28:12 +0000 (19:28 +0200)]
fix error in make_dirs and add is_file

trailing separator caused make_dir to be called twice with the same
path which caused it to fail the second time

8 years agoconfigurable asset and save path
Daniel Karbach [Sun, 9 Aug 2015 16:26:20 +0000 (18:26 +0200)]
configurable asset and save path

8 years agotextures
Daniel Karbach [Sat, 8 Aug 2015 21:13:45 +0000 (23:13 +0200)]
textures

textures
textures
textures
textures

8 years agocheck line of sight in chase ai
Daniel Karbach [Fri, 7 Aug 2015 14:49:24 +0000 (16:49 +0200)]
check line of sight in chase ai

8 years agospeed up entity rotation a little
Daniel Karbach [Fri, 7 Aug 2015 13:19:55 +0000 (15:19 +0200)]
speed up entity rotation a little

because it's fun

8 years agotvec[234]<int> -> ivec[234]
Daniel Karbach [Fri, 7 Aug 2015 13:17:01 +0000 (15:17 +0200)]
tvec[234]<int> -> ivec[234]

howcome I didn't think of that before? lol

8 years ago(hopefully) cross-platform directory functions
Daniel Karbach [Fri, 7 Aug 2015 13:04:47 +0000 (15:04 +0200)]
(hopefully) cross-platform directory functions

8 years agocorrect usage of quaternions :P
Daniel Karbach [Fri, 7 Aug 2015 11:20:03 +0000 (13:20 +0200)]
correct usage of quaternions :P

8 years agoanother type of entity controller
Daniel Karbach [Thu, 6 Aug 2015 16:41:46 +0000 (18:41 +0200)]
another type of entity controller

just to mix it up

also, I realy have to fix rotation, they're getting all deformed ^^

8 years agosimple (text) progress display for preloader
Daniel Karbach [Thu, 6 Aug 2015 15:20:23 +0000 (17:20 +0200)]
simple (text) progress display for preloader

8 years agosimple preloader
Daniel Karbach [Thu, 6 Aug 2015 10:34:56 +0000 (12:34 +0200)]
simple preloader

8 years agostate management and control
Daniel Karbach [Thu, 6 Aug 2015 09:03:46 +0000 (11:03 +0200)]
state management and control

8 years agorandomly spawn entities around the player
Daniel Karbach [Wed, 5 Aug 2015 16:31:16 +0000 (18:31 +0200)]
randomly spawn entities around the player

and remove those too far away

8 years agomoved entity spawn and control into its own class
Daniel Karbach [Tue, 4 Aug 2015 16:48:19 +0000 (18:48 +0200)]
moved entity spawn and control into its own class

called "Spawner" if that is somehow non-obvious

8 years agomove RandomWalk into new "ai" module
Daniel Karbach [Tue, 4 Aug 2015 16:30:29 +0000 (18:30 +0200)]
move RandomWalk into new "ai" module

8 years agomake entities removable
Daniel Karbach [Tue, 4 Aug 2015 16:29:04 +0000 (18:29 +0200)]
make entities removable

8 years agomove init out of Application class
Daniel Karbach [Tue, 4 Aug 2015 16:12:04 +0000 (18:12 +0200)]
move init out of Application class

8 years agoshow camera position in debug overlay
Daniel Karbach [Mon, 3 Aug 2015 16:40:03 +0000 (18:40 +0200)]
show camera position in debug overlay

8 years agoremove positional frames argument
Daniel Karbach [Mon, 3 Aug 2015 16:24:07 +0000 (18:24 +0200)]
remove positional frames argument

-n now mandatory

8 years ago"streamlined" model/VAO handling
Daniel Karbach [Mon, 3 Aug 2015 15:37:58 +0000 (17:37 +0200)]
"streamlined" model/VAO handling