C2C SVN Changelog

That usually means that it might be too long of a commit, and you might have to do half one time and half another time, i have run into that before also, also they do do maintenance late at night (USA Time) of course.

I think that single files over 10+ Megabytes cause my problems. So i try to 7Zip the debug dll.

Ok it finally worked so here is the new parser. Later i post more details about the changes that affect dll programmers.
It looks that we finally are able to start the game using the debug dll without ctd.
SVN6643

Xml-Parser changed to Xerces-c based on n47's work.
Xerces is linked into the CvGameCoreDLL so no additional dll is needed.
Created three additional Xml read functions for Tags to reduce the amount of code a bit.
Added VS2012 Project files.
New file CvCacheStream.h contains some cache Read/Write functions from CvInfos.cpp and the CACHE_VERSION is now defined in that file.
Currently there is no Schema Validation active we have to switch to Xsd Schema's.
Various Functions used for XmlReading have been renamed or removed.

Changes from n47:
Xerces uses utf16 almost for everything so I switched tag names to be wchar_t.
Also -- now CvXMLLoadUtility is is fully responsible for getting anything from xml, so everything except CvXMLLoadUtility is now parser-independent. (There is still a getter GetCurrentXMLElement, which exposes a DOM objects, but it was only for debugging purpose.)
Also -- I started switching some design convention. All method which are of the form GetSomething(...) should fail an assertion, if they can't retrieve data. If we allow an optional value which can be missing, we should have another method like TryGetSomthing, GetOptionalSomthing or FindSomthing to get it without errors. This is safer.
 
Since I am on holiday, anyone is free to edit my files.
 
I think that single files over 10+ Megabytes cause my problems. So i try to 7Zip the debug dll.

Ok it finally worked so here is the new parser. Later i post more details about the changes that affect dll programmers.
It looks that we finally are able to start the game using the debug dll without ctd.
SVN6643

Xml-Parser changed to Xerces-c based on n47's work.
Xerces is linked into the CvGameCoreDLL so no additional dll is needed.
Created three additional Xml read functions for Tags to reduce the amount of code a bit.
Added VS2012 Project files.
New file CvCacheStream.h contains some cache Read/Write functions from CvInfos.cpp and the CACHE_VERSION is now defined in that file.
Currently there is no Schema Validation active we have to switch to Xsd Schema's.
Various Functions used for XmlReading have been renamed or removed.

Changes from n47:
Xerces uses utf16 almost for everything so I switched tag names to be wchar_t.
Also -- now CvXMLLoadUtility is is fully responsible for getting anything from xml, so everything except CvXMLLoadUtility is now parser-independent. (There is still a getter GetCurrentXMLElement, which exposes a DOM objects, but it was only for debugging purpose.)
Also -- I started switching some design convention. All method which are of the form GetSomething(...) should fail an assertion, if they can't retrieve data. If we allow an optional value which can be missing, we should have another method like TryGetSomthing, GetOptionalSomthing or FindSomthing to get it without errors. This is safer.

Wow... brilliance in action! I was waiting to be able to run that debugger so I could look into some of the crashes reported. Looks like I've got some work cut out for me there.

I should be able to follow your changes with ease I think. Well done all around!:goodjob:
 
Hey guys, the most recent SVN has anyone reported that the years are going by to fast for my snail speed? In 2 games I was only in ancient era and was in AD already, WTH is going on? Each turn is minus 60 years, that seems a bit much, I am prehistoric era still and it is 1300 bc!!


Shouldn't be anything on my end, thought I would inquire after this 2nd game is doing the same darn thing? :eek::confused:
 
Hey guys, the most recent SVN has anyone reported that the years are going by to fast for my snail speed? In 2 games I was only in ancient era and was in AD already, WTH is going on? Each turn is minus 60 years, that seems a bit much, I am prehistoric era still and it is 1300 bc!!


Shouldn't be anything on my end, thought I would inquire after this 2nd game is doing the same darn thing? :eek::confused:

I noticed the same thing. I think 60 years is a bit to much for prehistoric, i don't know if the later era's are also to fast.



SVN6650
Fixed xml errors in Modules\Units\Unique\Anasazi\Anasazi_CIV4GameText.xml
 
Hey guys, the most recent SVN has anyone reported that the years are going by to fast for my snail speed? In 2 games I was only in ancient era and was in AD already, WTH is going on? Each turn is minus 60 years, that seems a bit much, I am prehistoric era still and it is 1300 bc!!


Shouldn't be anything on my end, thought I would inquire after this 2nd game is doing the same darn thing? :eek::confused:

"Paired lists that set how the game turns progress with respect to the default calendar. iMonthIncrement sets how many months each turn lasts. iTurnsPerIncrement sets how many turns exist for a given month increment."

Looks like they might have gotten them backwards:dunno:
 
Nothing wrong with the description.

The first 160 turns will last 125 years each.
The next 200 turns will last 80 years each.
Blah blah blah
 
Nothing wrong with the description.

The first 160 turns will last 125 years each.
The next 200 turns will last 80 years each.
Blah blah blah

Not what i am saying, i guess, what i mean is maybe the second set listed there (right side) needs to be the other way around and with lower numbers??
 
6654 update

- Hawking Hut now upgrades to Falconry School.
- Line of sight not increased by early Super Fort forts. That is what the towers are for;)
 
Fixed the hero buildings (hopefully)

Why did you add the word building on the end of the achievement ones??

If you had a different building with JUST _A (that you made) it was fine, but not in the achievement building status??
 
I'm trying to fix the dang problem with the wonders

But they were fine, you just didnt add the complete word on the Heroes is all, and if you want to add those buildings YOU made, it goes in a different area, is all i am saying, so nothing was wrong with them before, just the placement of them.
 
You don't it- Hero builds the wonder, Wonder gives free building in every city. You had the building defined

They were fine as i said, you just needed the complete word "achievement" on it instead of just _A is all, no biggy.

Do you want me to fix them??
 
Back
Top Bottom