I thought it was the localization of the huge 'potion' table that causes the memory leakage; but as i remove the most significant localization, the program still crashes. I tried to turn off the DataExecPrevention service for the LÖVE.exe but the OS prohibits that. And moreover, the crash is not just BEX, but also Appcrash. Do you have any idea/suspect about why the program crashes?
If you don't mind, please try or read the program [sorry for the messy code]: Any corrections and suggestions about the program is welcomed.
Code: Select all
----------------------------------------[]
Readme
----------------------------------------[]
[RLC]Pötion: Particle Toolbox v0.1
Framework: LÖVE 0.6.0 Jiggly Juice
Copyright 2010 Rheza Louis
Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License
----------------------------------------[]
Buttons
----------------------------------------[]
[up] Move particleProp selection up
[down] Move particleProp selection down
[abc123,.?] Input parameter for the selected particleProp
[return] Assign parameter to the selected particleProp
[bkspc] Erase parameter
[shift+bksp]Clear commandLine
[f5] Restart the programme
[escape] Quit the programme
----------------------------------------[]
Command
----------------------------------------[]
"r" Restart the programme
"q" Quit the programme
"tcm" Toggle colorMode
"tbm" Toggle blendMode
"--"<str> Load the chunk <str> and execute it
----------------------------------------[]
Acknowlegdement
----------------------------------------[]
Thanks to Marcelo Magalhães Macedo for the nice "monoMMM5.ttf" typeface.