Thanks GyroVorbis.
It is working now.
I'm trying to port my psp code to sfml.
After that i want to use my basic class to generate (again) one psp code and in the future one dreamcast code.
Hey gyro, could you tell me some good dreamcast games, i bought mine not so long ago.
Search found 8 matches
- Mon May 30, 2011 7:17 pm
- Forum: Programming Discussion
- Topic: non_lazy_ptr problem
- Replies: 2
- Views: 509
- Mon May 30, 2011 6:30 pm
- Forum: Programming Discussion
- Topic: non_lazy_ptr problem
- Replies: 2
- Views: 509
non_lazy_ptr problem
hi, i was coding my static keyboard class #ifndef _InputControl #define _InputControl #include "includes.h" namespace InputControl{ class Pressed{ public: static bool R, L; static bool Up, Down, Left, Right; static bool Menu, Attack, Dash, Jump; }; class Hold{ public: static bool R, L; sta...
- Tue Jan 18, 2011 4:32 pm
- Forum: Programming Discussion
- Topic: Static function pointer questions
- Replies: 11
- Views: 898
Re: Static function pointer questions
Yes you're correct.
I'm trying to do the same thing you did(IO ASSET DEBUG), but i can do just using static methods.
I'm trying to understand why you use static function pointer instead of using just static methods.
Can you help me to understand why?
Sorry, but i am a little bit slow.
Thanks;
I'm trying to do the same thing you did(IO ASSET DEBUG), but i can do just using static methods.
I'm trying to understand why you use static function pointer instead of using just static methods.
Can you help me to understand why?
Sorry, but i am a little bit slow.
Thanks;
- Tue Jan 18, 2011 12:29 pm
- Forum: Programming Discussion
- Topic: Static function pointer questions
- Replies: 11
- Views: 898
Re: Static function pointer questions
i'm creating my classes for pc and psp, i call specific files using preprocessor. I was thinking to use a static function to debug my code and create a screen to debug on psp. i'm doing this, because my game have a lot of files and lines of code and i stopped to dev, now i have some memory problem a...
- Tue Jan 18, 2011 10:54 am
- Forum: Programming Discussion
- Topic: Static function pointer questions
- Replies: 11
- Views: 898
Re: Static function pointer questions
So, i can use something like
#ifdef PSP
// assign the pointer to the correct function
#endif
and i can use the same "function", but it points to diferent functions in each specific case...
lol... briliant.. XD
Thnaks
#ifdef PSP
// assign the pointer to the correct function
#endif
and i can use the same "function", but it points to diferent functions in each specific case...
lol... briliant.. XD
Thnaks
- Tue Jan 18, 2011 10:21 am
- Forum: Programming Discussion
- Topic: Static function pointer questions
- Replies: 11
- Views: 898
Static function pointer questions
Hey guys. i finally started my process to convert my psp game (oslib) to pc (sfml).... i'm creating my multiplataform lib using sfml and oslib My objective is to debug de code properly, so when i was watching the gyro i found he uses a static pointer function, i was thinking about just a static func...
- Sat Aug 14, 2010 5:56 pm
- Forum: Game Development
- Topic: Adventures in Game Development
- Replies: 405
- Views: 56603
Re: Adventures in Game Development
One more question.. XD
How do i print in the console if the aplication run in window mode, if i just give a printf or a cout it opens a console...?
Thanks
How do i print in the console if the aplication run in window mode, if i just give a printf or a cout it opens a console...?
Thanks
- Sat Aug 14, 2010 5:45 pm
- Forum: Game Development
- Topic: Adventures in Game Development
- Replies: 405
- Views: 56603
setDebug
I saw in your code the void(*func){Asset::DGB_TYPE.....}
What it is for?
Do you pass a function reference?, i never saw it on c++.. i know..i'm lazzy.
One more question what are the advantages of using static functions/methods/class?
Thanks..
What it is for?
Do you pass a function reference?, i never saw it on c++.. i know..i'm lazzy.
One more question what are the advantages of using static functions/methods/class?
Thanks..