Search found 194 matches

by Nalin
Sun Feb 20, 2011 6:09 pm
Forum: Bug reports
Topic: The latest SVN bugs thread
Replies: 407
Views: 139867

Also if Filename in io::SAttributeReadWriteOptions will stay char*, then next small patch also necessary (but I don't like it) in \source\Irrlicht\CSceneManager.cpp at line 2237: options.Filename=core::stringc(currentPath).c_str(); You really want to avoid doing things like that. It would break the...
by Nalin
Sun Feb 20, 2011 12:04 am
Forum: Bug reports
Topic: The latest SVN bugs thread
Replies: 407
Views: 139867

greenya wrote:P.S.: I believe this is because of enabled _IRR_WCHAR_FILESYSTEM.
You have to use the patch I supplied to the tracker.
http://sourceforge.net/tracker/?func=de ... tid=540676

Let me know if I need to updated it for the latest trunk.
by Nalin
Sat Feb 19, 2011 7:17 am
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 176
Views: 110249

could I do square roots huge brackets greek alphabet and such things with this ? No, you can't do square roots and huge brackets with this. This will just render whatever glyphs are in a font. This is the best you can do for square root: http://www.fileformat.info/info/unicode/char/221a/index.htm I...
by Nalin
Thu Feb 17, 2011 10:51 pm
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 176
Views: 110249

New version of ustring: Renamed USTRING_NO_STL_COMPATIBLE_ITERATOR to USTRING_NO_STL. Added a constructor for constructing from a std::basic_string. Added a constructor for constructing from an iterator. Added operator+ methods for appending a ustring with an Irrlicht string. Added operator+ methods...
by Nalin
Sat Feb 05, 2011 8:56 pm
Forum: Open Discussion and Dev Announcements
Topic: Patch to improve irrXML's fast_atof
Replies: 11
Views: 5237

The 64bit types are not correctly defined. This would only work correctly under msvc or 64bit systems. We need a way to properly define the 64bit types under 32bit non-msvc systems, though. The type long long int is a 64-bit data type added to C99. Some compilers support it in C++ as an extension (...
by Nalin
Mon Jan 24, 2011 7:10 am
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 176
Views: 110249

New version of ustring: STL compatible iterator. It can be disabled with a #define. Fixed a corruption issue that afflicted UTF-8 and UTF-32 parsing. I also updated CGUITTFont to work with the latest trunk. As an example of the new iterator: core::ustring test("This is a test \xEF\xBF\xBD okay?...
by Nalin
Mon Jan 24, 2011 12:32 am
Forum: Bug reports
Topic: The latest SVN bugs thread
Replies: 407
Views: 139867

The _IRR_WCHAR_FILESYSTEM define is broken again. It results in a failed compile. I started to try to fix it using fschar_t* instead of c8*, but I quickly ran into another issue: SAttributeReadWriteOptions::filename is a c8*. Will changing that to be an fschar_t break a bunch of stuff? It compiles f...
by Nalin
Sun Jan 23, 2011 5:50 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: TrueType font Support by FreeType Library
Replies: 183
Views: 99206

Could you try with my re-written CGUITTFont class? You can find it here:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=37296
by Nalin
Sun Jan 23, 2011 5:43 am
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 176
Views: 110249

Thanks for reporting the issue. I've added a warning note to the OP. I also updated the patches to apply to 1.7.2 and to the latest trunk.
by Nalin
Fri Dec 31, 2010 3:35 am
Forum: Bug reports
Topic: [fixed]XML reader can't read files produced by XML writer
Replies: 24
Views: 4924

If you really, really want to allow unicode XML files, you pretty much will be forced to use my modifications: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=37296 Irrlicht does not understand unicode. At all. Irrlicht's XML reader can read ASCII, UCS-2, and UTF-32/UCS-4. It, by default, rea...
by Nalin
Fri Nov 19, 2010 5:59 am
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 176
Views: 110249

New version of irrUString:
  • Fixed a regression introduced with the GCC 4.5+ fixes in the last release.
by Nalin
Tue Nov 09, 2010 11:42 pm
Forum: Beginners Help
Topic: createAndWriteFile creates weird files on Linux
Replies: 4
Views: 546

If you really need UTF-8 XML files, here are my Irrlicht patches that CuteAlien alluded to: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=37296 All you will need is the ustring class and the XML reading/writing files and patches. You will need to modify your Irrlicht project file / makefile...
by Nalin
Tue Nov 09, 2010 11:32 pm
Forum: Project Announcements
Topic: Irrlicht i18n (Unicode, FreeType, etc.)
Replies: 176
Views: 110249

The problem rises when I'm retrieving data from a UTF-8 encoded SQLite3 database. Let's say, for example, that i'm receiving the string for the french translation of the word "scenario", which is : "sc é nario". When looking in the debugger, the string I'm receiving ( of type co...
by Nalin
Thu Nov 04, 2010 6:19 am
Forum: Beginners Help
Topic: Special Symbol
Replies: 3
Views: 279

The value for © is 0xA9. Add it to your code like so:

Code: Select all

const char* text = "Copyright \xA9 Myself";
Keep in mind that the font you use has to include the symbol.
by Nalin
Fri Oct 29, 2010 10:09 pm
Forum: Beginners Help
Topic: array delete problem
Replies: 9
Views: 604

don't call erase() inside the loop but call clear() after the loop. With every iteration the array becomes smaller so after you erased enough elements from the array you are trying to access elements that are no longer there. This is the correct idea. If you are deleting the entire array, delete al...