New graphics api function: getColors, returns r, b, g, and a from a hex color

Also, remove generated/ and build/generated when using scons -c
This commit is contained in:
jacob1
2014-06-09 16:50:49 -04:00
parent ec29044ce6
commit 89ffa60529
4 changed files with 31 additions and 1 deletions

View File

@@ -9,7 +9,13 @@ if GetOption('clean'):
try:
shutil.rmtree(".sconf_temp/")
except:
print "couldn't remove .sconf_temp"
print "couldn't remove .sconf_temp/"
try:
shutil.rmtree("generated/")
except:
print "couldn't remove generated/"
try:
os.remove(".sconsign.dblite")
except: