When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
9 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
Don't use single comments like that ever in macros
Use a multiline comment /* */ if you must use a comment inside a macro
Basically what happens is SCREEN_WIDTH expands like this:
1. SCREEN_WIDTH
2. DISPLAY_WIDTH * DISPLAY_SCALE // 640
3. TILE_SIZE * TILE_ROW_LEN // 256 * DISPLAY_SCALE // 640
```And hopefully here you see the issue
Wot, that's not how it works.
Am I misremembering?
Oh, I'm thinking of multiline macros with \