X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fambient_sound.hpp;h=dd5c9da9686af7110818df82612d5548269a25f9;hb=08ccb17345a52f5ffd8a5dd6ecf675cad55f16a7;hp=8f4dbbce07be3cf5d7bfcba6520d857e26a5c48c;hpb=97571f801799e77920f32dbc433a805053fe6124;p=supertux.git diff --git a/src/object/ambient_sound.hpp b/src/object/ambient_sound.hpp index 8f4dbbce0..dd5c9da96 100644 --- a/src/object/ambient_sound.hpp +++ b/src/object/ambient_sound.hpp @@ -21,7 +21,7 @@ /** * Ambient Sound Source, gamma version. Features: * - * - "rounded rectancle" geometry with position, dimension and + * - "rounded rectangle" geometry with position, dimension and * "rounding radius" (extending in all directions) of a 100% * volume area, adjustable maximum volume, inverse square * falloff outside area. @@ -32,7 +32,7 @@ * * x, y position * width, height dimension - * distance_factor high = steep fallofff + * distance_factor high = steep falloff * distance_bias high = big "100% disc" * silence_distance defaults reasonably. * sample sample to be played back in loop mode @@ -67,15 +67,15 @@ public: return position; } - /** + /** * @name Scriptable Methods - * @{ + * @{ */ void set_pos(float x, float y); float get_pos_x() const; float get_pos_y() const; - /** - * @} + /** + * @} */ protected: