Checking for existence: C:\Users\Matthew\Mod\bin\Release\Mod.exe Executing: "C:\Users\Matthew\Mod\bin\Release\Mod.exe" (in C:\Users\Matthew\Mod\.) Process terminated with status -1073741819 (0 minutes, 19 seconds)
you are running into some element limit issues then... wall numbers start at 222, so the farther you go from there, the more problems. i bet that is what is causing the issues.
well... increasing it won't make it work... mostly because of the unsigned char thing you mentioned.
the particle and wall selections are pretty connected right now, and have a 0-255 limit. the particle limit is for a different reason though.
changing the type of bmap might work, there are a few other manual changes you may need to make by increasing it. but still that would only give a 0-255 particle limit still.
theres not terribly much you can do, i'm afraid, i did manage to increase limit even more, you can try the same thing i did, here are the commits.
of course this was with an older version, but the main thing is increasing the bitshift that stores particle type, which allows for higher limit. when i did it, i only had a few wall glitches which could probably be fixed.
#define PS 12 //the particle number shift that also determines element limit #define TYPE (int)pow(2,PS)-1 //where the type of the particle is stored in pmap
it still errors though
thanks for your help
edit:::
fixed it :D
thanks
do i need to put the 0xFF to 0xFFF or TYPE? EDIT::: nvm - its messed up if i dont
edit:::
changing the number to anything other than 8 makes the colour go wierd
i have succesfully added those 3 commits. but i am having a few minor problems.. firstly walls keep randomly appearing... secondly blendpixel and apppixel and the menu's graphics are messed up