Search found 1649 matches
- Mon Jun 13, 2011 11:57 am
- Forum: Programming Discussion
- Topic: ARM Cross-Compiling in C
- Replies: 9
- Views: 1097
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, ...
- Sun Jun 12, 2011 11:23 am
- Forum: Programming Discussion
- Topic: ARM Cross-Compiling in C
- Replies: 9
- Views: 1097
- Sun Jun 12, 2011 9:54 am
- Forum: Programming Discussion
- Topic: Compiling SDL for Mac
- Replies: 10
- Views: 3423
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...
- Fri Jun 10, 2011 12:31 pm
- Forum: Programming Discussion
- Topic: Compiling SDL for Mac
- Replies: 10
- Views: 3423
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...
- Fri Jun 10, 2011 12:05 pm
- Forum: Programming Discussion
- Topic: Compiling SDL for Mac
- Replies: 10
- Views: 3423
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/ ... TS10003361
try adding this
[NSApplication sharedApplication];
http://developer.apple.com/library/mac/ ... TS10003361
- Mon Jun 06, 2011 8:17 am
- Forum: Programming Discussion
- Topic: [Solved]Friction?
- Replies: 7
- Views: 972
Re: Friction?
Well, I'm just trying to calculate a force that would gradually bring an object to a stop. When I look at the air resistance force, it doesn't seem like the velocity would ever reach 0... Looks like it'd be an asymptote? air_resistance(x) = x*0.9; vel = 10; //this happens each iteration vel = air_r...
- Sun Jun 05, 2011 11:56 pm
- Forum: Programming Discussion
- Topic: [Solved]Friction?
- Replies: 7
- Views: 972
Re: Friction?
Not entirely sure what you mean by friction. I am going to assume that you are neglecting "air" resistance, and you are talking about friction between rigid bodies. Well this is a rather tricky thing to do. First of all you need to understand that there is a difference between static and k...
- Wed Jun 01, 2011 10:10 am
- Forum: Programming Discussion
- Topic: Event and Scripting Libraries
- Replies: 4
- Views: 826
Re: Event and Scripting Libraries
*bump*
2 new examples added. feedback is appreciated.
2 new examples added. feedback is appreciated.
- Sat May 28, 2011 9:16 am
- Forum: Programming Discussion
- Topic: Event and Scripting Libraries
- Replies: 4
- Views: 826
Re: Event and Scripting Libraries
UPDATE : 2 more examples are done. Did some more work on this, The scripting section should be pretty usable. There are 5 examples done. example_1_load_scripts https://github.com/avansc/qLib/blob/master/qLib_Examples/example_1_load_scripts/example_1_load_scripts.cpp example_2_register_variables http...
- Fri May 27, 2011 3:31 pm
- Forum: Programming Discussion
- Topic: Event and Scripting Libraries
- Replies: 4
- Views: 826
Re: Event and Scripting Libraries
Hey, been working on this but running into issues, mostly just not wanting to push a code base that I feel could be better, but thats just the nature of the beast, and I'll just have to get used to it. I moved this to github, since it was more convenient for me. There is a xcode project file in ther...
- Wed May 18, 2011 9:03 pm
- Forum: Programming Discussion
- Topic: C/++ Programmers should read this.
- Replies: 5
- Views: 886
C/++ Programmers should read this.
I recently had some issues working with a semi complex library structure and found this a very interesting read. http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml It is on googles coding style guide for C++, so you might thinks it has nothing of value in, but its got some gems you might...
- Thu May 12, 2011 9:27 am
- Forum: Programming Discussion
- Topic: SDL - XCode
- Replies: 10
- Views: 1201
Re: SDL - XCode
Your problem has NOTHING to do with what they mentioned. You do not use mm for c++, you use mm when you do objectiveC. The reference Falco is making is that when you create a target, and its of type cocoa, it by default includes some things that can cause you issues. If you create whats called a BSD...
- Wed May 11, 2011 9:09 am
- Forum: Programming Discussion
- Topic: Event and Scripting Libraries
- Replies: 4
- Views: 826
Event and Scripting Libraries
Hi, I have been messing about with an event and scripting system for qpHalcy0n on one of his projects. The progress has been pretty slow, but I think its in a semi usable state now. I am hoping that this project(s) takes off and that you guys, the community start sharing ideas and becoming involved....
- Thu May 05, 2011 9:59 pm
- Forum: Programming Discussion
- Topic: Ah... the joy of segfaults...
- Replies: 9
- Views: 832
Re: Ah... the joy of segfaults...
If I had to take a guess, you are saving pointers to file, the loading them up again. wont work
http://elysianshadows.com/phpBB3/viewto ... ary#p28647
http://elysianshadows.com/phpBB3/viewto ... ary#p28647
- Fri Apr 08, 2011 10:38 pm
- Forum: Game Development
- Topic: Are Game Developers 15 Years Behind?
- Replies: 24
- Views: 5813
Re: Are Game Developers 15 Years Behind?
I was not offended but any means. but just as a note. I can vouch that for the in-house stuff at IBM in some labs, and most everything qualcomm does in the RTP, as well as some labs at EMC, unit testing is low on the totem pole. They do have automated tests, regression and all that. I cant comment o...