@@ -317,7 +317,7 @@ namespace RTE {
317317 // / @param rotAngle Rotation angle in radians.
318318 // / @param frame Frame to draw.
319319 // / @param scale Drawing scale.
320- void DrawBitmapPrimitive (const Vector& centerPos, const MOSprite* moSprite, float rotAngle, unsigned int frame, unsigned int scale) { DrawBitmapPrimitive (-1 , centerPos, moSprite, rotAngle, scale, frame, false , false ); }
320+ void DrawBitmapPrimitive (const Vector& centerPos, const MOSprite* moSprite, float rotAngle, unsigned int frame, float scale) { DrawBitmapPrimitive (-1 , centerPos, moSprite, rotAngle, scale, frame, false , false ); }
321321
322322 // / Schedule to draw a bitmap primitive with the option to flip the primitive horizontally and vertically.
323323 // / @param centerPos Position of primitive's center in scene coordinates.
@@ -336,7 +336,7 @@ namespace RTE {
336336 // / @param scale Drawing scale.
337337 // / @param hFlipped Whether to flip the sprite horizontally.
338338 // / @param vFlipped Whether to flip the sprite vertically.
339- void DrawBitmapPrimitive (const Vector& centerPos, const MOSprite* moSprite, float rotAngle, unsigned int frame, unsigned int scale, bool hFlipped, bool vFlipped) { DrawBitmapPrimitive (-1 , centerPos, moSprite, rotAngle, frame, scale, hFlipped, vFlipped); }
339+ void DrawBitmapPrimitive (const Vector& centerPos, const MOSprite* moSprite, float rotAngle, unsigned int frame, float scale, bool hFlipped, bool vFlipped) { DrawBitmapPrimitive (-1 , centerPos, moSprite, rotAngle, frame, scale, hFlipped, vFlipped); }
340340
341341 // / Schedule to draw a bitmap primitive visible only to a specified player.
342342 // / @param player Player screen to draw primitive on.
@@ -353,7 +353,7 @@ namespace RTE {
353353 // / @param rotAngle Rotation angle in radians.
354354 // / @param frame Frame to draw.
355355 // / @param scale Drawing scale.
356- void DrawBitmapPrimitive (int player, const Vector& centerPos, const MOSprite* moSprite, float rotAngle, unsigned int frame, unsigned int scale) { DrawBitmapPrimitive (player, centerPos, moSprite, rotAngle, frame, scale, false , false ); }
356+ void DrawBitmapPrimitive (int player, const Vector& centerPos, const MOSprite* moSprite, float rotAngle, unsigned int frame, float scale) { DrawBitmapPrimitive (player, centerPos, moSprite, rotAngle, frame, scale, false , false ); }
357357
358358 // / Schedule to draw a bitmap primitive visible only to a specified player with the option to flip the primitive horizontally or vertically.
359359 // / @param player Player screen to draw primitive on.
@@ -363,7 +363,7 @@ namespace RTE {
363363 // / @param frame Frame to draw.
364364 // / @param hFlipped Whether to flip the sprite horizontally.
365365 // / @param vFlipped Whether to flip the sprite vertically.
366- void DrawBitmapPrimitive (int player, const Vector& centerPos, const MOSprite* moSprite, float rotAngle, unsigned int frame, bool hFlipped, bool vFlipped) { DrawBitmapPrimitive (player, centerPos, moSprite, rotAngle, frame, 1u , false , false ); }
366+ void DrawBitmapPrimitive (int player, const Vector& centerPos, const MOSprite* moSprite, float rotAngle, unsigned int frame, bool hFlipped, bool vFlipped) { DrawBitmapPrimitive (player, centerPos, moSprite, rotAngle, frame, 1 . 0f , false , false ); }
367367
368368 // / Schedule to draw a bitmap primitive visible only to a specified player with the option to flip the primitive horizontally or vertically.
369369 // / @param player Player screen to draw primitive on.
@@ -374,7 +374,7 @@ namespace RTE {
374374 // / @param scale Drawing scale.
375375 // / @param hFlipped Whether to flip the sprite horizontally.
376376 // / @param vFlipped Whether to flip the sprite vertically.
377- void DrawBitmapPrimitive (int player, const Vector& centerPos, const MOSprite* moSprite, float rotAngle, unsigned int frame, unsigned int scale, bool hFlipped, bool vFlipped);
377+ void DrawBitmapPrimitive (int player, const Vector& centerPos, const MOSprite* moSprite, float rotAngle, unsigned int frame, float scale, bool hFlipped, bool vFlipped);
378378
379379 // / Schedule to draw a bitmap primitive.
380380 // / @param centerPos Position of primitive's center in scene coordinates.
@@ -387,7 +387,7 @@ namespace RTE {
387387 // / @param filePath Path to the bitmap to draw.
388388 // / @param rotAngle Rotation angle in radians.
389389 // / @param scale Drawing scale.
390- void DrawBitmapPrimitive (const Vector& centerPos, const std::string& filePath, float rotAngle, unsigned int scale) { DrawBitmapPrimitive (-1 , centerPos, filePath, rotAngle, scale, false , false ); }
390+ void DrawBitmapPrimitive (const Vector& centerPos, const std::string& filePath, float rotAngle, float scale) { DrawBitmapPrimitive (-1 , centerPos, filePath, rotAngle, scale, false , false ); }
391391
392392 // / Schedule to draw a bitmap primitive with the option to flip the primitive horizontally and vertically.
393393 // / @param centerPos Position of primitive's center in scene coordinates.
@@ -404,7 +404,7 @@ namespace RTE {
404404 // / @param scale Drawing scale.
405405 // / @param hFlipped Whether to flip the sprite horizontally.
406406 // / @param vFlipped Whether to flip the sprite vertically.
407- void DrawBitmapPrimitive (const Vector& centerPos, const std::string& filePath, float rotAngle, unsigned int scale, bool hFlipped, bool vFlipped) { DrawBitmapPrimitive (-1 , centerPos, filePath, rotAngle, scale, hFlipped, vFlipped); }
407+ void DrawBitmapPrimitive (const Vector& centerPos, const std::string& filePath, float rotAngle, float scale, bool hFlipped, bool vFlipped) { DrawBitmapPrimitive (-1 , centerPos, filePath, rotAngle, scale, hFlipped, vFlipped); }
408408
409409 // / Schedule to draw a bitmap primitive visible only to a specified player.
410410 // / @param player Player screen to draw primitive on.
@@ -419,7 +419,7 @@ namespace RTE {
419419 // / @param filePath Path to the bitmap to draw.
420420 // / @param rotAngle Rotation angle in radians.
421421 // / @param scale Drawing scale.
422- void DrawBitmapPrimitive (int player, const Vector& centerPos, const std::string& filePath, float rotAngle, unsigned int scale) { DrawBitmapPrimitive (player, centerPos, filePath, rotAngle, scale, false , false ); }
422+ void DrawBitmapPrimitive (int player, const Vector& centerPos, const std::string& filePath, float rotAngle, float scale) { DrawBitmapPrimitive (player, centerPos, filePath, rotAngle, scale, false , false ); }
423423
424424 // / Schedule to draw a bitmap primitive visible only to a specified player with the option to flip the primitive horizontally or vertically.
425425 // / @param player Player screen to draw primitive on.
@@ -428,7 +428,7 @@ namespace RTE {
428428 // / @param rotAngle Rotation angle in radians.
429429 // / @param hFlipped Whether to flip the sprite horizontally.
430430 // / @param vFlipped Whether to flip the sprite vertically.
431- void DrawBitmapPrimitive (int player, const Vector& centerPos, const std::string& filePath, float rotAngle, bool hFlipped, bool vFlipped) { DrawBitmapPrimitive (player, centerPos, filePath, rotAngle, 1u , false , false ); }
431+ void DrawBitmapPrimitive (int player, const Vector& centerPos, const std::string& filePath, float rotAngle, bool hFlipped, bool vFlipped) { DrawBitmapPrimitive (player, centerPos, filePath, rotAngle, 1 . 0f , false , false ); }
432432
433433 // / Schedule to draw a bitmap primitive visible only to a specified player with the option to flip the primitive horizontally or vertically.
434434 // / @param player Player screen to draw primitive on.
@@ -438,7 +438,7 @@ namespace RTE {
438438 // / @param scale Drawing scale.
439439 // / @param hFlipped Whether to flip the sprite horizontally.
440440 // / @param vFlipped Whether to flip the sprite vertically.
441- void DrawBitmapPrimitive (int player, const Vector& centerPos, const std::string& filePath, float rotAngle, unsigned int scale, bool hFlipped, bool vFlipped);
441+ void DrawBitmapPrimitive (int player, const Vector& centerPos, const std::string& filePath, float rotAngle, float scale, bool hFlipped, bool vFlipped);
442442
443443 // / Schedule to draw the GUI icon of an object.
444444 // / @param centerPos Position of primitive's center in scene coordinates.
0 commit comments