FAQ Search Memberlist Usergroups
Jolt Country Forum Index
Register Profile Log in to check your private messages Log in
Log in Log in

Beta.h extension crediting compatibility problem

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Hugo's House of Horrors
View previous topic :: View next topic  
Author Message
Bainespal



Joined: 09 Jul 2010
Posts: 151

PostPosted: Thu Mar 14, 2013 11:00 am    Post subject: Beta.h extension crediting compatibility problem Reply with quote

As of the latest updates to Roodylib, newmenu.h and beta.h, when I compile with both BETA and USE_EXTENSION_CREDITING set, I get these errors:

Code:
C:\Documents and Settings\Bainespal\IF\Hugo\Library\beta.h:59:  Error:  Unknown compiler directive:  version_obj
C:\Documents and Settings\Bainespal\IF\Hugo\Library\beta.h:60:  Error:  Unknown compiler directive:  {
C:\Documents and Settings\Bainespal\IF\Hugo\Library\beta.h:61:  Error:  Unknown compiler directive:  in
C:\Documents and Settings\Bainespal\IF\Hugo\Library\beta.h:62:  Error:  Unknown compiler directive:  desc_detail
C:\Documents and Settings\Bainespal\IF\Hugo\Library\beta.h:63:  Error:  Unknown compiler directive:  " by Bert Byfield, Mike Snyder, and Roody Yogurt"
C:\Documents and Settings\Bainespal\IF\Hugo\Library\beta.h:64:  Error:  Unknown compiler directive:  }


When I comment out either of the lines to unset one or the other of those two settings, the game compiles. So, it appeas that the current version of Beta.h is incompatible with the code for the new extension crediting feature.
Back to top
View user's profile Send private message
Roody_Yogurt



Joined: 29 Apr 2002
Posts: 1993
Location: Milwaukee

PostPosted: Thu Mar 14, 2013 11:17 am    Post subject: Reply with quote

I would guess that "beta.h" was included before "roodylib.h". Is this not the case?
Back to top
View user's profile Send private message AIM Address
Roody_Yogurt



Joined: 29 Apr 2002
Posts: 1993
Location: Milwaukee

PostPosted: Thu Mar 14, 2013 2:11 pm    Post subject: Reply with quote

I added this code to all extensions with crediting:
Code:
#ifset USE_EXTENSION_CREDITING
#ifclear _ROODYLIB_H
#message error "Extension crediting requires \"roodylib.h\". Be sure to include it first!"
#endif
version_obj follow_version "Follow Version 2.0"
{
   in included_extensions
   desc_detail
      " by Kent Tessman";
}
#endif


I don't think it's quite important enough to merit a new upload of everything, but it'll be in all future releases (and is already up on the bitbucket pages).
Back to top
View user's profile Send private message AIM Address
Bainespal



Joined: 09 Jul 2010
Posts: 151

PostPosted: Thu Mar 14, 2013 3:18 pm    Post subject: Reply with quote

Roody_Yogurt wrote:
I would guess that "beta.h" was included before "roodylib.h". Is this not the case?

Yes, that was the problem. I now have beta.h included directly after roodylib.h. I've actually been pretty confused about where I should include beta.h, because I upgraded my source file to include the Roodylib routines after originally building it off of the standard shell. I'm particularly confused by this from the beta.h documentation:

Quote:
If you are including "roodylib" and have an init routine that calls Init_Calls, you don't need to do anything.

I've looked at Init_Calls, and it doesn't appear to have anything to do with beta.h. I don't understand.
Back to top
View user's profile Send private message
Roody_Yogurt



Joined: 29 Apr 2002
Posts: 1993
Location: Milwaukee

PostPosted: Thu Mar 14, 2013 3:22 pm    Post subject: Reply with quote

Yeah, I can see how this might be confusing. If you weren't using RoodyLib, you'd have to add a call to BetaInit in your init routine.

The documentation is trying to explain that if you are using a roodylib-utilizing shell that calls Roodylib's Init_Calls routine (like the shells distributed with RoodyLib do), you don't need to do anything other than include the "beta.h" file. Roodylib handles everything else.
Back to top
View user's profile Send private message AIM Address
aron123
Guest





PostPosted: Thu Oct 09, 2014 2:28 am    Post subject: Reply with quote

Thanks for share....
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Hugo's House of Horrors All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001 phpBB Group

Theme by Kage Musha - RPG Garden

Copyrights and trademarks are all of the belonging company. No copyright Infringement intended