Added wilber kart.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
cosmosninja 2008-02-15 01:58:51 +00:00
parent 876ef74ebb
commit 88da3d1da4
7 changed files with 3009 additions and 8 deletions

View File

@ -160,6 +160,8 @@
"pennyshadow.rgb" Y Y Y 0.0 N N 1.0 Y N N N
"hexleyicon.rgb" Y Y Y 0.0 N N 1.0 Y N N N
"hexleyshadow.rgb" Y Y Y 0.0 N N 1.0 Y N N N
"wilbericon.rgb" Y Y Y 0.0 N N 1.0 Y N N N
"wilbershadow.rgb" Y Y Y 0.0 N N 1.0 Y N N N
"spark.rgb" Y Y N 0.2 N N 1.0 Y N N N
"smoke.rgb" Y Y Y 0.0 N N 1.0 Y N N N
"explode.rgb" Y Y Y 0.2 N N 1.0 Y N N N

14
data/wilber.tkkf Normal file
View File

@ -0,0 +1,14 @@
;; -*- mode: lisp -*-
(tuxkart-kart
(name "Wilber")
(model-file "wilber-low.ac")
(icon-file "wilbericon.rgb")
(shadow-file "wilbershadow.rgb")
(red 0.25)
(green 0.23)
(blue 0.18)
)
;; EOF ;;

BIN
images/wilber.rgb Normal file

Binary file not shown.

BIN
images/wilbericon.rgb Normal file

Binary file not shown.

BIN
images/wilbershadow.rgb Normal file

Binary file not shown.

2985
models/wilber-low.ac Normal file

File diff suppressed because it is too large Load Diff

View File

@ -83,14 +83,14 @@ CharSel::CharSel(int whichPlayer)
// Check if i has been previously selected
if (kartAvailable(i))
{
const KartProperties* kp= kart_properties_manager->getKartById(i);
Material *m = material_manager->getMaterial(kp->getIconFile());
widget_manager->addWgt( WTOK_RACER0 + i, 10, 13);
widget_manager->showWgtRect( WTOK_RACER0 + i);
widget_manager->setWgtColor( WTOK_RACER0 + i, WGT_GRAY);
widget_manager->setWgtTexture( WTOK_RACER0 + i, m->getState()->getTextureHandle());
widget_manager->showWgtTexture( WTOK_RACER0 + i );
widget_manager->activateWgt( WTOK_RACER0 + i );
const KartProperties* kp= kart_properties_manager->getKartById(i);
Material *m = material_manager->getMaterial(kp->getIconFile());
widget_manager->addWgt( WTOK_RACER0 + i, 8, 11);
widget_manager->showWgtRect( WTOK_RACER0 + i);
widget_manager->setWgtColor( WTOK_RACER0 + i, WGT_GRAY);
widget_manager->setWgtTexture( WTOK_RACER0 + i, m->getState()->getTextureHandle());
widget_manager->showWgtTexture( WTOK_RACER0 + i );
widget_manager->activateWgt( WTOK_RACER0 + i );
}
}