indielib.com Forum Index indielib.com
IndieLib Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IndieLib 1.01 - Report bugs here!

 
Post new topic   Reply to topic    indielib.com Forum Index -> Latest Release - Report bugs here!
View previous topic :: View next topic  
Author Message
Javier López
Site Admin


Joined: 26 Dec 2007
Posts: 515
Location: Murcia, Spain

PostPosted: Tue Apr 22, 2008 2:55 pm    Post subject: IndieLib 1.01 - Report bugs here! Reply with quote

Here it is!

[Edit]Removed: old release[/Edit]

Fixed al know bugs reported, thanks to all you!

If you find new ones, report theme here.


Last edited by Javier López on Sun Dec 21, 2008 2:16 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ZCCdark203



Joined: 14 Apr 2008
Posts: 9

PostPosted: Tue May 06, 2008 2:04 pm    Post subject: Reply with quote

In "\documentation\html\group___graphical___objects.html" you've made a mistake in the documentation of IND_Render::BlitWrapSurface. The function itself displays 5 parameters, but in the following clarification 7 parameters are displayed.

In the documentation of the load and save functions of both IND_SurfaceManager and IND_ImageManager stands this (or something similar):
Quote:
It supports the following graphics formats (thanks to http://openil.sourceforge.net): bmp, png, tga, jpg y pcx.

"y" should be replaced by "and". This is no bug, though.
Back to top
View user's profile Send private message
krajek



Joined: 13 Jun 2008
Posts: 11

PostPosted: Fri Jun 13, 2008 9:45 pm    Post subject: Reply with quote

I have played with IndieLib for a while and here are my conclusions/tips
*Method GetPozZ is still there.
*IMO methods like SetPosX and SetAngleX should be added. Simply moving right one pixel now means :
Code:

entity.SetPosition(entity.GetPosX()+1,entity.GetPosY(),entity.GetPozZ());


*Consider using unions for private data which is not shared between various entity types in your entity2d class(I haven't tested entity3d yet). It would save a lot of memory without damaging performance.
*It's too hard to find who's the author of the library and the only place where I found e-mail to you, were header files.

Keep up the good work, your engine has great potencial.
Back to top
View user's profile Send private message
Javier López
Site Admin


Joined: 26 Dec 2007
Posts: 515
Location: Murcia, Spain

PostPosted: Tue Jul 15, 2008 11:11 am    Post subject: Reply with quote

Thank you very much Krajek!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
krajek



Joined: 13 Jun 2008
Posts: 11

PostPosted: Thu Jul 17, 2008 1:47 pm    Post subject: Reply with quote

Here are next (really)small problems. Maybe they are not but they are small improvements.

1.
Here's some of my code :
Code:

bool success = CIndieLib::Instance()->SurfaceManager->Add(
   pSurface,            //NewSurface
const_cast<char*>(data.mFilePath.c_str()),   //Path <--- dirty cast      
   data.mType,            //Type            
   data.mQuality         //Quality   
);      

'Add' method should obviously take const char * as 'Path' parameter, so no one would be forced to used dirty const_cast. The same is with methods :
bool IND_Entity2d::SetBoundingAreas ( char * pFile )
void IND_Entity2d::SetText ( char * pText )
and some others.



2.
There is a lack of SetVisible(bool) and GetVisible(bool) methods in IND_Entity2d.

3.
Some kind of resource manager should be added to the library. Currently i'm writing one, and I will show you it when i'll finish. Maybe you will even consider adding it to next IndieLib releases Wink .

Same as previously, keep up good work, good luck.

BTW. I'm Polish;).
Back to top
View user's profile Send private message
Javier López
Site Admin


Joined: 26 Dec 2007
Posts: 515
Location: Murcia, Spain

PostPosted: Fri Jul 18, 2008 11:51 am    Post subject: Reply with quote

Polish people never stop of surprising me. You are right in everything Krajek. I will add this improvements to the list.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
krajek



Joined: 13 Jun 2008
Posts: 11

PostPosted: Sun Jul 20, 2008 6:43 pm    Post subject: Reply with quote

And it's me again Very Happy .

Let's look at the
Code:

void IND_Entity2dManager::End().

documentation. It says :
Quote:

This function frees the manager and all the objects that it contains.


However if I don't release manually even one IND_Entity2d with method Delete(), then calling method End() crashes with AV. IMO End() should handle such situations gracefully and auto-delete existing entities.

BTW : I believe one should use term 'method' instead of 'function' in class documentation, but i'm not sure.
Back to top
View user's profile Send private message
krajek



Joined: 13 Jun 2008
Posts: 11

PostPosted: Mon Aug 25, 2008 11:54 am    Post subject: Reply with quote

Lately I had to use 'blit directly' part of your lib. And there are problem, because parameters Width and Height of SetTransform2d are meaningless. It doesn't matter whether you pass 0,128 or 1000000 as a Width or Height, result is the same. To change size one has to use parameters scaleX ang scaleY.

EDIT:
In tutorial projects maybe it will be good to change working directory to :
'../../../../exe/vc2008/' so it will be possible to simply press F5 and run it. No you can't do this because dll is missing.
Back to top
View user's profile Send private message
Javier López
Site Admin


Joined: 26 Dec 2007
Posts: 515
Location: Murcia, Spain

PostPosted: Wed Sep 24, 2008 4:27 pm    Post subject: Reply with quote

I have to apologize for the BIG delay in my answer.

pWidth and pHeight in SetTransform2d are not the size of the image for scaling it. In fact HAS TO BE the width and height of the image. They are used for the Hot Spot and Mirroring.

In order to change the size, as you said, you should use pScaleX and pScaleY.

I will comment this better both in the tutorials and in the Api Reference. Sorry!

Quote:
In tutorial projects maybe it will be good to change working directory to :
'../../../../exe/vc2008/' so it will be possible to simply press F5 and run it. No you can't do this because dll is missing.

Good idea!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    indielib.com Forum Index -> Latest Release - Report bugs here! All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group