Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Functions | |
int | float_to_int (float) |
works on any float... INF is 0x7ffffff and -INF is -(1<<31) NaN is 0 More... | |
int | double_to_int (float) |
works on any float... INF is 0x7ffffff and -INF is -(1<<31) NaN is 0
Definition at line 85 of file macosx_math.cpp.
References int.
Referenced by AddSubUnits(), Picker::cellForMouse(), Orders::FireAt::ChooseTargets(), Unit::DamageRandSys(), RText::draw_text(), NewButton::drawCycleBorder(), Mesh::getLOD(), Unit::ImportPartList(), Beam::Init(), InList(), Unit::Kill(), Slider::processMouseDrag(), Picker::recalcDisplay(), Picker::scrollToCell(), Slider::setMaxMin(), and WarpPursuit().