Code: Show/Hide if (!strnicmp(line, "[Warbird]", sizeof("[Warbird]"))
--- or --- #define test(a, b) !strnicmp((a), (b), sizeof(b)) |
| ship-all wrote: |
| ;All the stuff that is the same for each ship here
UpgradeRotation=0 UpgradeThrust=0 UpgradeSpeed=0 UpgradeRecharge=0 UpgradeEnergy=0 ... |
| arena.conf wrote: |
| [Warbird]
#include ship-all InitialGuns=3 ... [Javelin] #include ship-all InitialBombs=2 ... |
| ExplodyThingy wrote: |
| One problem with perl is that too few people have the capacity to run it. |
| Mine GO BOOM wrote: |
| [..]Windows is just a side-product, used for testing but not actual usage for large zones. |
| Dr Brain wrote: |
| The problem is that the current server infrastructure is Win32. |