diff options
| author | Colin Noga <Tempus@chronometry.ca> | 2012-07-28 00:03:36 -0500 | 
|---|---|---|
| committer | Colin Noga <Tempus@chronometry.ca> | 2012-07-28 00:03:36 -0500 | 
| commit | 6760e0279e18fbe615fc2dc3c0101ca155e4210a (patch) | |
| tree | a3ee14506a13b6ff92ff8718d34a0661e1298e0d /src/koopatlas/starcoin.cpp | |
| parent | 2226bfeb0dc0892e7aaa9a507031c42515c0ef00 (diff) | |
| download | kamek-6760e0279e18fbe615fc2dc3c0101ca155e4210a.tar.gz kamek-6760e0279e18fbe615fc2dc3c0101ca155e4210a.zip | |
more star coin screen imrprovements
Diffstat (limited to 'src/koopatlas/starcoin.cpp')
| -rw-r--r-- | src/koopatlas/starcoin.cpp | 32 | 
1 files changed, 21 insertions, 11 deletions
| diff --git a/src/koopatlas/starcoin.cpp b/src/koopatlas/starcoin.cpp index 22fd044..667be09 100644 --- a/src/koopatlas/starcoin.cpp +++ b/src/koopatlas/starcoin.cpp @@ -48,6 +48,7 @@ int dWMStarCoin::onCreate() {  		if (!gotFile)  			return false; +		isHidden = false;  		static const char *brlanNames[2] = {"coin_inWindow.brlan", "coin_outWindow.brlan"};  		static const char *groupNames[2] = {"A00_Window", "A00_Window"}; @@ -117,7 +118,7 @@ int dWMStarCoin::onDraw() {  void dWMStarCoin::specialDraw1() {  	if (!isHidden) { -		Vec pos = {330.0f, 250.0f, -1000.0f}; +		Vec pos = {420.0f, 194.0f, -1000.0f};  		S16Vec rot = {0,rotation,0};  		Vec scale = {2.0f, 2.0f, 2.0f};  		matrix.translation(pos.x, pos.y, pos.z); @@ -409,17 +410,26 @@ void dWMStarCoin::setWorldName(int world) {  		case 10:		  			setText("Goldwood Forest", "T_lefttitle_01");  			setText(" ", "T_righttitle_01"); +			break; + +		case 11: +			setText("Mini-Mega Island", "T_lefttitle_01"); +			setText(" ", "T_righttitle_01"); +			break; -			// if      ((level < 6)  || (level == 33) || (level == 34)) -			// 	setWorldText("Goldwood\nForest"); -			// else if ((level < 11) || (level == 35) || (level == 36)) -			// 	setWorldText("Mini-Mega\nIsland"); -			// else if ((level < 16) || (level == 37) || (level == 38) || (level == 31) ) -			// 	setWorldText("Crystal\nCaves"); -			// else if ((level < 19) || (level == 39) || (level == 40)) -			// 	setWorldText("Bombard\nCliffs"); -			// else -			// 	setWorldText("Sky\nCity"); +		case 12: +			setText("Crystal Caves", "T_lefttitle_01"); +			setText(" ", "T_righttitle_01"); +			break; + +		case 13: +			setText("Bombard Cliffs", "T_lefttitle_01"); +			setText(" ", "T_righttitle_01"); +			break; + +		case 14: +			setText("Sky City", "T_lefttitle_01"); +			setText(" ", "T_righttitle_01");  			break;	  		default: | 
