devolution

Author Topic: Pregnant images  (Read 2864 times)

0 Members and 1 Guest are viewing this topic.

Offline fires_flair

  • Sr. Member
  • ****
  • Posts: 411
Pregnant images
« 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 */
176const  int PREG_OFFSET = 9;
177const  int IMGTYPE_PREGANAL      = IMGTYPE_ANAL  + PREG_OFFSET;
178const  int IMGTYPE_PREGBDSM      = IMGTYPE_BDSM  + PREG_OFFSET;
179const  int IMGTYPE_PREGSEX       = IMGTYPE_SEX   + PREG_OFFSET;
180const  int IMGTYPE_PREGBEAST     = IMGTYPE_BEAST + PREG_OFFSET;
181const  int IMGTYPE_PREGGROUP     = IMGTYPE_GROUP + PREG_OFFSET;
182const  int IMGTYPE_PREGLESBIAN   = IMGTYPE_LESBIAN + PREG_OFFSET;
183const  int NUM_IMGTYPES = IMGTYPE_PREGLESBIAN + 1;
184

since this is the normal file types
Quote
158const  int IMGTYPE_ANAL = 0;
159const  int IMGTYPE_BDSM = 1;
160const  int IMGTYPE_SEX = 2;
161const  int IMGTYPE_BEAST = 3;
162const  int IMGTYPE_GROUP = 4;
163const  int IMGTYPE_LESBIAN = 5;
164/*
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/trunk/BrothelMaster/cGirls.h )   

     

Offline Dagoth

  • Administrator
  • *****
  • Posts: 617
Re: Pregnant images
« Reply #1 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/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?
« Last Edit: June 26, 2010, 04:09:52 AM by Dagoth »

exodia91

  • Guest
Re: Pregnant images
« Reply #2 on: June 26, 2010, 02:24:33 PM »
I've never seen the game use PregSex PregBeast etc. pics even once

Offline fires_flair

  • Sr. Member
  • ****
  • Posts: 411
Re: Pregnant images
« Reply #3 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.

Offline Dagoth

  • Administrator
  • *****
  • Posts: 617
Re: Pregnant images
« Reply #4 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.