@@ -317,7 +317,7 @@ namespace RTE {
317
317
// / @param rotAngle Rotation angle in radians.
318
318
// / @param frame Frame to draw.
319
319
// / @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 ); }
321
321
322
322
// / Schedule to draw a bitmap primitive with the option to flip the primitive horizontally and vertically.
323
323
// / @param centerPos Position of primitive's center in scene coordinates.
@@ -336,7 +336,7 @@ namespace RTE {
336
336
// / @param scale Drawing scale.
337
337
// / @param hFlipped Whether to flip the sprite horizontally.
338
338
// / @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); }
340
340
341
341
// / Schedule to draw a bitmap primitive visible only to a specified player.
342
342
// / @param player Player screen to draw primitive on.
@@ -353,7 +353,7 @@ namespace RTE {
353
353
// / @param rotAngle Rotation angle in radians.
354
354
// / @param frame Frame to draw.
355
355
// / @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 ); }
357
357
358
358
// / Schedule to draw a bitmap primitive visible only to a specified player with the option to flip the primitive horizontally or vertically.
359
359
// / @param player Player screen to draw primitive on.
@@ -363,7 +363,7 @@ namespace RTE {
363
363
// / @param frame Frame to draw.
364
364
// / @param hFlipped Whether to flip the sprite horizontally.
365
365
// / @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 ); }
367
367
368
368
// / Schedule to draw a bitmap primitive visible only to a specified player with the option to flip the primitive horizontally or vertically.
369
369
// / @param player Player screen to draw primitive on.
@@ -374,7 +374,7 @@ namespace RTE {
374
374
// / @param scale Drawing scale.
375
375
// / @param hFlipped Whether to flip the sprite horizontally.
376
376
// / @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);
378
378
379
379
// / Schedule to draw a bitmap primitive.
380
380
// / @param centerPos Position of primitive's center in scene coordinates.
@@ -387,7 +387,7 @@ namespace RTE {
387
387
// / @param filePath Path to the bitmap to draw.
388
388
// / @param rotAngle Rotation angle in radians.
389
389
// / @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 ); }
391
391
392
392
// / Schedule to draw a bitmap primitive with the option to flip the primitive horizontally and vertically.
393
393
// / @param centerPos Position of primitive's center in scene coordinates.
@@ -404,7 +404,7 @@ namespace RTE {
404
404
// / @param scale Drawing scale.
405
405
// / @param hFlipped Whether to flip the sprite horizontally.
406
406
// / @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); }
408
408
409
409
// / Schedule to draw a bitmap primitive visible only to a specified player.
410
410
// / @param player Player screen to draw primitive on.
@@ -419,7 +419,7 @@ namespace RTE {
419
419
// / @param filePath Path to the bitmap to draw.
420
420
// / @param rotAngle Rotation angle in radians.
421
421
// / @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 ); }
423
423
424
424
// / Schedule to draw a bitmap primitive visible only to a specified player with the option to flip the primitive horizontally or vertically.
425
425
// / @param player Player screen to draw primitive on.
@@ -428,7 +428,7 @@ namespace RTE {
428
428
// / @param rotAngle Rotation angle in radians.
429
429
// / @param hFlipped Whether to flip the sprite horizontally.
430
430
// / @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 ); }
432
432
433
433
// / Schedule to draw a bitmap primitive visible only to a specified player with the option to flip the primitive horizontally or vertically.
434
434
// / @param player Player screen to draw primitive on.
@@ -438,7 +438,7 @@ namespace RTE {
438
438
// / @param scale Drawing scale.
439
439
// / @param hFlipped Whether to flip the sprite horizontally.
440
440
// / @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);
442
442
443
443
// / Schedule to draw the GUI icon of an object.
444
444
// / @param centerPos Position of primitive's center in scene coordinates.
0 commit comments