More-accurate Back.cpp variable arrangement
This commit is contained in:
parent
e70074cf64
commit
36f203ca16
1 changed files with 6 additions and 10 deletions
16
src/Back.cpp
16
src/Back.cpp
|
@ -82,8 +82,7 @@ void ActBack(void)
|
||||||
|
|
||||||
void PutBack(int fx, int fy)
|
void PutBack(int fx, int fy)
|
||||||
{
|
{
|
||||||
int x;
|
int x, y;
|
||||||
int y;
|
|
||||||
RECT rect = {0, 0, gBack.partsW, gBack.partsH};
|
RECT rect = {0, 0, gBack.partsW, gBack.partsH};
|
||||||
|
|
||||||
switch (gBack.type)
|
switch (gBack.type)
|
||||||
|
@ -166,17 +165,14 @@ void PutBack(int fx, int fy)
|
||||||
|
|
||||||
void PutFront(int fx, int fy)
|
void PutFront(int fx, int fy)
|
||||||
{
|
{
|
||||||
int x;
|
int xpos, ypos;
|
||||||
int y;
|
|
||||||
int xpos;
|
|
||||||
int ypos;
|
|
||||||
int x_1;
|
|
||||||
int x_2;
|
|
||||||
int y_1;
|
|
||||||
int y_2;
|
|
||||||
|
|
||||||
RECT rcWater[2] = {{0, 0, 32, 16}, {0, 16, 32, 48}};
|
RECT rcWater[2] = {{0, 0, 32, 16}, {0, 16, 32, 48}};
|
||||||
|
|
||||||
|
int x, y;
|
||||||
|
int x_1, x_2;
|
||||||
|
int y_1, y_2;
|
||||||
|
|
||||||
switch (gBack.type)
|
switch (gBack.type)
|
||||||
{
|
{
|
||||||
case 3:
|
case 3:
|
||||||
|
|
Loading…
Add table
Reference in a new issue