diff --git a/include/IEventReceiver.h b/include/IEventReceiver.h index 6564b206..89dd0206 100644 --- a/include/IEventReceiver.h +++ b/include/IEventReceiver.h @@ -229,6 +229,8 @@ namespace irr //! A tree view node was collapsed. See IGUITreeView::getLastEventNode(). EGET_TREEVIEW_NODE_COLLAPS, + //! No real event. Just for convenience to get number of events + EGET_COUNT }; } // end namespace gui diff --git a/include/SIrrCreationParameters.h b/include/SIrrCreationParameters.h index 706abebf..ed34a7f0 100644 --- a/include/SIrrCreationParameters.h +++ b/include/SIrrCreationParameters.h @@ -122,7 +122,7 @@ namespace irr again by the user. The value is the maximal antialiasing factor requested for the device. The cretion method will automatically try smaller - values if no window can be created with the diven value. + values if no window can be created with the given value. Value one is usually the same as 0 (disabled), but might be a special value on some platforms. On D3D devices it maps to NONMASKABLE. diff --git a/include/irrMath.h b/include/irrMath.h index ab411e28..2a64f18d 100644 --- a/include/irrMath.h +++ b/include/irrMath.h @@ -25,6 +25,10 @@ #define logf(X) (f32)log((f64)(X)) #endif +#ifndef FLT_MAX +#define FLT_MAX 3.402823466E+38F +#endif + namespace irr { namespace core