Page 1 of 1

A kind of bug?

PostPosted: Jun 21, 2006 @ 4:27pm
by Squirrel

PostPosted: Jun 22, 2006 @ 1:21am
by fast_rx
Sounds like a bad pointer.

Shouldn't you be using TCHAR and associated functions?(if you're compiling for both pc/ppc)

PostPosted: Jun 22, 2006 @ 3:54am
by Squirrel

PostPosted: Jun 26, 2006 @ 8:57am
by Conan
Isn't the PPC is unicode only? no single byte char. Must use all the TCHAR stuff. Do a search here.

PostPosted: Jun 26, 2006 @ 5:25pm
by Guest
As I told, when I make char buffer to be a member of another class, problem has gone, so I doubt there is any problem with TCHAR.
What do you meen by saying PPC is unicode only? Can I use simple char arrays then? (To say the true, I use char whenever it possible, and has no problem with it yet.)
And I wander why it's only ButtonUp/Button down events spoil the buffer, and stylus taps, for example, don't.

PostPosted: Jun 26, 2006 @ 6:37pm
by jaguard

PostPosted: Jun 26, 2006 @ 6:46pm
by fast_rx

PostPosted: Jun 27, 2006 @ 9:29pm
by BIGBEN

PostPosted: Jun 28, 2006 @ 3:05pm
by Conan
It's a unicode wide character device. Your char's on a PC would take a byte and on PPC 2, that's why if you write an app to run on PC as well the whole thing has to work using TCHAR and all the _t macros. If you do not run your app on PC (excluding in the emulator) then you won't see this issue but if like me you want your game to run on pc for testing or otherwise you use the TCHAR approach.

Happy to supply code samples.

PostPosted: Jun 28, 2006 @ 3:09pm
by jaguard

PostPosted: Jun 28, 2006 @ 5:15pm
by BIGBEN

PostPosted: Jun 30, 2006 @ 1:22pm
by Guest
As to LUA, I compiled it with the same warnings to, but it works fine, and opening libraries cause no errors.
I agree where is not much use in LUA for action games, or any game with predefined rules. But for RPG, RTS games I see no way to escape of using some scripting language (not impotant LUA).

PostPosted: Jun 30, 2006 @ 1:23pm
by Squirrel
Forget to log in :lol: