This is an attempt to add the new built-in Slic data members (g.num_of_players etc.) as accessors.
The goal is to not store any extra data in save files, as this would make the file format change.
gs\slic\SlicBuiltIn.cpp
AddMember statements changed to AddAccessor
gs\slic\SlicStruct.h
gs\slic\SlicStruct.cpp
Implementation of accessor functionality.
The above code should compile without errors, and makes it possible to start scenarios again. But it has not really been tested, so I don't think it is ready for inclusion in the altered source code yet.
Please report errors or improvement suggestions. And, feel free to modify anything!
[Edit: link removed. An updated version is available in the altered source thread.]
The goal is to not store any extra data in save files, as this would make the file format change.
gs\slic\SlicBuiltIn.cpp
AddMember statements changed to AddAccessor
gs\slic\SlicStruct.h
gs\slic\SlicStruct.cpp
Implementation of accessor functionality.
The above code should compile without errors, and makes it possible to start scenarios again. But it has not really been tested, so I don't think it is ready for inclusion in the altered source code yet.
Please report errors or improvement suggestions. And, feel free to modify anything!
[Edit: link removed. An updated version is available in the altered source thread.]
Comment