mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Fix debugging in the tower, update wording
Fixes debugging mouse targets and rendering in the tower. This also changes "movement" to "gameplay" in the TAB hint.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
0804f2d0c0
commit
4df35da0e4
@@ -98,7 +98,7 @@ namespace level_debugger
|
||||
{
|
||||
SDL_Rect bounding_box = {
|
||||
obj.entities[i].xp + obj.entities[i].cx,
|
||||
obj.entities[i].yp + obj.entities[i].cy,
|
||||
obj.entities[i].yp + obj.entities[i].cy - map.ypos,
|
||||
obj.entities[i].w,
|
||||
obj.entities[i].h
|
||||
};
|
||||
@@ -160,7 +160,7 @@ namespace level_debugger
|
||||
{
|
||||
SDL_Rect bounding_box = {
|
||||
obj.blocks[i].rect.x,
|
||||
obj.blocks[i].rect.y,
|
||||
obj.blocks[i].rect.y - map.ypos,
|
||||
obj.blocks[i].rect.w,
|
||||
obj.blocks[i].rect.h
|
||||
};
|
||||
@@ -262,7 +262,7 @@ namespace level_debugger
|
||||
{
|
||||
SDL_Rect bounding_box = {
|
||||
obj.entities[i].xp + obj.entities[i].cx,
|
||||
obj.entities[i].yp + obj.entities[i].cy,
|
||||
obj.entities[i].yp + obj.entities[i].cy - map.ypos,
|
||||
obj.entities[i].w,
|
||||
obj.entities[i].h
|
||||
};
|
||||
@@ -292,7 +292,7 @@ namespace level_debugger
|
||||
{
|
||||
SDL_Rect bounding_box = {
|
||||
obj.blocks[i].rect.x,
|
||||
obj.blocks[i].rect.y,
|
||||
obj.blocks[i].rect.y - map.ypos,
|
||||
obj.blocks[i].rect.w,
|
||||
obj.blocks[i].rect.h
|
||||
};
|
||||
@@ -440,6 +440,6 @@ namespace level_debugger
|
||||
}
|
||||
}
|
||||
|
||||
font::print(PR_BOR, 5, 14, loc::gettext("[Press TAB to toggle movement]"), 220 - (help.glow), 220 - (help.glow), 255 - (help.glow / 2));
|
||||
font::print(PR_BOR, 5, 14, loc::gettext("[Press TAB to toggle gameplay]"), 220 - (help.glow), 220 - (help.glow), 255 - (help.glow / 2));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user