Egoboo Community Forum

The Legend of Egoboo Sporks of Yore
It is currently Sun Mar 18, 2018 3:37 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun May 17, 2009 7:42 pm 
Tranch (Novice)
Tranch (Novice)

Joined: Sat Apr 18, 2009 9:08 pm
Posts: 116
Location: Washington State
I have a problem in the latest SVN where my characters don't export when quitting a module, only when exiting the game entirely.

I've been looking and looking, but I can't find anything in the source code that controls a module ending, or at least, I haven't recognized if I have seen it.

In game.c there is the main loop that ends with game_quit_module() and do_flip_pages(), and then returns btrue*

game_quit_module() doesn't actually export any characters, nor do any functions that it calls. I've tried manually adding in "export_all_local_players()" to game_quit_module(), or right before it is called, or adding in game_update_imports() instead, which seems more thorough, but it just does weird things to me such as mess up my inventory items. I'm just stuck and would like to know the structure of the code a bit better. :)

*why are bool values here btrue and bfalse and not just FALSE and TRUE? It's also not a regular bool type, but some custom one...

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Get Egoboo at Fast, secure and Free Open Source software downloads