Anyway, I had basic vector trees rendering (above) until I hit the dreaded 512 byte limit (it's times like these you think 1kb would give you the freedom you needed and how wonderful it would be if this were a 1kb demoscene competition instead!). I'm up to 591 bytes and my code basically contains the following:
- - Init logic
- Draw terrain/map (the main loop)
- Plot pixel
- Draw line
- Draw scaled vector image at coordinate
- Generate random number
- 2 vector images
I am asking if you can see what I could cut back on and which functions I can optimize (I'm relatively new to using assembly outside of short stubs of code, which you may tell from my coding style). I appreciate any help you can give me on this.
Here is a link to my FASM source: http://asm.pastebin.com/m5fd3525d