Search found 54 matches

by VoidElite
Thu Jun 30, 2011 7:28 am
Forum: Programming Discussion
Topic: OpenGL Camera problems
Replies: 6
Views: 941

Re: OpenGL Camera problems

void Initialize(void){ printf("Initializing...\n"); glClearColor(0.0,191.0,255.0,0.0); //aqua glMatrixMode(GL_PROJECTION); glLoadIdentity(); glOrtho(0.0,1.0,0.0,1.0,-1.0,1.0); //glEnable(GL_DEPTH_TEST); 1- glClearColor, like all other OpenGL functions do not take 0-255 values. 0-1. 2- You...
by VoidElite
Wed Jun 29, 2011 12:14 pm
Forum: Programming Discussion
Topic: OpenGL Camera problems
Replies: 6
Views: 941

OpenGL Camera problems

Ok guys. I'm pretty new to OpenGL in terms of 3D. I'm currently working on a 3D game called Cuberealm(sandbox game) for my 11th grade coursework and I don't have a damn clue how to setup: *Co-ordinate area *Camera position I've tried Googling but most are for 2D or are just confusing. I was hoping y...
by VoidElite
Mon Jun 13, 2011 9:28 am
Forum: Programming Discussion
Topic: ARM Cross-Compiling in C
Replies: 9
Views: 1381

Re: ARM Cross-Compiling in C

Would I be right in thinking that I should use '-I' and '-L' to explicitly define the location of the headers and libs for the Darwin ARM GCC compiler? Yes, most likely. If I were you, I would look to see what arguments XCode is giving GCC when compiling an iOS project through XCode. Well you see, ...
by VoidElite
Sun Jun 12, 2011 3:27 pm
Forum: Programming Discussion
Topic: ARM Cross-Compiling in C
Replies: 9
Views: 1381

Re: ARM Cross-Compiling in C

Would I be right in thinking that I should use '-I' and '-L' to explicitly define the location of the headers and libs for the Darwin ARM GCC compiler?
by VoidElite
Sun Jun 12, 2011 8:32 am
Forum: Programming Discussion
Topic: Compiling SDL for Mac
Replies: 10
Views: 3651

Re: Compiling SDL for Mac

Hey guys! Whilst planning to port my engine( http://www.youtube.com/user/LunarSanity?feature=mhee ) to Mac I decided to run a test. Not only am I planning to port it to Mac but to port the C++ code over to Objective-C and compile using GNUstep when I'm on Windows(I like Objective-C). May I be so mu...
by VoidElite
Sun Jun 12, 2011 4:07 am
Forum: Programming Discussion
Topic: ARM Cross-Compiling in C
Replies: 9
Views: 1381

Re: ARM Cross-Compiling in C

Nah, you can definitely use stdio.h on ARM... and pretty much any architecture supports it. It's pretty apparent that GCC just can't find the particular includes for ARM types which are required by stdio.h. With a bit of researching, these flags may help: -arch armv7 and -isysroot Although I must b...
by VoidElite
Sat Jun 11, 2011 1:13 pm
Forum: Programming Discussion
Topic: ARM Cross-Compiling in C
Replies: 9
Views: 1381

ARM Cross-Compiling in C

Hey guys. Trying to get a simple Hello World application to compile on: *i386 *ppc *armv6 I'm using this Makefile: I386_GCC=/Developer/usr/llvm-gcc-4.2/bin/i686-apple-darwin10-llvm-gcc-4.2 PPC_GCC=/Developer/usr/llvm-gcc-4.2/bin/powerpc-apple-darwin10-llvm-gcc-4.2 ARM_GCC=/Developer/Platforms/iPhone...
by VoidElite
Fri Jun 10, 2011 3:45 pm
Forum: Programming Discussion
Topic: Compiling SDL for Mac
Replies: 10
Views: 3651

Re: Compiling SDL for Mac

Thanks dude! My bad, your code worked it's just I didn't import the Cocoa header also I didn't link. Now it works. ;) By the way what does that message to NSApplication actually do? Is it a class method? The Apple Developer site is very good. Its got tons of samples and tutorial on top of the the D...
by VoidElite
Fri Jun 10, 2011 12:23 pm
Forum: Programming Discussion
Topic: Compiling SDL for Mac
Replies: 10
Views: 3651

Re: Compiling SDL for Mac

Thanks dude! My bad, your code worked it's just I didn't import the Cocoa header also I didn't link. Now it works. ;)

By the way what does that message to NSApplication actually do? Is it a class method?
by VoidElite
Fri Jun 10, 2011 12:16 pm
Forum: Programming Discussion
Topic: Compiling SDL for Mac
Replies: 10
Views: 3651

Re: Compiling SDL for Mac

I believe that means your your NSApplication is not initialized. try adding this [NSApplication sharedApplication]; http://developer.apple.com/library/mac/#samplecode/SpellingChecker-CarbonCocoa-Bundled/Introduction/Intro.html#//apple_ref/doc/uid/DTS10003361 Well I get: Test.m: In function ‘main’: ...
by VoidElite
Fri Jun 10, 2011 11:42 am
Forum: Programming Discussion
Topic: Compiling SDL for Mac
Replies: 10
Views: 3651

Compiling SDL for Mac

Hey guys! Whilst planning to port my engine( http://www.youtube.com/user/LunarSanity?feature=mhee ) to Mac I decided to run a test. Not only am I planning to port it to Mac but to port the C++ code over to Objective-C and compile using GNUstep when I'm on Windows(I like Objective-C). My code: #impor...
by VoidElite
Tue May 24, 2011 3:16 pm
Forum: Programming Discussion
Topic: Dreamcast Development
Replies: 90
Views: 24159

Re: Dreamcast Development

No, a casual DC developer should be safely abstracted away from anything that low level (same with PSP). The problem is that the KallistiOS toolkit is also homebrew. My friend (Tvspelsfreak) and I have stumbled upon some absolutely insane Dreamcast documentation that covers pretty much EVERYTHING a...
by VoidElite
Sat May 14, 2011 7:12 pm
Forum: Programming Discussion
Topic: [SOLVED] OOP X not declared! :@
Replies: 57
Views: 7629

Re: OOP X not declared! :@

Ok guys, just thought I pop in and see WTFbwas going on and...you're still talking... Basically the code has changed a million times since then and it has long been resolved. Infact I'm progressing quite fast. I just wanted to say thankyou to yall for helping me and goodnight(tomorow I'll set topic ...
by VoidElite
Tue May 10, 2011 1:04 pm
Forum: Programming Discussion
Topic: [SOLVED] OOP X not declared! :@
Replies: 57
Views: 7629

Re: OOP X not declared! :@

qpHalcy0n wrote:Trade contact info with me and I'll resolve the problem with you.
Do you have Skype if so my name is 'istalkbugs' add me. :)

Else my email address is marcalexanderreed@hotmail.com. :)
by VoidElite
Tue May 10, 2011 12:12 pm
Forum: Programming Discussion
Topic: [SOLVED] OOP X not declared! :@
Replies: 57
Views: 7629

Re: OOP X not declared! :@

OK guys, my project is fucked up! :( Basically I've solved all errors with Skype help from Nico but unfortunately we can't seem to fix this. Basically when I click Build&Run in Visual C++ it's crashing(the game) and giving me a fuck-load of bull shitty exception stuff. When I run the game from o...