deathcore v1.0 coming soon!!!

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Rangu2057
Posts: 87
Joined: Mon Jul 23, 2007 8:37 am
Location: wilmington, NC

deathcore v1.0 coming soon!!!

Post by Rangu2057 »

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: Select all

// DeathCore v1.0 homebrew app by Rangu2057

#include <pspkernel.h>
#include <pspdebug.h>
#include <pspdisplay.h>
#include <pspctrl.h>

PSP_MODULE_INFO&#40;"DeathCore v1,0,1,1&#41;;

// Exit callback
int exit_callback&#40;int arg1, int arg2, void *common&#41;&#123;
	sceKernelExitGame&#40;&#41;;
	return 0;
&#125;

// Callback Thread
int CallbackThread&#40;SceSize args, void *argp&#41;&#123;
	int cbid;

	cbid = sceKernelCreateCallback&#40;"Exit Callback", exit_callback, NULL&#41;;
	sceKernelRegisterExitCallbck&#40;cbid&#41;;

	sceKernelSleepThreadCB&#40;&#41;;

	return 0;
&#125;

// Sets up callack thread and returns its thread id
int SetupCallbacks&#40;void&#41;&#123;
	int thid = 0;

	thid = sceKernelCreateThread&#40;"update_thread", CallbackThread, 0x11, 0xFA0, 0, 0&#41;;
	if&#40;thid >= 0&#41;&#123;
		sceKernelStartThread&#40;thid, 0, 0&#41;;
	&#125;

	return thid;
&#125;

#define printf pspDebugScreenPrintf // simplifies the way text is printed to the screen
#define RGB&#40;r, g, b&#41; &#40;&#40;r&#41;|&#40;&#40;g&#41;<<8&#41;|&#40;&#40;b&#41;<<16&#41;&#41; // simplifies the RGB macros

Black = RGB&#40;0, 0, 0&#41;; // color of menus BG color
White = RGB&#40;255, 255, 255&#41;; // color of the unhighlighted text
Green = RGB&#40;0, 255, 0&#41;; // 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&#91;5&#93; = &#93;-->; // What to use as our cursor for the main menu


main&#40;&#41;
&#123;
	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)
adrahil
Posts: 274
Joined: Thu Mar 16, 2006 1:55 am

Post by adrahil »

Ahem...

Code: Select all

PSP_MODULE_INFO&#40;"DeathCore v1,0,1,1&#41;;
Rangu2057
Posts: 87
Joined: Mon Jul 23, 2007 8:37 am
Location: wilmington, NC

Post by Rangu2057 »

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)
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

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.
Rangu2057
Posts: 87
Joined: Mon Jul 23, 2007 8:37 am
Location: wilmington, NC

Post by Rangu2057 »

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)
Post Reply