mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 17:07:40 +00:00
New file geometry2.cpp, with moved ggmatrix, relative_matrix, virtualRebase, and new get_corner_position family. Refactored in floorpatterns, textures, and grid to use get_corner_position family.
This commit is contained in:
15
hyper.h
15
hyper.h
@@ -718,16 +718,9 @@ namespace shmup {
|
||||
void destroyBoats(cell *c);
|
||||
bool boatAt(cell *c);
|
||||
|
||||
void virtualRebase(cell*& base, transmatrix& at, bool tohex);
|
||||
void virtualRebase(cell*& base, hyperpoint& h, bool tohex);
|
||||
void virtualRebase(shmup::monster *m, bool tohex);
|
||||
transmatrix calc_relative_matrix(cell *c, cell *c1, const hyperpoint& point_hint);
|
||||
transmatrix calc_relative_matrix(cell *c, cell *c1, int direction_hint);
|
||||
void fixStorage();
|
||||
void addShmupHelp(string& out);
|
||||
void activateArrow(cell *c);
|
||||
transmatrix& ggmatrix(cell *c);
|
||||
transmatrix master_relative(cell *c, bool get_inverse = false);
|
||||
|
||||
void pushmonsters();
|
||||
void popmonsters();
|
||||
@@ -739,8 +732,16 @@ namespace shmup {
|
||||
|
||||
void turn(int);
|
||||
extern monster *lmousetarget;
|
||||
void virtualRebase(shmup::monster *m, bool tohex);
|
||||
}
|
||||
|
||||
transmatrix& ggmatrix(cell *c);
|
||||
transmatrix master_relative(cell *c, bool get_inverse = false);
|
||||
void virtualRebase(cell*& base, transmatrix& at, bool tohex);
|
||||
void virtualRebase(cell*& base, hyperpoint& h, bool tohex);
|
||||
transmatrix calc_relative_matrix(cell *c, cell *c1, const hyperpoint& point_hint);
|
||||
transmatrix calc_relative_matrix(cell *c, cell *c1, int direction_hint);
|
||||
|
||||
static const int NOHINT = -1;
|
||||
|
||||
// graph
|
||||
|
Reference in New Issue
Block a user