123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|647|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> C/C++/C#/Other -> A few more questions about porting

Wed, 18 Jan 2012, 13:22
Afr0
I have some more questions about porting from C to C#, so I'm just going to throw 'em all in here.



Is this correct?
What about below?



And this?



(Yes I am using pointers in C# because this algorithm is extremely slow!)

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Sat, 21 Jan 2012, 01:01
Afr0
Ugh, I gave up and decided to just do it using PInvoke instead. If anyone's interested, here are the function definitions:



The wrapper:



And the C-header (compiled as CPP):



If you're interested in learning Simlish, this is your chance!

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!