]> git.localhorst.tv Git - l2e.git/log
l2e.git
12 years agoadded map transition state
Daniel Karbach [Sun, 7 Oct 2012 14:15:50 +0000 (16:15 +0200)]
added map transition state

12 years agobreak out of physics loop if a state change happened
Daniel Karbach [Sun, 7 Oct 2012 14:15:15 +0000 (16:15 +0200)]
break out of physics loop if a state change happened

12 years agoadded ColorFade to graphics fwd.h
Daniel Karbach [Sun, 7 Oct 2012 13:56:34 +0000 (15:56 +0200)]
added ColorFade to graphics fwd.h

12 years agoadded color fading state
Daniel Karbach [Sun, 7 Oct 2012 13:49:42 +0000 (15:49 +0200)]
added color fading state

this can fade a state to and from a solid color

12 years agomade TileAt/AreaAt fail silently
Daniel Karbach [Sun, 7 Oct 2012 13:00:20 +0000 (15:00 +0200)]
made TileAt/AreaAt fail silently

this way the game does not halt when the player walks off the map

12 years agoextracted map loading/unloading
Daniel Karbach [Sun, 7 Oct 2012 12:54:55 +0000 (14:54 +0200)]
extracted map loading/unloading

12 years agoadded temporary map transition implementation
Daniel Karbach [Sun, 7 Oct 2012 12:40:20 +0000 (14:40 +0200)]
added temporary map transition implementation

12 years agoadded second map to transition to
Daniel Karbach [Sat, 6 Oct 2012 21:45:57 +0000 (23:45 +0200)]
added second map to transition to

12 years agouse sdl utility functions for debug drawing
Daniel Karbach [Sat, 6 Oct 2012 21:01:31 +0000 (23:01 +0200)]
use sdl utility functions for debug drawing

12 years agoadded some graphics primitive functions
Daniel Karbach [Sat, 6 Oct 2012 21:01:03 +0000 (23:01 +0200)]
added some graphics primitive functions

12 years agoadded area bounds to debug overlay
Daniel Karbach [Sat, 6 Oct 2012 20:35:34 +0000 (22:35 +0200)]
added area bounds to debug overlay

12 years agomoved test trigger to door coordinates
Daniel Karbach [Sat, 6 Oct 2012 20:22:05 +0000 (22:22 +0200)]
moved test trigger to door coordinates

12 years agoadded triggers to map debug render
Daniel Karbach [Sat, 6 Oct 2012 20:21:48 +0000 (22:21 +0200)]
added triggers to map debug render

12 years agoadded debug mode for maps
Daniel Karbach [Sat, 6 Oct 2012 20:08:11 +0000 (22:08 +0200)]
added debug mode for maps

currently shows tile blocking flags as little red lines

12 years agoadded 4 debug keys
Daniel Karbach [Sat, 6 Oct 2012 20:07:19 +0000 (22:07 +0200)]
added 4 debug keys

you never know when you're gonna need those

12 years agoadded second map area
Daniel Karbach [Sat, 6 Oct 2012 19:46:05 +0000 (21:46 +0200)]
added second map area

12 years agoreversed order of monster checks
Daniel Karbach [Sat, 6 Oct 2012 00:06:41 +0000 (02:06 +0200)]
reversed order of monster checks

and added some TODOs

12 years agobegun monster vicinity checking
Daniel Karbach [Fri, 5 Oct 2012 20:48:02 +0000 (22:48 +0200)]
begun monster vicinity checking

12 years agofix blocking flag of guy
Daniel Karbach [Fri, 5 Oct 2012 20:47:27 +0000 (22:47 +0200)]
fix blocking flag of guy

12 years agocheck for blocking entities when trying to move
Daniel Karbach [Fri, 5 Oct 2012 16:52:22 +0000 (18:52 +0200)]
check for blocking entities when trying to move

12 years agoadded monster dummy
Daniel Karbach [Fri, 5 Oct 2012 16:27:27 +0000 (18:27 +0200)]
added monster dummy

12 years agodon't lock player character onto its tile
Daniel Karbach [Fri, 5 Oct 2012 15:03:33 +0000 (17:03 +0200)]
don't lock player character onto its tile

12 years agoimplemented followers
Daniel Karbach [Fri, 5 Oct 2012 14:52:55 +0000 (16:52 +0200)]
implemented followers

all entities are now snapped to their nearest tile position when the player character locks onto a tile

fixes #17

12 years agomore Vector operations
Daniel Karbach [Fri, 5 Oct 2012 13:54:50 +0000 (15:54 +0200)]
more Vector operations

there are not real vector operations in a mathematical sense, but are useful nonetheless

12 years agoextracted tile coordinates calculation
Daniel Karbach [Fri, 5 Oct 2012 13:11:59 +0000 (15:11 +0200)]
extracted tile coordinates calculation

12 years agoadded movement timer to track blocked movement
Daniel Karbach [Fri, 5 Oct 2012 11:39:39 +0000 (13:39 +0200)]
added movement timer to track blocked movement

this should correct the behaviour of OnMove and OnGridLock calls even when walking into a wall

fixes #21 ?

12 years agoadded entity follower list
Daniel Karbach [Wed, 3 Oct 2012 15:23:31 +0000 (17:23 +0200)]
added entity follower list

still unfinished due to movement detection bugs

refs #17
refs #20

12 years agoadded map sprites for 3 other heroes
Daniel Karbach [Wed, 3 Oct 2012 13:55:43 +0000 (15:55 +0200)]
added map sprites for 3 other heroes

12 years agotrigger handling in map state
Daniel Karbach [Wed, 3 Oct 2012 13:09:02 +0000 (15:09 +0200)]
trigger handling in map state

12 years agoadded map trigger prototype
Daniel Karbach [Wed, 3 Oct 2012 13:05:51 +0000 (15:05 +0200)]
added map trigger prototype

12 years agoshift walking animation by one frame
Daniel Karbach [Tue, 2 Oct 2012 20:25:38 +0000 (22:25 +0200)]
shift walking animation by one frame

12 years agoframe shiftability in animation runner
Daniel Karbach [Tue, 2 Oct 2012 20:25:17 +0000 (22:25 +0200)]
frame shiftability in animation runner

12 years agostart/stop animation of player character
Daniel Karbach [Tue, 2 Oct 2012 20:08:44 +0000 (22:08 +0200)]
start/stop animation of player character

12 years agoallow checking of multiple keys at once
Daniel Karbach [Tue, 2 Oct 2012 20:03:12 +0000 (22:03 +0200)]
allow checking of multiple keys at once

12 years agochanged how animation runners handle sprite overrides
Daniel Karbach [Tue, 2 Oct 2012 20:01:22 +0000 (22:01 +0200)]
changed how animation runners handle sprite overrides

12 years agoadded grid lock checking in map state
Daniel Karbach [Sun, 30 Sep 2012 18:32:45 +0000 (20:32 +0200)]
added grid lock checking in map state

12 years agoadded comparison operators to vector template
Daniel Karbach [Sun, 30 Sep 2012 18:13:29 +0000 (20:13 +0200)]
added comparison operators to vector template

12 years agoinitialize MapState::nextDirection
Daniel Karbach [Sun, 30 Sep 2012 16:50:44 +0000 (18:50 +0200)]
initialize MapState::nextDirection

whoops

12 years agomoved grid logic to world update routine
Daniel Karbach [Sun, 30 Sep 2012 16:47:44 +0000 (18:47 +0200)]
moved grid logic to world update routine

fixes #16

12 years agocheck blocking flags of tiles in map state
Daniel Karbach [Sun, 30 Sep 2012 15:49:57 +0000 (17:49 +0200)]
check blocking flags of tiles in map state

12 years agoadded entity orientation awareness
Daniel Karbach [Sun, 30 Sep 2012 15:08:29 +0000 (17:08 +0200)]
added entity orientation awareness

12 years agocheck tile lock in Entity
Daniel Karbach [Sun, 30 Sep 2012 14:50:17 +0000 (16:50 +0200)]
check tile lock in Entity

12 years agoadded tile flags in main
Daniel Karbach [Sun, 30 Sep 2012 14:49:28 +0000 (16:49 +0200)]
added tile flags in main

12 years agoadded test entity
Daniel Karbach [Sun, 30 Sep 2012 14:26:27 +0000 (16:26 +0200)]
added test entity

12 years agoplugged entities into map state
Daniel Karbach [Sun, 30 Sep 2012 14:26:13 +0000 (16:26 +0200)]
plugged entities into map state

12 years agoadded Entity class
Daniel Karbach [Sun, 30 Sep 2012 14:25:20 +0000 (16:25 +0200)]
added Entity class

12 years agochanged camera target to float
Daniel Karbach [Sun, 30 Sep 2012 14:24:14 +0000 (16:24 +0200)]
changed camera target to float

12 years agoadded mixed-type operators to Vector template
Daniel Karbach [Sun, 30 Sep 2012 14:23:24 +0000 (16:23 +0200)]
added mixed-type operators to Vector template

12 years agoadded test tileset, area and map
Daniel Karbach [Sat, 29 Sep 2012 19:02:34 +0000 (21:02 +0200)]
added test tileset, area and map

12 years agoadded application state for map
Daniel Karbach [Sat, 29 Sep 2012 19:01:54 +0000 (21:01 +0200)]
added application state for map

12 years agoadded camera class
Daniel Karbach [Sat, 29 Sep 2012 17:52:27 +0000 (19:52 +0200)]
added camera class

12 years agoadded forwarding header for map namespace
Daniel Karbach [Sat, 29 Sep 2012 17:21:29 +0000 (19:21 +0200)]
added forwarding header for map namespace

12 years agoadded basic map classes
Daniel Karbach [Sat, 29 Sep 2012 16:45:01 +0000 (18:45 +0200)]
added basic map classes

12 years agoadded forwarding headers
Daniel Karbach [Sat, 29 Sep 2012 17:18:44 +0000 (19:18 +0200)]
added forwarding headers

12 years agoadded Caster class to simplify the code in main()
Daniel Karbach [Wed, 19 Sep 2012 20:34:04 +0000 (22:34 +0200)]
added Caster class to simplify the code in main()

12 years agoadded error message for missing definitions in PLAY mode
Daniel Karbach [Sat, 15 Sep 2012 20:12:22 +0000 (22:12 +0200)]
added error message for missing definitions in PLAY mode

12 years agoremoved some leftover lines from linker branch
Daniel Karbach [Sat, 15 Sep 2012 19:53:10 +0000 (21:53 +0200)]
removed some leftover lines from linker branch

12 years agogenerate header when output file ends with 'h'
Daniel Karbach [Sat, 15 Sep 2012 19:14:04 +0000 (21:14 +0200)]
generate header when output file ends with 'h'

12 years agoadded dump option
Daniel Karbach [Sat, 15 Sep 2012 19:01:11 +0000 (21:01 +0200)]
added dump option

supply -d as an argument to dump read files

12 years agoadded argument interpreter
Daniel Karbach [Sat, 15 Sep 2012 18:30:10 +0000 (20:30 +0200)]
added argument interpreter

12 years agomade fields of type descriptions accessible
Daniel Karbach [Sat, 15 Sep 2012 17:01:05 +0000 (19:01 +0200)]
made fields of type descriptions accessible

12 years agoadded l2 object files to gitignore
Daniel Karbach [Thu, 13 Sep 2012 21:16:18 +0000 (23:16 +0200)]
added l2 object files to gitignore

12 years agomade Interpreter constructor explicit and added an error message
Daniel Karbach [Thu, 13 Sep 2012 20:43:45 +0000 (22:43 +0200)]
made Interpreter constructor explicit and added an error message

12 years agoadded linkage type and some getters to Interpreter
Daniel Karbach [Thu, 13 Sep 2012 20:34:50 +0000 (22:34 +0200)]
added linkage type and some getters to Interpreter

12 years agodefine NDEBUG for Release build config
Daniel Karbach [Tue, 11 Sep 2012 19:51:57 +0000 (21:51 +0200)]
define NDEBUG for Release build config

12 years agohandle special case of Image type objects
Daniel Karbach [Tue, 11 Sep 2012 19:45:15 +0000 (21:45 +0200)]
handle special case of Image type objects

12 years agofixed type of monster number properties
Daniel Karbach [Tue, 11 Sep 2012 19:44:24 +0000 (21:44 +0200)]
fixed type of monster number properties

12 years agoincluded type definition of Monster in main()
Daniel Karbach [Tue, 11 Sep 2012 19:06:52 +0000 (21:06 +0200)]
included type definition of Monster in main()

12 years agosplit reading of literal from reading its defined name
Daniel Karbach [Tue, 11 Sep 2012 19:04:54 +0000 (21:04 +0200)]
split reading of literal from reading its defined name

12 years agorevised array type notation
Daniel Karbach [Tue, 11 Sep 2012 18:34:29 +0000 (20:34 +0200)]
revised array type notation

12 years agoadded missing spell flags
Daniel Karbach [Mon, 10 Sep 2012 20:59:01 +0000 (22:59 +0200)]
added missing spell flags

12 years agotackled some problems (not all :) )
Daniel Karbach [Mon, 10 Sep 2012 20:55:07 +0000 (22:55 +0200)]
tackled some problems (not all :) )

12 years agoadded constructors for described types
Daniel Karbach [Mon, 10 Sep 2012 20:32:10 +0000 (22:32 +0200)]
added constructors for described types

12 years agoremoved type resolution from Animation::addFields
Daniel Karbach [Mon, 10 Sep 2012 20:08:28 +0000 (22:08 +0200)]
removed type resolution from Animation::addFields

12 years agoconverted pseudo-fields into real ones
Daniel Karbach [Mon, 10 Sep 2012 20:02:19 +0000 (22:02 +0200)]
converted pseudo-fields into real ones

12 years agofixed property names of BattleResources
Daniel Karbach [Sun, 9 Sep 2012 13:42:49 +0000 (15:42 +0200)]
fixed property names of BattleResources

12 years agoreordered type description creation to avoid reallocation
Daniel Karbach [Sun, 9 Sep 2012 13:41:28 +0000 (15:41 +0200)]
reordered type description creation to avoid reallocation

12 years agofixed some issues to get it to compile again
Daniel Karbach [Sun, 9 Sep 2012 13:32:16 +0000 (15:32 +0200)]
fixed some issues to get it to compile again

12 years agoadded type description of Stats
Daniel Karbach [Sun, 9 Sep 2012 12:49:45 +0000 (14:49 +0200)]
added type description of Stats

12 years agoadded type description of Sprite
Daniel Karbach [Sun, 9 Sep 2012 12:45:00 +0000 (14:45 +0200)]
added type description of Sprite

12 years agoadded partial type description of Spell
Daniel Karbach [Sun, 9 Sep 2012 12:40:20 +0000 (14:40 +0200)]
added partial type description of Spell

12 years agoadded type description of PartyLayout
Daniel Karbach [Sun, 9 Sep 2012 12:31:07 +0000 (14:31 +0200)]
added type description of PartyLayout

12 years agoadded type description of Monster
Daniel Karbach [Sun, 9 Sep 2012 12:19:49 +0000 (14:19 +0200)]
added type description of Monster

12 years agofixed hero animations reference type
Daniel Karbach [Sun, 9 Sep 2012 12:18:33 +0000 (14:18 +0200)]
fixed hero animations reference type

12 years agoadded type description of MenuProperties
Daniel Karbach [Sun, 9 Sep 2012 12:14:13 +0000 (14:14 +0200)]
added type description of MenuProperties

12 years agoadded type description of Hero
Daniel Karbach [Sun, 9 Sep 2012 12:05:14 +0000 (14:05 +0200)]
added type description of Hero

12 years agoadded partial type description of Item
Daniel Karbach [Sun, 9 Sep 2012 11:51:11 +0000 (13:51 +0200)]
added partial type description of Item

still missing a way to describe bit fields/flags

12 years agoadded type description of Ikari
Daniel Karbach [Sat, 8 Sep 2012 12:38:21 +0000 (14:38 +0200)]
added type description of Ikari

12 years agoadded type description of Gauge
Daniel Karbach [Wed, 5 Sep 2012 21:20:27 +0000 (23:20 +0200)]
added type description of Gauge

12 years agoadded type description of Frame
Daniel Karbach [Wed, 5 Sep 2012 21:06:38 +0000 (23:06 +0200)]
added type description of Frame

12 years agoadded type description of Font
Daniel Karbach [Wed, 5 Sep 2012 21:01:26 +0000 (23:01 +0200)]
added type description of Font

12 years agoadded type description of complex animation
Daniel Karbach [Wed, 5 Sep 2012 20:27:02 +0000 (22:27 +0200)]
added type description of complex animation

12 years agoadded type description of simple animation
Daniel Karbach [Wed, 5 Sep 2012 20:06:35 +0000 (22:06 +0200)]
added type description of simple animation

12 years agoadded type description of battle::Resources
Daniel Karbach [Wed, 5 Sep 2012 19:46:07 +0000 (21:46 +0200)]
added type description of battle::Resources

12 years agoadded type description class
Daniel Karbach [Wed, 5 Sep 2012 19:44:57 +0000 (21:44 +0200)]
added type description class

12 years agoset -Werror compiler flag for loader subdir
Daniel Karbach [Mon, 3 Sep 2012 20:12:51 +0000 (22:12 +0200)]
set -Werror compiler flag for loader subdir

12 years agoMerge branch 'loader'
Daniel Karbach [Mon, 3 Sep 2012 19:58:28 +0000 (21:58 +0200)]
Merge branch 'loader'

This introduces the capability of loading l2 formatted source files.
The syntax for those is described here:
http://luke.redirectme.net/redmine/projects/l2e/wiki/LoaderSource

Please note that this method of loading data is very inefficient, but
convenient. Efficiency issues will be adressed by a binary file format
which mentioned source files can be compiled to.

Also, some representations have been adapted to a more link-friendly
structure and most of the configuration code in main has been moved to
their respective l2s files residing in /test-data/ .

12 years agomade high level parser errors a bit more expressive
Daniel Karbach [Mon, 3 Sep 2012 19:56:12 +0000 (21:56 +0200)]
made high level parser errors a bit more expressive

12 years agosplit headers off of ikaris, items, and spells
Daniel Karbach [Sun, 2 Sep 2012 17:20:16 +0000 (19:20 +0200)]
split headers off of ikaris, items, and spells

12 years agoadded utility function to create headers
Daniel Karbach [Sun, 2 Sep 2012 17:19:40 +0000 (19:19 +0200)]
added utility function to create headers