how to declare a global struct ?

The #endif preprocesseur instruction should be placed a the end of you header file.

But anyway you should put the struct in HellriftAffixes.h like I show you in first place and add an:


#include "HellriftAffixes.h"

In The main project header file.

A tips, don’t use :

#ifndef HELLRIFT_H
#define HELLRIFT_H
#endif // HELLRIFT_H

its an old way.

Use just:
#pragma once

It works under linux too :wink: