This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Add this little function to a .m file of your choice. I chose SDL_uikitview.m as it already has the iPhone specific keyboard functions in it. | |
I'm pretty sure you can choose any *.m file in /Library Source/video/uikit from the Xcode project file. | |
Make sure this function is added after @implementation ... @end. | |
Admittedly this is not best solution as it forces you capsulate your asset loading into one or more if calls. | |
SDL unfortunately has no tie-ins to NSImage, so you can't use the usual @2x stuff by default. (I'm not sure about SDL_image for iOS though. This option here is also preferred if you want to include a third-party non-SDL image library such as Vampyre Imaging.) | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hash:=((Hash-TBESENUINT32(Integer(Prop^.Attributes))) xor TBESENUINT32(Integer(Prop^.Presents)))*1664525; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//importScript("Test.js"); // Imports & executes Test.js | |
// Wohooo, JavaScript inside of JavaScript. That's meta. | |
execute("(function() { print('Hello world') })();"); | |
print("--- Let's have a cake ---"); | |
var myCake = new Cake(); | |
myCake.Info(); | |
print("--- I'm hungry ---"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* You may want to style this to your personal need */ | |
#status.achievement { | |
display: none; | |
position: absolute; | |
left: 50%; | |
bottom: -120px; | |
margin-left: -160px; | |
} |
NewerOlder