 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Rangu2057
Joined: 23 Jul 2007 Posts: 87 Location: wilmington, NC
|
Posted: Wed Jan 02, 2008 10:38 am Post subject: deathcore v1.0 coming soon!!! |
|
|
one of my project apps that i have been working on known as deathcore will be released very soon in the near future as of now school is a pain in the ass and i dont get much time to code apps for the psp. Here is a sample of some of my source code if your curious
| Code: |
// DeathCore v1.0 homebrew app by Rangu2057
#include <pspkernel.h>
#include <pspdebug.h>
#include <pspdisplay.h>
#include <pspctrl.h>
PSP_MODULE_INFO("DeathCore v1,0,1,1);
// Exit callback
int exit_callback(int arg1, int arg2, void *common){
sceKernelExitGame();
return 0;
}
// Callback Thread
int CallbackThread(SceSize args, void *argp){
int cbid;
cbid = sceKernelCreateCallback("Exit Callback", exit_callback, NULL);
sceKernelRegisterExitCallbck(cbid);
sceKernelSleepThreadCB();
return 0;
}
// Sets up callack thread and returns its thread id
int SetupCallbacks(void){
int thid = 0;
thid = sceKernelCreateThread("update_thread", CallbackThread, 0x11, 0xFA0, 0, 0);
if(thid >= 0){
sceKernelStartThread(thid, 0, 0);
}
return thid;
}
#define printf pspDebugScreenPrintf // simplifies the way text is printed to the screen
#define RGB(r, g, b) ((r)|((g)<<8)|((b)<<16)) // simplifies the RGB macros
Black = RGB(0, 0, 0); // color of menus BG color
White = RGB(255, 255, 255); // color of the unhighlighted text
Green = RGB(0, 255, 0); // color of highlighted text
#define New_Game 1 // menu map number for new game
#define Load_Game 2 // menu map number for load game
#define Delete_Data 3 // menu map number for deleting save data
#define Credits 4 // menu map number for viewing program credits
#define Exit 5 // menu map number for exiting the game
char cursor[5] = ]-->; // What to use as our cursor for the main menu
main()
{
int MAX = 5; // Maximum # of menu options
int map_start = 1; // the map mark for controls
|
i plan to have this game app finished by the latest on January 20, sorry for the date its being released but like i said i gotta get in gear and hit the books or my grades wont look real well at all. i plan to have some pics and a video of the game possibly within a few days i will put up a post when that happens
if you wanna help me out with this project just let me know. if you find any ideas on ship powerups or want me to add a sudden twist to it or a awesome intro or something like that just let me know and ill put it in. Oh btw for anyone who helps me with this your names will be in the credits as i plan this to be a community-based game
i kno i talk to much but i still plan to release a WEP cracker but im not sure if that would be very wise to do so let me know and a DDR game too. i have many projects that i plan to do so if you want something done for personal use let me know
Oh if anyone knows of a sample code of a basic scroller please let me know
(does my code look ok so far?)
cheers
Rangu2057 :) _________________ the questions of today are awnswered by the blood and bullets of tomorrow! ---EagleEye--- (Socom FTB2) |
|
| Back to top |
|
 |
adrahil
Joined: 16 Mar 2006 Posts: 277
|
Posted: Wed Jan 02, 2008 12:44 pm Post subject: |
|
|
Ahem...
| Code: | | PSP_MODULE_INFO("DeathCore v1,0,1,1); |
|
|
| Back to top |
|
 |
Rangu2057
Joined: 23 Jul 2007 Posts: 87 Location: wilmington, NC
|
Posted: Wed Jan 02, 2008 12:56 pm Post subject: |
|
|
whoops, thanks for pointing that out for me adrahil i was wondering why that part looked a little odd _________________ the questions of today are awnswered by the blood and bullets of tomorrow! ---EagleEye--- (Socom FTB2) |
|
| Back to top |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Wed Jan 02, 2008 2:10 pm Post subject: |
|
|
All the code I can see is the exit callback that appears in almost every program, and a few defines that do nothing.
What exactly are you showing us? _________________ If not actually, then potentially. |
|
| Back to top |
|
 |
Rangu2057
Joined: 23 Jul 2007 Posts: 87 Location: wilmington, NC
|
Posted: Wed Jan 02, 2008 2:18 pm Post subject: |
|
|
im just starting back on it and just letting everyone know thats all, ill have a blog up soon
that was only the first half, so not much has been done to the main.c, but i had finished coding, but my skills had gotten a little rusty during christmas break so i had to start over cuz i cant exactly understand
sorry if im wasting time _________________ the questions of today are awnswered by the blood and bullets of tomorrow! ---EagleEye--- (Socom FTB2) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|