mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
Make sure elements include their headers
This helps catch type mismatches.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "simulation/ElementCommon.h"
|
||||
#include "Probability.h"
|
||||
#include "EMP.h"
|
||||
|
||||
static int graphics(GRAPHICS_FUNC_ARGS);
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
#include "simulation/ElementCommon.h"
|
||||
#include "ETRD.h"
|
||||
#include <algorithm>
|
||||
|
||||
static void initDeltaPos();
|
||||
|
@@ -1,4 +1,5 @@
|
||||
#include "simulation/ElementCommon.h"
|
||||
#include "LOLZ.h"
|
||||
|
||||
void Element::Element_LOLZ()
|
||||
{
|
||||
|
@@ -1,4 +1,5 @@
|
||||
#include "simulation/ElementCommon.h"
|
||||
#include "SOAP.h"
|
||||
|
||||
static int update(UPDATE_FUNC_ARGS);
|
||||
static int graphics(GRAPHICS_FUNC_ARGS);
|
||||
|
@@ -9,4 +9,3 @@ void Element_STKM_init_legs(Simulation * sim, playerst *playerp, int i);
|
||||
void Element_STKM_interact(Simulation *sim, playerst *playerp, int i, int x, int y);
|
||||
int Element_STKM_run_stickman(playerst *playerp, UPDATE_FUNC_ARGS);
|
||||
void Element_STKM_set_element(Simulation *sim, playerst *playerp, int element);
|
||||
void Element_STKM_set_element(Simulation *sim, playerst *playerp, int element);
|
||||
|
Reference in New Issue
Block a user