euddraft
euddraft copied to clipboard
System for pluginizing eudplib codes.
# Issue CMakeList.txt in epscript doing test parser, and tokenizer via [catch.hpp](https://github.com/armoha/eudplib/blob/main/src/epscript/test/catch.hpp). But current version of catch(v2.0.1) is outdated causing `error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint,...
Copied from SEN discord server (Nov 24, 2024) > **GGRush**: Hi Dr.zzt, I would greatly appreciate it if you could help me improve this code > If you could add...
The flag seems to be flipped, by GGRush in Nov 11, 2024 (SEN discord):   > Answer by **DarkenedFantasies**: `isBuilding` is a bad name. that status flag makes units...
from StarEdit Network discord server (Oct 18, 2024) > **GGRush**: Hi Armo, may I ask you a question, what's difference between CUnit(epd) and CUnit(epd, ptr=ptr)? > If epd is enough...
```js // unitType is TrgUnit const unitType = cunit.unitType; switch (unitType) { case TrgUnit("Terran Marine"): // do something break; } var player: TrgPlayer = P12; switch (player) { case P1:...
```js // example code const unit = TrgUnit("Left Upper Level Door"); unit.availabilityFlags.SetDoodadState = false; // Syntax Error ``` Basic actions shouldn't be specialized in epScript parser and instead should be...
Unlike `string.Formatter`, f-string feature is for building string literal and is not open to customize. So it's quite hard to provide string interpolation feature in eudplib with f-string interface, but...