#ifndef INCLUDED_CPUS_H #define INCLUDED_CPUS_H #include #include #include "config.h" #include "caches.h" typedef struct cpu { Rectangle rec; char label[6]; Vector2 label_origin; Vector2 label_position; int highlighted; } *CPU; extern CPU cpus[CPU_COUNT]; extern int cpu_button_hover; void init_cpu (CPU, CACHE); bool handle_cpu_buttons (CPU); void draw_cpu (CPU); #endif