Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <base.h>
Classes | |
class | BaseObj |
class | BasePython |
class | BaseShip |
class | BaseTalk |
class | BaseText |
class | BaseVSMovie |
class | BaseVSSprite |
class | Comp |
class | Eject |
class | Goto |
class | Launch |
class | Link |
class | Python |
class | Talk |
Public Member Functions | |
void | Draw (::BaseInterface *base) |
void | Click (::BaseInterface *base, float x, float y, int button, int state) |
int | MouseOver (::BaseInterface *base, float x, float y) |
Room () | |
~Room () | |
Public Attributes | |
std::string | soundfile |
std::string | deftext |
std::vector< Link * > | links |
std::vector< BaseObj * > | objs |
BaseInterface::Room::Room | ( | ) |
Definition at line 125 of file base_interface.cpp.
Referenced by BaseInterface::GotoLink().
BaseInterface::Room::~Room | ( | ) |
void BaseInterface::Room::Click | ( | ::BaseInterface * | base, |
float | x, | ||
float | y, | ||
int | button, | ||
int | state | ||
) |
Definition at line 670 of file base_interface.cpp.
References biModifyMouseSensitivity(), BaseInterface::Room::Link::Click(), BaseUtil::Comp(), g_game, BaseInterface::Room::Link::hei, i, index, int, BaseUtil::Launch(), links, MouseOver(), objs, BaseInterface::PassiveMouseOverWin(), VSFileSystem::vs_close(), VSFileSystem::vs_feof(), VSFileSystem::vs_fscanf(), VSFileSystem::vs_open(), BaseInterface::Room::Link::wid, winsys_warp_pointer(), WS_LEFT_BUTTON, WS_MIDDLE_BUTTON, WS_MOUSE_UP, WS_RIGHT_BUTTON, BaseInterface::Room::Link::x, x, game_data_t::x_resolution, BaseInterface::Room::Link::y, y, and game_data_t::y_resolution.
void BaseInterface::Room::Draw | ( | ::BaseInterface * | base) |
Definition at line 337 of file base_interface.cpp.
References GFXColor::a, TextPlane::bgcol, TextPlane::col, VSSprite::Draw(), TextPlane::Draw(), TextPlane::GetCharSize(), VSSprite::GetSize(), TextPlane::GetText(), VegaConfig::getVariable(), GFXBegin(), GFXBlendMode(), GFXColor4f(), GFXDisable(), GFXEnable(), GFXEnd(), GFXLINESTRIP, GFXVertexf(), i, index, INVSRCALPHA, links, objs, XMLSupport::parse_bool(), XMLSupport::parse_float(), TextPlane::SetPos(), VSSprite::SetPosition(), TextPlane::SetText(), SRCALPHA, TEXTURE0, TEXTURE1, Vector, vs_config, x, and y.
int BaseInterface::Room::MouseOver | ( | ::BaseInterface * | base, |
float | x, | ||
float | y | ||
) |
Definition at line 610 of file base_interface.cpp.
Referenced by Click().
std::string BaseInterface::Room::deftext |
Definition at line 308 of file base.h.
Referenced by BaseInterface::GotoLink(), and BaseInterface::MouseOver().
std::vector< Link* > BaseInterface::Room::links |
Definition at line 309 of file base.h.
Referenced by BaseUtil::BaseLink(), Click(), BaseUtil::CompPython(), Draw(), BaseUtil::EjectPython(), BaseUtil::EraseLink(), BaseUtil::LaunchPython(), BaseUtil::LinkPython(), MouseOver(), BaseInterface::MouseOver(), BaseUtil::Python(), BaseUtil::SetLinkArea(), BaseUtil::SetLinkEventMask(), BaseUtil::SetLinkPython(), BaseUtil::SetLinkRoom(), and BaseUtil::SetLinkText().
std::vector< BaseObj* > BaseInterface::Room::objs |
Definition at line 310 of file base.h.
Referenced by Click(), Draw(), BaseUtil::EraseObj(), BaseUtil::VideoAudioStreamListener::onEndOfStream(), BaseUtil::PlayVideo(), BaseUtil::RunScript(), BaseUtil::SetTextBoxText(), BaseUtil::SetTexture(), BaseUtil::SetTexturePos(), BaseUtil::SetTextureSize(), BaseUtil::SetVideoCallback(), BaseUtil::Ship(), BaseUtil::StopVideo(), BaseUtil::TextBox(), BaseUtil::Texture(), BaseUtil::Video(), and BaseUtil::VideoStream().