Skip to content

Commit

Permalink
H1,2 snd wind meh
Browse files Browse the repository at this point in the history
  • Loading branch information
cryham committed Apr 15, 2024
1 parent 68ecea9 commit e41f091
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion data/carsim/easy/cars/H1.car
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ hov_rise = 120
# engine
#---------------------------
[ engine ]
sound = engine
sound = wind
position = 0.0, 0.12, 0.25
mass = 130.0
rpm-limit = 7000
Expand Down
2 changes: 1 addition & 1 deletion data/carsim/easy/cars/H2.car
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ hov_rise = 120
# engine
#---------------------------
[ engine ]
sound = engine
sound = wind
position = 0.0, 0.4, 0.25
mass = 200.0
rpm-limit = 8000
Expand Down
2 changes: 1 addition & 1 deletion data/carsim/normal/cars/H1.car
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ hov_rise = 120
# engine
#---------------------------
[ engine ]
sound = engine
sound = wind
position = 0.0, 0.12, 0.25
mass = 130.0
rpm-limit = 7000
Expand Down
2 changes: 1 addition & 1 deletion data/carsim/normal/cars/H2.car
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ hov_rise = 120
# engine
#---------------------------
[ engine ]
sound = thruster
sound = wind
position = 0.0, 0.4, 0.25
mass = 200.0
rpm-limit = 8000
Expand Down
8 changes: 3 additions & 5 deletions src/common/GuiCom_Util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,24 +251,22 @@ void CGuiCom::doTestGUI(EnumeratorWidgetPtr widgets)
{
WP wp = widgets.current();
string relativeTo = wp->getUserString("RelativeTo");

// if (relativeTo != "")
{
// WP p = wp->getParent();
// if (p && (
const auto& tp = wp->getTypeName();
if (
// (wp->getLayer() && wp->getLayer()->getName() != "ToolTip") &&
// (wp->getLayer() && wp->getLayer()->getName() != "ToolTip") && //-
(
tp == "TextBox" ||
tp == "Button" || // && skin checkbox..
tp == "EditBox" // && skin empty..
// wp->getSkin() == "a"
// wp->getSkin() == "" //-
))
{
LogO(wp->getTypeName()+" "+wp->getName());
// if (wp->getLayer())
// LogO(wp->getLayer()->getName());
// if (wp->getLayer()) LogO(wp->getLayer()->getName()); //-

Img img = wp->createWidget<ImageBox>("ImageBox",
0,0, wp->getSize().width, wp->getSize().height, // same size
Expand Down

0 comments on commit e41f091

Please sign in to comment.