Game now builds and is using the new dynamic component loading but enemies do not spawn in and device events are really working. Also inventory is a giant bag of fail and needs a rewrite.
This commit is contained in:
parent
9e91c71125
commit
a69be90464
23 changed files with 130 additions and 122 deletions
|
@ -5,13 +5,10 @@
|
|||
#include <algorithm>
|
||||
#include "matrix.hpp"
|
||||
#include "pathing.hpp"
|
||||
#include "components.hpp"
|
||||
|
||||
namespace lighting {
|
||||
|
||||
struct LightSource {
|
||||
int strength = 0;
|
||||
float radius = 1.0f;
|
||||
};
|
||||
using components::LightSource;
|
||||
|
||||
const int MIN = 30;
|
||||
const int MAX = 105;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue