WolferCooker wrote:Okay I'm gonna start coding again. I have 3 new questions for you Tricob:
1. Your in-game messages feature works differently than WSJ's with the GetMessage routine I see. I see in that routine you put in STR_SOMETHING. How does this work? Can you assist me on how your version works and how to properly add new messages?
Let's say you want to change the message for picking up Key #1. In "_messages.h", change this line:
- Code: Select all
#define STR_GOTKEY1 "Got the yellow key."
... and change the message in quotes.
- Code: Select all
#define STR_GOTKEY1 "Key #1 retrieved."
2. I want to make ammo separate. I'm looking at the DHW tutorial for it and it tells you to first define the separate ammo in the version.h. I could do that, but your custom.h, advanced.h files seem to be extensions of version.h. From your source code, which file is the best to define new items and features?
For now, just put them in "(custom).h".
3. Before I make the ammo separate, I have to add a new ammo clip and I want to define it in your BONUSFEATURES section where you have added your own new objects instead of with the original objects. ...
I admit I've gotten rusty with this already.
No, you just need to set the H files to run the MyMod4SDL files.
I can send the modified files into DropBox, but I have an updated, "official" version of MyMod4SDL to send to Brian first, now that I'm done fine-tuning it.