Kayne Ruse
decc77e21c
Implemented entity.GetType() in lua
...
This will only work for userdata decented from the Entity base class.
Using something else results in undefined behavior.
2015-03-09 09:04:12 +11:00
Kayne Ruse
41d6314beb
Triggers have a basic response to character collision
...
I've hacked the trigger system to create a really basic teleport pad,
using the dirt tile as an indicator. This behaviour is not coded into the
engine, but is in fact scripted in lua.
This commit is messy, due to lack of sleep.
2015-03-04 06:16:12 +11:00
Kayne Ruse
74ed93ddc7
Character bounds are stored in the server database
...
This allows for customization of bounding boxes, as well as highlighting
aspects needed when adding new fields to the characters.
2015-03-04 04:06:16 +11:00
Kayne Ruse
d815f17442
Reimplemented the push/pop entity methods in RoomManager
...
Some accessors in Entity had to be made const, as they were being called
from lambdas with const parameters.
2015-01-02 23:25:59 +11:00
Kayne Ruse
f9c19a630d
Added trigger reference to WaypointData, unused
...
WaypointData also inherits from Entity now, so I could alias Entity's API
for it too. I've also made a number of comment tweaks.
2014-12-31 03:34:06 +11:00
Kayne Ruse
7e5a7f8183
Updated the copyright headers about a week ahead
2014-12-27 13:29:16 +11:00
Kayne Ruse
2ae2c48819
Added LocalCharacter, removed entityIndex
2014-12-19 19:44:34 +11:00
Kayne Ruse
f2d79225a3
Created '*_data.cpp' files, modified API files a bit
2014-11-06 01:54:27 +11:00
Kayne Ruse
7da5de619b
Created entity.hpp and door system
2014-10-30 01:01:11 +11:00