Code to read another team squad

Discussions about the internal structures of the game. You can also post here if you'd like to know how things really work (and don't know how to read C code).
Post Reply
filipemb
Posts: 22
Joined: Mon Sep 07, 2009 11:29 pm

Code to read another team squad

Post by filipemb »

I was looking in SVN repo trying to find some piece of code that makes any reference to write/read another teams squad and I didn't find. load_save c files records the data but I'm not sure if it's only user-related data.
gunnar
Site Admin
Posts: 233
Joined: Wed Oct 19, 2005 11:13 am
Contact:

Re: Code to read another team squad

Post by gunnar »

Hi If you're looking how teams are stored in the savegame, you should look at http://bygfoot.svn.sourceforge.net/view ... iew=markup
filipemb
Posts: 22
Joined: Mon Sep 07, 2009 11:29 pm

Re: Code to read another team squad

Post by filipemb »

does it save all teams squad?
gunnar
Site Admin
Posts: 233
Joined: Wed Oct 19, 2005 11:13 am
Contact:

Re: Code to read another team squad

Post by gunnar »

yes, basically load_save.c directs all saving and loading, while the xml_loadsave*.c do a specific part of the task
filipemb
Posts: 22
Joined: Mon Sep 07, 2009 11:29 pm

Re: Code to read another team squad

Post by filipemb »

ok.. i'll try to use that code to make the transfers between cpu teams. this is basically the only thing that makes me don't play bygfoot.
Post Reply