trystero49
Prince
- Joined
- Apr 30, 2012
- Messages
- 515
I'm looking through the .cpp and .h files trying to figure out what's what. I've been able to compile a .dll thanks to the sticky. But I have some questions.
a) When I open up the project, it has two sub-folders, one that builds a vanilla .dll and one that builds an expansion .dll. If I know that I am not going to build a vanilla .dll, can I just get rid of the other folder, or does one reference the other?
b) I am trying to change up some of the limiting values in the game. I've found the #define that determines the max number of wonders (whether or the change will do anything I still have to test). But I am having a hard time finding values for Max Promotions and Max Civs. Is there an easy way to look for this stuff other than typing each combination of "Max" "Civs" "Major" "Player" "22" "#define" that I can think of? Also, how can I tell how much of a performance hit any of these changes make?
c) This is the first time I've seen "#pragma once" but I think wikipedia cleared up what it does for me. However, I don't think I know how to use it. How do I know that I should use #pragma once in any code that I write?
Thanks.
a) When I open up the project, it has two sub-folders, one that builds a vanilla .dll and one that builds an expansion .dll. If I know that I am not going to build a vanilla .dll, can I just get rid of the other folder, or does one reference the other?
b) I am trying to change up some of the limiting values in the game. I've found the #define that determines the max number of wonders (whether or the change will do anything I still have to test). But I am having a hard time finding values for Max Promotions and Max Civs. Is there an easy way to look for this stuff other than typing each combination of "Max" "Civs" "Major" "Player" "22" "#define" that I can think of? Also, how can I tell how much of a performance hit any of these changes make?
c) This is the first time I've seen "#pragma once" but I think wikipedia cleared up what it does for me. However, I don't think I know how to use it. How do I know that I should use #pragma once in any code that I write?
Thanks.