Pink Petal Games

Feedback => Bugs and Game balancing => Topic started by: fires_flair on June 25, 2010, 03:06:54 PM

Title: Pregnant images
Post by: fires_flair on June 25, 2010, 03:06:54 PM
ok, so I was looking through the code looking for how the girl images are handled (especially pregnant images) and when I finely found it i was kind of surprised (note I know nothing of coding). it looks like it should be pregbdsm, not bdsmpreg when you name the image files.
Quote
*  now make the pregnant varieties
175 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L175) */
176 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L176)const  int PREG_OFFSET = 9;
177 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L177)const  int IMGTYPE_PREGANAL      = IMGTYPE_ANAL  + PREG_OFFSET;
178 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L178)const  int IMGTYPE_PREGBDSM      = IMGTYPE_BDSM  + PREG_OFFSET;
179 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L179)const  int IMGTYPE_PREGSEX       = IMGTYPE_SEX   + PREG_OFFSET;
180 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L180)const  int IMGTYPE_PREGBEAST     = IMGTYPE_BEAST + PREG_OFFSET;
181 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L181)const  int IMGTYPE_PREGGROUP     = IMGTYPE_GROUP + PREG_OFFSET;
182 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L182)const  int IMGTYPE_PREGLESBIAN   = IMGTYPE_LESBIAN + PREG_OFFSET;
183 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L183)const  int NUM_IMGTYPES = IMGTYPE_PREGLESBIAN + 1;
184 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L184)

since this is the normal file types
Quote
158 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L158)const  int IMGTYPE_ANAL = 0;
159 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L159)const  int IMGTYPE_BDSM = 1;
160 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L160)const  int IMGTYPE_SEX = 2;
161 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L161)const  int IMGTYPE_BEAST = 3;
162 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L162)const  int IMGTYPE_GROUP = 4;
163 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L163)const  int IMGTYPE_LESBIAN = 5;
164 (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h#L164)/*
it seems like "IMGTYPE_SEX" or "IMGTYPE_PREGSEX"  is the determinator, unless I'm missing something, not "2" or "IMGTYPE_SEX   + PREG_OFFSET" but like I said I know nothing about coding.
(code found in root (http://pinkpetal.org:9053/whm_trac/browser)/trunk (http://pinkpetal.org:9053/whm_trac/browser/trunk)/BrothelMaster (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster)/cGirls.h (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.h) )   

     
Title: Re: Pregnant images
Post by: Dagoth on June 26, 2010, 04:06:20 AM
ok, so I was looking through the code looking for how the girl images are handled (especially pregnant images)
That code you found just enumerates the different image types, it doesn't determine how they're loaded.

What you're looking for is around line 7633 in cGirls.cpp.
root (http://pinkpetal.org:9053/whm_trac/browser)/trunk (http://pinkpetal.org:9053/whm_trac/browser/trunk)/BrothelMaster (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster)/cGirls.cpp (http://pinkpetal.org:9053/whm_trac/browser/trunk/BrothelMaster/cGirls.cpp)

More specifically:
Code: [Select]
{"Anal*.jp*g","BDSM*.jp*g","Sex*.jp*g","Beast*.jp*g","Group*.jp*g","Les*.jp*g","Preg*.jp*g","Death*.jp*g","Profile*.jp*g","PregAnal*.jp*g","PregBDSM*.jp*g","PregSex*.jp*g","pregbeast*.jp*g","preggroup*.jp*g","pregles*.jp*g"}
Looking at that, it seems like it might be lumping all pregnant sex images into the initial plain pregnant images; wouldn't "Preg*.jp*g" also cover "PregAnal*.jp*g" and so forth? I'm not 100% on how that particular code actually works, I'd have to dig a bit more I think.
Is the problem you're seeing that pregnant sex images aren't being used?
Title: Re: Pregnant images
Post by: exodia91 on June 26, 2010, 02:24:33 PM
I've never seen the game use PregSex PregBeast etc. pics even once
Title: Re: Pregnant images
Post by: fires_flair on June 27, 2010, 06:07:44 PM
hmm. I think my brain was telling me to read the examples wrong... an multiple times... yet still get it right some times...

But I do know that in addition to exodia, I have never seen a PregSex pic. and I've seen other people say the same thing.
Title: Re: Pregnant images
Post by: Dagoth on June 27, 2010, 09:04:36 PM
All right, I have it noted to look into. It does look like from the way they're loaded that it's probably loading the pregnant sex pics in as regular pregnant pics, and then discarding them when it sees the bit after "preg" isn't just a number.