ctdabomb {l Wrote}:How do you update this? uninstall and redo the process? or what?
svn co https://meandmyshadow.svn.sourceforge.net/svnroot/meandmyshadow meandmyshadow
cd meandmyshadow
cmake .
make
svn up
Edward_Lii {l Wrote}: The next time you want to update you can simply run this command in the meandmyshadow folder:
- {l Code}: {l Select All Code}
svn up
If you've got any questions or encounter any problems just ask.
/home/ctdabomb/meandmyshadow/src/Functions.cpp: In function ‘void drawGUIBox(int, int, int, int, SDL_Surface*, Uint32)’:
/home/ctdabomb/meandmyshadow/src/Functions.cpp:84: error: ‘roundedBoxRGBA’ was not declared in this scope
/home/ctdabomb/meandmyshadow/src/Functions.cpp:87: error: ‘roundedRectangleRGBA’ was not declared in this scope
make[2]: *** [CMakeFiles/meandmyshadow.dir/src/Functions.cpp.o] Error 1
make[1]: *** [CMakeFiles/meandmyshadow.dir/all] Error 2
make: *** [all] Error 2
ctdabomb {l Wrote}:I get this error.
MCMic {l Wrote}:wrong topic, you should talk about this in a new one.
void drawGUIBox(int x,int y,int w,int h,SDL_Surface* dest,Uint32 color){
boxRGBA(screen,x+1,y+1,x+w-2,y+h-2,color >> 24,color >> 16,color >> 8,color >> 0);
rectangleRGBA(screen,x,y,x+w-1,y+h-1,0,0,0,160);
rectangleRGBA(screen,x+1,y+1,x+w-2,y+h-2,0,0,0,64);
rectangleRGBA(screen,x,y,x+w-1,y+h-1,0,0,0,255);
}
odamite {l Wrote}:It turns out that older versions of SDL_gfx doesn't support rounded rectangle/box functions. Should we make those borders sharp or draw them without SDL_gfx functions?
acme_pjz {l Wrote}:I have a solution that is include some SDL_gfx code in out source code, we only need 2 .c files
Users browsing this forum: No registered users and 1 guest