bad instruction: swp r1, r3, [r2]
I encountered this error while porting our engine over to boost 1.36 and luabind 0.7.1 rc1. Compiling for the iphone brought this up on all of the boost cpp files and all of our lua wrapper implementations. The reason? ARM cpus understand regular 32bit code and a 16bit “thumb” variant. iPhone SDK projects default to thumb code generation. Do a “Get Info” on your device target, look at the “Build” tab and search for thumb read more »
First iPhone screenshot
Yes, we finally arrived on the iPhone. The cool thing is that this is our x-platform code that is also running on PCs. Here’s a first look at our model importer test. This is well known Kenny with 22542 faces running at 30fps.
Binding static const member variables with luabind
I just tried to bind static const member variables of a class, and was a bit puzzled why scope and/or def_readonly wouldn’t work. Silly me! turns out I don’t have to bind, just put them in the global table at the appropriate place. Here’s an interesting article that also mentions some nice macros. Since my lua states are seldom called L, I present my improved variants of said macros:read more »
Typo of the day
boost::shred_ptr
The Golden Gate, BIATCH!
I finally made it to the #1 tourist attraction around San Francisco: The Golden Gate Bridge
read more »
Game State Management
This paper here is the best read on games and state machines I have found in a long time.
San Francisco Diary #1
So these are my first days in San Francisco…
I already had 2 awesome nights and got to check out the first clubs around.Our hotel is located directly in front of the Chinatown Gate and it’s a 5 minute walk to the Union Square and downtown area.read more »