|
08e922b0d4
|
First implementation of rules
TODO :
- Fix target as getter (currently broken because of inheritance by rules)
- Smart pointers for entity store ?
|
2019-06-09 23:26:46 +02:00 |
|
|
febe0827ad
|
Fixed x,y in Entity constructor not being pro_maat::GridUnit
|
2019-06-09 15:56:54 +02:00 |
|
|
4ed9180694
|
Cleaning some warnings
|
2019-06-09 14:59:17 +02:00 |
|
|
ebc8d961f4
|
A* working : previousNode was initialized with one step instead of none.
|
2019-06-09 05:37:08 +02:00 |
|
|
d42d176e8d
|
A* implementation
Working except for end of path endless loop (0,0 point appearing in paths for no reason?)
Commit mainly because the HDD is on the verge of dying
|
2019-06-09 05:18:28 +02:00 |
|
|
250a680cad
|
Fixed target initialization still using sf::Vector2i
Forgot to move manhattanDistance to .cpp
|
2019-06-08 17:08:15 +02:00 |
|
|
f7481f2bc9
|
Added type alias for std::pair<uint8_t,uint8_t> for grid coordinates as sf::Vector2 cannot be used in std::map or std::set
|
2019-06-08 16:11:29 +02:00 |
|
|
1a79679c21
|
Added representation of occupied squares and a way to retrieve them for A* implementation
Updated UML
|
2019-06-08 02:32:06 +02:00 |
|
|
dafc442512
|
Implemented move function for entities
Does not consider speed (TODO ?)
|
2019-06-07 22:38:55 +02:00 |
|
|
3666b9e7e9
|
Entities are now constructable
Added utility function to display error window
Added textures
Added font
Added a way to choose resources location
|
2019-06-07 22:20:34 +02:00 |
|
|
46d26b6e61
|
Started object construction and parsing
Simplified some structures
Missing : Entity construction
|
2019-06-07 02:59:27 +02:00 |
|
|
2b9593bee8
|
Project structure and UML first draft
|
2019-06-06 17:07:24 +02:00 |
|