Search found 72 matches

by TomTim
Sun Oct 31, 2010 3:15 pm
Forum: Beginners Help
Topic: Scaling textures?
Replies: 4
Views: 464

Just because you ignore the thread, the problem does not get solved. ;)

How can I create new GUI-Skins for Irrlicht?
by TomTim
Sat Oct 30, 2010 8:47 am
Forum: Beginners Help
Topic: Scaling textures?
Replies: 4
Views: 464

Here is a function from my old sources. I used it to load any image and return ITexture of desired size back. Its able to load image like 4999x2999 size (non power-of-two & bigger that actual max-texture-size supported by current video driver). It will return null if anything went wrong, like f...
by TomTim
Thu Oct 28, 2010 3:13 pm
Forum: Beginners Help
Topic: Scaling textures?
Replies: 4
Views: 464

Scaling textures?

I got a texture loaded with Irrlicht, but it's go he wrong size. It's squarish, and I need it streched to each end of the screen. How I get the size of the screen I already know, but I have no idea of scaling the texture to the right size. Oh, and is there a way to create new GUI-skins with some tex...
by TomTim
Wed Oct 27, 2010 1:46 pm
Forum: Beginners Help
Topic: Corrupted IrrINI-Project ... or somewhat like that.
Replies: 16
Views: 1102

They are read until the end of the line. So in your example the key would have the value "SOFTWARE DRIVER" However they values and keys are trimmed. Keep that in mind if you have missing whitespaces at the end of the value ;) Don't worry, I'll think about it. ;) Thanks for all your great ...
by TomTim
Wed Oct 27, 2010 1:20 pm
Forum: Beginners Help
Topic: Corrupted IrrINI-Project ... or somewhat like that.
Replies: 16
Views: 1102

OK, I wanted to implement some new functions into IrrINI, and was rather succesful (I needed them for some types IrrINI doesn't support yet). A very simple question: are the values of the keys just read to the next whitespace or to the end of the line (data)? If there is this line: [Window] Driver=S...
by TomTim
Mon Oct 25, 2010 4:23 pm
Forum: Beginners Help
Topic: Corrupted IrrINI-Project ... or somewhat like that.
Replies: 16
Views: 1102

Well worked like a charm for me... Here is the new download: http://www.btbsoft.org/downloads/?did=4 This is it. It's over, I re-install this stupid compiler. It does not change my project settings, it does not add existing files to my projects, it does not open files, I can't close the program nor...
by TomTim
Mon Oct 25, 2010 12:16 pm
Forum: Beginners Help
Topic: Corrupted IrrINI-Project ... or somewhat like that.
Replies: 16
Views: 1102

Nope. extern "C"__declspec(dllexport)IrrIni* createIniFile(const c8* file, IFileSystem* fileSystem=0, bool saveOnDestroy=false); extern "C"__declspec(dllexport)IrrIni* createIniFile(IReadFile* file, IFileSystem* fileSystem=0, bool saveOnDestroy=false); extern "C"__decls...
by TomTim
Mon Oct 25, 2010 11:40 am
Forum: Beginners Help
Topic: Corrupted IrrINI-Project ... or somewhat like that.
Replies: 16
Views: 1102

It doesn't work, and I don't why. When I try to compile it, it shows me: 1>IrrINI.cpp(12): error C2375: 'irr::io::createIniFile': re-definition; different linkage 1>IrrINI.cpp(17): error C2375: 'irr::io::createIniFile': re-definition; different linkage 1>IrrINI.cpp(22): error C2375: 'irr::io::create...
by TomTim
Mon Oct 25, 2010 10:44 am
Forum: Beginners Help
Topic: Corrupted IrrINI-Project ... or somewhat like that.
Replies: 16
Views: 1102

Sylence wrote:Ah... well there is no class marked as export because Irrlicht does not export any class. Only the two function createDevice and createDeviceEx are exported and they are marked with IRRLICHT_API
Oh ... OK, that explains a lot. Thanks, I'll try it out. :D
by TomTim
Mon Oct 25, 2010 10:08 am
Forum: Beginners Help
Topic: Corrupted IrrINI-Project ... or somewhat like that.
Replies: 16
Views: 1102

Sylence wrote:Because - as I've written above - I saw no sense in making the library a DLL...
I don't mean IrrINI, but Irrlicht ... ;)
by TomTim
Mon Oct 25, 2010 9:38 am
Forum: Beginners Help
Topic: Corrupted IrrINI-Project ... or somewhat like that.
Replies: 16
Views: 1102

Yes it does. IRRLICHT_API is defined as dllexport or dllimport. Basically you have to add a define to the library's preprocessor defines (e.g. IRRINI_EXPORTS) and then you define something (e.g. IRRINI_API) as dllexport if the IRRINI_EXPORTS exists or as dllimport if it doesn't. This way you will h...
by TomTim
Mon Oct 25, 2010 8:21 am
Forum: Beginners Help
Topic: Corrupted IrrINI-Project ... or somewhat like that.
Replies: 16
Views: 1102

Don't have access to the code right now but iirc the function createIniFile is not marked as an export. This is why you get a DLL without a library file. Since this is just a small library I never thought anyone would actually want to have this as a DLL... I'll take a look at this tonight. Librarie...
by TomTim
Mon Oct 25, 2010 7:10 am
Forum: Beginners Help
Topic: Corrupted IrrINI-Project ... or somewhat like that.
Replies: 16
Views: 1102

Corrupted IrrINI-Project ... or somewhat like that.

I got this problem: I wanna use IrrINI , but the ... well, programer set the default project configurations to a static library. Every time I compile the source code of IrrINI it just creates a LIB, although I need a DLL. But I am no fool, I know how to change the settings. But now, unfortunaly, it ...
by TomTim
Sun Oct 24, 2010 11:53 am
Forum: Beginners Help
Topic: About files ...
Replies: 7
Views: 534

It's me again, and I got a problem with IrrINI. I changed the project settings of my downloaded project, for I wanted to include IrrINI as a DLL. I changed it successfully, but now my compiler just creates a DLL-file without the common LIB-file. The console of my compiler shows that just one DLL-fil...
by TomTim
Sat Oct 23, 2010 1:42 pm
Forum: Beginners Help
Topic: Hashes ...
Replies: 14
Views: 1213

loki1985 wrote:OK, looks like you need to learn something about hashes:
you NEVER can get your original value back.
Then my assuming was right, I just wanted it confirmed.
Thanks.