manuals tidy tier 2: empty-catch, enum-size, trivially-destructible
This commit is contained in:
@@ -49,7 +49,7 @@ namespace Menu {
|
||||
static constexpr float HEIGHT_RATE = 12.0F; // smoothing exponencial de l'alçada (~150 ms al 90%)
|
||||
|
||||
// --- Items ---
|
||||
enum class ItemKind { Toggle,
|
||||
enum class ItemKind : std::uint8_t { Toggle,
|
||||
Cycle,
|
||||
IntRange,
|
||||
Submenu,
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace Overlay {
|
||||
|
||||
// --- Estat de les notificacions ---
|
||||
|
||||
enum class Status { RISING,
|
||||
enum class Status : std::uint8_t { RISING,
|
||||
STAY,
|
||||
VANISHING,
|
||||
FINISHED };
|
||||
@@ -73,7 +73,7 @@ namespace Overlay {
|
||||
|
||||
// --- Crèdits cinematogràfics ---
|
||||
// Usen el sistema de notificacions en posició TOP_CENTER_DROP.
|
||||
enum class CreditsPhase { IDLE,
|
||||
enum class CreditsPhase : std::uint8_t { IDLE,
|
||||
DELAY,
|
||||
PLAYING_1,
|
||||
GAP,
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
@@ -10,7 +11,7 @@
|
||||
namespace Rendering {
|
||||
|
||||
/** @brief Identificador del shader de post-procesado activo */
|
||||
enum class ShaderType { POSTFX,
|
||||
enum class ShaderType : std::uint8_t { POSTFX,
|
||||
CRTPI };
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user