CHEWY: Move vec_tbl to a field of movclass

This commit is contained in:
Paul Gilbert 2021-12-23 21:32:37 -08:00
parent d7eda3abfe
commit 647932d865
2 changed files with 6 additions and 2 deletions

View File

@ -49,10 +49,13 @@ namespace Chewy {
#define MOV_X 1
#define MOV_Y 2
int16 vec_tbl[4] = { -40, 1, 40, -1};
movclass::movclass() {
vec_tbl[0] = -40;
vec_tbl[1] = 1;
vec_tbl[2] = 40;
vec_tbl[3] = -1;
}
movclass::~movclass() {
}

View File

@ -133,6 +133,7 @@ private:
MovLineExit mle;
GotoMovLine gml;
GotoPkt *gpkt = nullptr;
int16 vec_tbl[4];
};
} // namespace Chewy