if you're going to use gVariable & mClassMember, I think it's only natural to be consistent and use kConstant as well. I would reserve the ALL_CAPS specifically for macros - anything that uses #define.
Const variables should be always used in place of #define SOME_VAR 42. There's no type safety in #defined values, they are compile time evaluated constructs. I'd also suggest keeping macros to a minimum where possible, since you can't debug them. But they have their uses, and I find it useful when they're ALL_CAPS to distinguish them from regular code.
string parsing crashes
All code submission.
Jump to
- Announcements
- Wagic forums & community
- User-created content
- ↳ Custom Cards & Images
- ↳ Custom decks & Competition
- ↳ Custom Sets
- ↳ Themes
- ↳ Card Coding
- ↳ Working & Added
- ↳ Borderline & Crappy - Not added
- ↳ Discussion & Misc
- ↳ Other Languages
- ↳ Tools
- ↳ Campaigns and mods
- Wagic - The Game
- ↳ Bug reports
- ↳ Open Issues
- ↳ Technical Support
- ↳ Misc
- Programmers
- ↳ Suggestions & feature requests
- ↳ Card Coding & Parser
- ↳ Game Mode
- ↳ Deck Editor
- ↳ AI improvement
- ↳ Shop
- ↳ Bonus, Credits & Rewards
- ↳ Wagic on other platform
- ↳ Graphic User Interface
- ↳ Git & Programmers' section
- ↳ Code submission
- ↳ Compilation & Sources
- Misc
- ↳ Misc
- ↳ PSP General Discussion
- ↳ Archives
- ↳ Half Byte Loader