mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Remove hardcoded textbox colours
We have a custom textbox colour system, why not use it? This also moves the map of colours from CustomLevels to Script.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
c3e251fea9
commit
bd34af32de
@@ -387,7 +387,8 @@ void customlevelclass::reset(void)
|
||||
|
||||
onewaycol_override = false;
|
||||
|
||||
customcolours.clear();
|
||||
script.textbox_colours.clear();
|
||||
script.add_default_colours();
|
||||
map.specialroomnames.clear();
|
||||
}
|
||||
|
||||
@@ -1309,7 +1310,7 @@ next:
|
||||
colour.g = g;
|
||||
colour.b = b;
|
||||
|
||||
customcolours[name] = colour;
|
||||
script.textbox_colours[name] = colour;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user