Convertit "param" a variable global en lloc de anar marejant amb punterets i passant 8.000.000 de paràmetres

This commit is contained in:
2024-09-27 17:42:25 +02:00
parent c1bf0b8aed
commit 46b41757b2
28 changed files with 279 additions and 293 deletions

View File

@@ -23,7 +23,6 @@ private:
// Variables
options_t *options; // Opciones del programa
param_t *param; // Puntero con todos los parametros del programa
section_t *section; // Indicador para el bucle del titulo
bool enabled; // Indica si el objeto está habilitado
int x; // Posición donde dibujar el texto
@@ -47,7 +46,7 @@ private:
public:
// Constructor
DefineButtons(Input *input, Text *text, param_t *param, options_t *options, section_t *section);
DefineButtons(Input *input, Text *text, options_t *options, section_t *section);
// Destructor
~DefineButtons();