-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Does BasicPawn has own service #include to know that the code is being compiled by this specific compiler?
Well, you may I ask why... I'd like to make some code (like Left 4 DHooks Direct) be compatible with BasicPawn (in sense of the latest SM version supported by BP) without breaking original code style.
E.g.:
enum L4D2WeaponId
{
...
#if defined BasicPawn
L4D2WeaponId_Max
#endif
}
#if defined BasicPawn
static const char L4D2WeaponWorldModel[L4D2WeaponId][] =
#else
static const char L4D2WeaponWorldModel[L4D2WeaponId_Max][] =
#endif
{
...
}
Some language features used above are only supported by the newest SM.