Kayne Ruse
ba384c182a
Updated the copyright in the file headers
2016-03-22 13:40:26 +11:00
Kayne Ruse
24eb730c72
Switched to the #pragma once system
2015-07-07 17:36:14 +10:00
Kayne Ruse
822d0636cc
Merge branch 'master' into develop
2015-05-17 12:38:44 +10:00
Kayne Ruse
99b35483f8
Tenative port for Linux
2015-05-17 09:18:46 +10:00
Kayne Ruse
102ba18b7b
Finally wrote the monster manager API
2015-05-08 23:17:35 +10:00
Kayne Ruse
c3c6d42a80
Characters moving via scripts are pushed & popped from the rooms
...
The delete & create messages still need to be implemented.
2015-03-09 10:27:50 +11:00
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
1210d2d24f
Minor comment tweaks
2015-02-27 03:06:29 +11:00
Kayne Ruse
4630b7e403
PumpCharacterUpdate() works from lua to client, read more
...
There was a bug in the entity API, where getMotion() was pushing the
origin instead of the motion. This has been corrected. Since this is an
important bug, and because the features for this leg is finished, I'll
merge this to master.
2015-02-27 02:39:27 +11:00
Kayne Ruse
3322783d95
Merge branch 'develop' into rooms
2015-01-03 03:27:34 +11:00
Kayne Ruse
877c0f59d3
Removed preprocessor switch surrounding library headers
2015-01-03 03:20:13 +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
bb592b2436
Added the waypoint system to the modules
...
Also fleshed out entity_api.cpp, but that's just filler.
2014-12-30 04:37:56 +11:00
Kayne Ruse
57c6f45c21
Added API placeholder files
2014-12-30 02:19:19 +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