Page 1 of 1

Data Alignment

PostPosted: Oct 9, 2003 @ 3:24am
by ppcStudios

PostPosted: Oct 10, 2003 @ 1:09am
by Sm!rk

PostPosted: Oct 10, 2003 @ 5:04pm
by ppcStudios

PostPosted: Oct 10, 2003 @ 5:12pm
by mlepage

PostPosted: Oct 10, 2003 @ 5:20pm
by ppcStudios

PostPosted: Oct 27, 2003 @ 10:23pm
by draklava

PostPosted: Oct 28, 2003 @ 12:07am
by ppcStudios
I was getting some pretty wild crashes when I hit certain areas of the game, so I ran it on the debugger and happily the debugger said it was a datatype misalignment error. Since Warlords II was originally a DOS app, everything was based on 16 bit ints (SHORTS), not to mention the fact that BOOLS were being used as CHARS and this caused a ton of difficulties. Sm!rk's suggestion made me go back and look at what I was trying to do and helped solve the problem.

Thanks for the congrats too! The game is doing very well on Handango (PocketGear is another story as usual). =)