User:Elisherer

From WiiBrew
Jump to navigation Jump to search
Elisherer.jpg
he This user is a native speaker of Hebrew.
Wii
BootMii This user has installed BootMii on their Wii.
Wii This user is running System Menu 4.0 on their Wii.
Userbox homebrew channel.png This user has installed the Homebrew Channel version 1.0.3 on their Wii.


DVDX This user has installed DVDX on their Wii.
Homebrew Browser This user uses the Homebrew Browser to download and update their homebrew.
MPlayer CE This user uses MPlayer CE to play media on their Wii.
Development
Developer icon.png
This user has developed homebrew for the Wii.


Windows Flag.png This user develops using Windows.
C This user codes in C.
Userbox beta.png
This user beta tests homebrew.
Peripherals
3 Wii Remotes This user owns 3 Wii Remotes.
Nunchuck alternative.svg This user owns 2 Nunchuks.
ClassicController.svg This user owns 2 Classic Controllers.
GameCube Controller This user owns 0 GameCube Controllers.
Wii MotionPlus This user owns 2 Wii MotionPlus units.
Wii Balance Board This user owns 1 Wii Balance Board.
Fast Forwarder
General
Author(s)Elisherer
TypeUtility
Version0.3 (LoadMii)
Links
Download

Eli sherer

the maker of

I'm working on:

  • [MiiStudio] an extension for libmii to generate images of a mii.

GRRLib Homemade Windows-like Cursor

For Entering my profile, you get a present...

void draw_cursor(int x,int y,int a)
{	double sina=sin(DegToRad(a)),cosa=cos(DegToRad(a));
	Vector	vcursor[8]={{0,0},{0,34},{8,26},{16,42},{21,39},{13,23},{23,23},{0,0}};
	u32 fcolor[8]= {GRRLIB_WHITE,GRRLIB_WHITE,GRRLIB_WHITE,GRRLIB_WHITE,GRRLIB_WHITE,
			GRRLIB_WHITE,GRRLIB_WHITE,GRRLIB_WHITE},
		lcolor[8]= GRRLIB_BLACK,GRRLIB_BLACK,GRRLIB_BLACK,GRRLIB_BLACK,GRRLIB_BLACK,
			GRRLIB_BLACK,GRRLIB_BLACK,GRRLIB_BLACK};
	//rotation:
	//x'=xcosa-ysina
	//y'=xsina+ycosa
	int i,oldx,oldy;
	for(i=0;i<8;i++)
	{	oldx=vcursor[i].x;oldy=vcursor[i].y;
		vcursor[i].x=oldx*cosa-oldy*sina+x;
		vcursor[i].y=oldx*sina+oldy*cosa+y;
	}
	//draw left leg
	GRRLIB_NGoneFilled(vcursor, fcolor,8);
	GRRLIB_NGone(vcursor, lcolor,8);
}

Call it like this:

	draw_cursor(ir1.sx-200,ir1.sy-250,ir1.angle);
	GRRLIB_Render();

Fast Forwarder

To use this program you first need to install the libfat from the lib file to your libogc directory and than change the 'PATH_DOL' and 'PATH_ELF' definition in main.c and compile. good luck! (Tell me what you think in the discussion)