mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-19 23:41:14 +00:00
Retire TC until and unless we can find a way to do it "above the line"...
in the team-aware code.
This commit is contained in:
parent
3d4fdae72c
commit
de2e1071a7
@ -19,7 +19,6 @@
|
|||||||
#include "image.hpp"
|
#include "image.hpp"
|
||||||
#include "log.hpp"
|
#include "log.hpp"
|
||||||
#include "sdl_utils.hpp"
|
#include "sdl_utils.hpp"
|
||||||
#include "team.hpp"
|
|
||||||
#include "util.hpp"
|
#include "util.hpp"
|
||||||
#include "wassert.hpp"
|
#include "wassert.hpp"
|
||||||
#include "wesconfig.h"
|
#include "wesconfig.h"
|
||||||
@ -317,6 +316,7 @@ surface locator::load_image_sub_file() const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
std::string field = *j++;
|
std::string field = *j++;
|
||||||
|
#if 0
|
||||||
if("TC" == function){//deprecated team coloring syntax
|
if("TC" == function){//deprecated team coloring syntax
|
||||||
//replace with proper RC syntax
|
//replace with proper RC syntax
|
||||||
std::string::size_type pos = 0;
|
std::string::size_type pos = 0;
|
||||||
@ -334,6 +334,7 @@ surface locator::load_image_sub_file() const
|
|||||||
field= f2 + ">" + f1;
|
field= f2 + ">" + f1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if("RC" == function){ //re-color function
|
if("RC" == function){ //re-color function
|
||||||
std::vector<std::string> recolor=utils::split(field,'>');
|
std::vector<std::string> recolor=utils::split(field,'>');
|
||||||
if(recolor.size()>1){
|
if(recolor.size()>1){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user