Waypoint stats
Posted: 14 Jul 2007 17:03
I tried to make a patch to display waypoint stats. The code is taken from an old more advanced patch which includes a lot of other features. I have replaced a few things but there are 5 compiler errors left which I cannot resolve. Maybe somebody can look at it 
2>Compiling...
2>waypoint.cpp
2>..\src\waypoint.cpp(582) : error C2065: 'VEH_Train' : undeclared identifier
2>..\src\waypoint.cpp(675) : error C2039: 'disabled_state' : is not a member of 'Window'
2> d:\openttd\openttd-source\src\window.h(266) : see declaration of 'Window'
2>..\src\waypoint.cpp(677) : error C2039: 'disabled_state' : is not a member of 'Window'
2> d:\openttd\openttd-source\src\window.h(266) : see declaration of 'Window'
2>..\src\waypoint.cpp(714) : error C2039: 'click' : is not a member of 'WindowEvent'
2> d:\openttd\openttd-source\src\window.h(140) : see declaration of 'WindowEvent'
2>..\src\waypoint.cpp(714) : error C2228: left of '.widget' must have class/struct/union

2>Compiling...
2>waypoint.cpp
2>..\src\waypoint.cpp(582) : error C2065: 'VEH_Train' : undeclared identifier
2>..\src\waypoint.cpp(675) : error C2039: 'disabled_state' : is not a member of 'Window'
2> d:\openttd\openttd-source\src\window.h(266) : see declaration of 'Window'
2>..\src\waypoint.cpp(677) : error C2039: 'disabled_state' : is not a member of 'Window'
2> d:\openttd\openttd-source\src\window.h(266) : see declaration of 'Window'
2>..\src\waypoint.cpp(714) : error C2039: 'click' : is not a member of 'WindowEvent'
2> d:\openttd\openttd-source\src\window.h(140) : see declaration of 'WindowEvent'
2>..\src\waypoint.cpp(714) : error C2228: left of '.widget' must have class/struct/union