Utodev / ngPAWS

ngPAWS interactive fiction (text adventure game) authoring system. Genarates HTML/javascript games runable in any browser.
http://www.ngpaws.com
31 stars 17 forks source link

[10 beta] NON_CREATED shortcut doesn't exist #15

Closed cibersheep closed 7 years ago

cibersheep commented 7 years ago

As read in the wiki, there is a special location called NON_CREATED. But this shortcut doesn't exist and compiler gives an error.

The easiest workaround is to define it: #define const NON_CREATED = 252

Also, should it be called NOT_CREATED?

Utodev commented 7 years ago

It's amazing to see how such a simple feature fail has been unnoticed for more than ten years (as this bug is also in Superglus and Paguaglus, ngPAWS acestors). I have fixed it and will be avaliable in next release. Your temporary patch is OK and compatible with my fix, so you can use it in the meantime.

You are also right that it should be NOT_CREATED, but as for many years it has been described in documentation as NON_CREATED, I've decide tu support both NON and NOT shortcuts.

cibersheep commented 7 years ago

Hehehe I guess because it's easy to workaround. I agree with you i keeping the name as in the documentation.

Utodev commented 7 years ago

The fact I don't use them myself, otherwise they'd been located long ago, but for me is easier and shorter using 254, 253, 252 :-). Less readable though, but those numbers are engraved in stone in my mind since the old PAWS days.