#include <spinning_car.h>
Inheritance diagram for VGUI::SpinningCar:


Public Member Functions | |
| SpinningCar () | |
| SpinningCar (Widget *w) | |
| ~SpinningCar () | |
| void | Save () |
| void | Draw () |
| void | Draw (float opacity) |
| bool | MouseOver (float x, float y) |
| string | MousePress (float x, float y) |
| string | MouseRelease (float x, float y) |
| void | ResetValue () |
| void | HookIncValuePress () |
| void | HookDecValuePress () |
| void | HookIncValueRelease () |
| void | HookDecValueRelease () |
| void | HookRelease () |
| void | IncValuePress () |
| void | DecValuePress () |
| void | IncValueRelease () |
| void | DecValueRelease () |
| void | Release () |
| void | ClearCar () |
| vector< string > | GetFilenameList () |
| vector< string > | GetValueList () |
| string | GetValue () |
| bool | GetSelected () |
| string | GetSetting () |
| float * | GetCarPos () |
| void | SetFilenameList (vector< string > new_filename_list) |
| void | SetValueList (vector< string > new_value_list) |
| void | SetValue (string new_value) |
| void | SetSelected (bool new_selected) |
| void | SetSetting (string new_setting) |
| void | SetCarPos (float *new_carpos) |
Private Member Functions | |
| void | LoadCar () |
Private Attributes | |
| vector< string > | filename_list |
| vector< string > | value_list |
| Vamos_Body::Gl_Car * | car |
| Wheel< int > * | wheel |
| string | setting |
| TEXTURE_HANDLE | img_tex |
| TEXTURE_HANDLE | sphere_reflection |
| unsigned int | cur_option |
| float | last_t |
| float | rotation |
| float | fade_time |
| float | carpos [3] |
| bool | l_down |
| bool | r_down |
| bool | loaded |
| bool | car_in |
| bool | car_out |
| bool | extra_clicks |
| Uint32 | press_time |
Definition at line 14 of file spinning_car.h.
|
|
Definition at line 17 of file spinning_car.h. |
|
|
|
Definition at line 41 of file spinning_car.cpp. References ClearCar(). |
|
|
Reimplemented from VGUI::Widget. Definition at line 105 of file spinning_car.cpp. References car, loaded, NULL, and wheel. Referenced by LoadCar(), and ~SpinningCar(). |
|
|
Reimplemented from VGUI::Widget. Definition at line 305 of file spinning_car.cpp. References VGUI::Wheel< wheel_t >::DecValuePress(), loaded, and wheel. |
|
|
Reimplemented from VGUI::Widget. Definition at line 311 of file spinning_car.cpp. References car, VGUI::Wheel< wheel_t >::DecValueRelease(), VGUI::Wheel< wheel_t >::GetValue(), loaded, Vamos_Body::Gl_Car::SetPaint(), and wheel. |
|
|
Reimplemented from VGUI::Widget. Definition at line 145 of file spinning_car.cpp. References car, car_in, car_out, carpos, VGUI::Wheel< wheel_t >::Draw(), Vamos_Body::Gl_Car::draw(), extra_clicks, fade_time, QUATERNION::GetMat(), last_t, LightAmbient, LightDiffuse, LightPosition, LightSpecular, LoadCar(), loaded, press_time, QUATERNION::Rotate(), rotation, VGUI::Widget::selected, UTILITY::SelectTU(), VERTEX::Set(), Vamos_Body::Gl_Car::SetReflectionTexture(), VGUI::Widget::SetSelected(), sphere_reflection, utility, wheel, VERTEX::x, VERTEX::y, and VERTEX::z. |
|
|
Reimplemented from VGUI::Widget. Definition at line 140 of file spinning_car.cpp. |
|
|
Definition at line 44 of file spinning_car.h. References carpos. |
|
|
Definition at line 39 of file spinning_car.h. References filename_list. |
|
|
Reimplemented from VGUI::Widget. Definition at line 42 of file spinning_car.h. References VGUI::Widget::GetSelected(), and wheel. |
|
|
Definition at line 43 of file spinning_car.h. References setting. |
|
|
Definition at line 41 of file spinning_car.h. References cur_option, and value_list. |
|
|
Definition at line 40 of file spinning_car.h. References value_list. |
|
|
Reimplemented from VGUI::Widget. Definition at line 267 of file spinning_car.cpp. References HookRelease(), l_down, and press_time. |
|
|
Reimplemented from VGUI::Widget. Definition at line 274 of file spinning_car.cpp. References car_out, cur_option, HookRelease(), and press_time. |
|
|
Reimplemented from VGUI::Widget. Definition at line 250 of file spinning_car.cpp. References HookRelease(), and r_down. |
|
|
Reimplemented from VGUI::Widget. Definition at line 256 of file spinning_car.cpp. References car_out, cur_option, filename_list, HookRelease(), and press_time. |
|
|
Reimplemented from VGUI::Widget. Definition at line 285 of file spinning_car.cpp. References l_down, and r_down. Referenced by HookDecValuePress(), HookDecValueRelease(), HookIncValuePress(), and HookIncValueRelease(). |
|
|
Reimplemented from VGUI::Widget. Definition at line 290 of file spinning_car.cpp. References VGUI::Wheel< wheel_t >::IncValuePress(), loaded, and wheel. |
|
|
Reimplemented from VGUI::Widget. Definition at line 296 of file spinning_car.cpp. References car, VGUI::Wheel< wheel_t >::GetValue(), VGUI::Wheel< wheel_t >::IncValueRelease(), loaded, Vamos_Body::Gl_Car::SetPaint(), and wheel. |
|
|
||||||||||||
|
Reimplemented from VGUI::Widget. Definition at line 326 of file spinning_car.cpp. References loaded, VGUI::Wheel< wheel_t >::MouseOver(), and wheel. |
|
||||||||||||
|
Reimplemented from VGUI::Widget. Definition at line 345 of file spinning_car.cpp. References loaded, VGUI::Wheel< wheel_t >::MousePress(), and wheel. |
|
||||||||||||
|
Reimplemented from VGUI::Widget. Definition at line 374 of file spinning_car.cpp. References car, VGUI::Wheel< wheel_t >::GetValue(), loaded, VGUI::Wheel< wheel_t >::MouseRelease(), Vamos_Body::Gl_Car::SetPaint(), and wheel. |
|
|
Reimplemented from VGUI::Widget. Definition at line 320 of file spinning_car.cpp. References loaded, VGUI::Wheel< wheel_t >::Release(), and wheel. |
|
|
Reimplemented from VGUI::Widget. Definition at line 120 of file spinning_car.cpp. References car, car_in, SETTINGS::Get(), VGUI::Wheel< wheel_t >::GetValue(), LoadCar(), press_time, VGUI::Wheel< wheel_t >::ResetValue(), Vamos_Body::Gl_Car::SetPaint(), setting, settings, VGUI::Wheel< wheel_t >::SetValue(), SetValue(), and wheel. |
|
|
Reimplemented from VGUI::Widget. Definition at line 134 of file spinning_car.cpp. References loaded, VGUI::Wheel< wheel_t >::Save(), and wheel. |
|
|
Definition at line 50 of file spinning_car.h. References carpos. |
|
|
Definition at line 45 of file spinning_car.h. References filename_list. |
|
|
Reimplemented from VGUI::Widget. Definition at line 48 of file spinning_car.h. References VGUI::Widget::SetSelected(), and wheel. |
|
|
Reimplemented from VGUI::Widget. Definition at line 49 of file spinning_car.h. References setting. |
|
|
Reimplemented from VGUI::Widget. Definition at line 47 of file spinning_car.h. References cur_option, and value_list. Referenced by ResetValue(). |
|
|
Definition at line 46 of file spinning_car.h. References value_list. |
|
|
Definition at line 57 of file spinning_car.h. Referenced by ClearCar(), DecValueRelease(), Draw(), IncValueRelease(), LoadCar(), MouseRelease(), ResetValue(), and SpinningCar(). |
|
|
Definition at line 65 of file spinning_car.h. Referenced by Draw(), ResetValue(), and SpinningCar(). |
|
|
Definition at line 65 of file spinning_car.h. Referenced by Draw(), HookDecValueRelease(), HookIncValueRelease(), and SpinningCar(). |
|
|
Definition at line 64 of file spinning_car.h. Referenced by Draw(), GetCarPos(), and SetCarPos(). |
|
|
Definition at line 61 of file spinning_car.h. Referenced by GetValue(), HookDecValueRelease(), HookIncValueRelease(), LoadCar(), SetValue(), and SpinningCar(). |
|
|
Definition at line 66 of file spinning_car.h. Referenced by Draw(), and SpinningCar(). |
|
|
Definition at line 63 of file spinning_car.h. Referenced by Draw(), and SpinningCar(). |
|
|
Definition at line 55 of file spinning_car.h. Referenced by GetFilenameList(), HookIncValueRelease(), LoadCar(), and SetFilenameList(). |
|
|
Definition at line 60 of file spinning_car.h. |
|
|
Definition at line 65 of file spinning_car.h. Referenced by HookDecValuePress(), and HookRelease(). |
|
|
Definition at line 62 of file spinning_car.h. Referenced by Draw(), and SpinningCar(). |
|
|
Definition at line 65 of file spinning_car.h. Referenced by ClearCar(), DecValuePress(), DecValueRelease(), Draw(), IncValuePress(), IncValueRelease(), LoadCar(), MouseOver(), MousePress(), MouseRelease(), Release(), Save(), and SpinningCar(). |
|
|
Definition at line 67 of file spinning_car.h. Referenced by Draw(), HookDecValuePress(), HookDecValueRelease(), HookIncValueRelease(), and ResetValue(). |
|
|
Definition at line 65 of file spinning_car.h. Referenced by HookIncValuePress(), and HookRelease(). |
|
|
Definition at line 62 of file spinning_car.h. Referenced by Draw(), and SpinningCar(). |
|
|
Definition at line 59 of file spinning_car.h. Referenced by GetSetting(), ResetValue(), SetSetting(), and SpinningCar(). |
|
|
Definition at line 60 of file spinning_car.h. Referenced by Draw(), and SpinningCar(). |
|
|
Definition at line 56 of file spinning_car.h. Referenced by GetValue(), GetValueList(), LoadCar(), SetValue(), and SetValueList(). |
|
|
Definition at line 58 of file spinning_car.h. Referenced by ClearCar(), DecValuePress(), DecValueRelease(), Draw(), GetSelected(), IncValuePress(), IncValueRelease(), LoadCar(), MouseOver(), MousePress(), MouseRelease(), Release(), ResetValue(), Save(), SetSelected(), and SpinningCar(). |
1.4.6