add_struct Workshop or Tutorial

Posted By: PigHunter

add_struct Workshop or Tutorial - 08/03/09 06:57

George,

Could you please do a workshop or tutorial on using add_struct to get game_save and game_load to work properly with structures?

Thank you
Posted By: George

Re: add_struct Workshop or Tutorial - 08/03/09 19:53

I have just started a long workshop series, so that would have to wait; nevertheless, I think that you should save the struct data to a file - I wouldn't use game_load / game_save for that. Debugging the save / load system would be much harder that way, especially for complex structs.
Posted By: pegamode

Re: add_struct Workshop or Tutorial - 08/05/09 10:11

I agree ... saving struct data to a file works fine.

I use a savegame struct that contains all needed information and save it in a file.

Regards,
Pegamode.
Posted By: PigHunter

Re: add_struct Workshop or Tutorial - 08/06/09 05:17

Thank you for the replies!
© 2024 lite-C Forums