Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 138855 Details for
Bug 197755
games-action/deadlysoccerball (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
deadlysoccerball-0.1-gentoo.patch
deadlysoccerball-0.1-gentoo.patch (text/plain), 2.36 KB, created by
Tupone Alfredo
on 2007-12-18 22:17:37 UTC
(
hide
)
Description:
deadlysoccerball-0.1-gentoo.patch
Filename:
MIME Type:
Creator:
Tupone Alfredo
Created:
2007-12-18 22:17:37 UTC
Size:
2.36 KB
patch
obsolete
>--- Sphere.cpp.old 2007-12-18 22:41:10.000000000 +0100 >+++ Sphere.cpp 2007-12-18 22:44:46.000000000 +0100 >@@ -450,6 +450,11 @@ > > void Sphere::loadTexture(char * fileName, GLuint * tId) > { >+ char tmpName[128]; >+ tmpName[127] = 0; >+ strncpy(tmpName, "@GENTOO_DATADIR@/", 127); >+ strncat(tmpName, fileName, 127-strlen(tmpName)); >+ > glEnable(GL_COLOR_MATERIAL); > > try >@@ -458,7 +463,7 @@ > > glGenTextures(1, tId); > >- SDL_Surface *texture = SDL_LoadBMP(fileName); >+ SDL_Surface *texture = SDL_LoadBMP(tmpName); > if (texture) > { > glBindTexture(GL_TEXTURE_2D, *tId); >@@ -596,4 +601,4 @@ > break; > } > glRotatef(t, a[0], a[1], a[2]); >-} >\ No newline at end of file >+} >--- World.cpp.old 2007-12-18 22:46:12.000000000 +0100 >+++ World.cpp 2007-12-18 22:48:40.000000000 +0100 >@@ -53,16 +53,16 @@ > > void World::loadAllSounds() > { >- this->loadSound("Sounds/mineexplosion.wav", SOUND_EXPLOSION_MINE); >- this->loadSound("Sounds/missileexplosion.wav", SOUND_EXPLOSION_MISSILE); >- this->loadSound("Sounds/spacejump.wav", SOUND_SPACE_JUMP); >- this->loadSound("Sounds/driveby.wav", SOUND_DRIVEBY); >- this->loadSound("Sounds/missilelaunch.wav", SOUND_MISSILE_LAUNCH); >- this->loadSound("Sounds/subping.wav", SOUND_AUTODESTROY); >- this->loadSound("Sounds/splooge.wav", SOUND_SMOKE); >- this->loadSound("Sounds/spike.wav", SOUND_SPIKE); >- this->loadSound("Sounds/acceleration.wav", SOUND_ACCELERATION); >- this->loadSound("Sounds/boing.wav", SOUND_BOING); >+ this->loadSound("@GENTOO_DATADIR@/Sounds/mineexplosion.wav", SOUND_EXPLOSION_MINE); >+ this->loadSound("@GENTOO_DATADIR@/Sounds/missileexplosion.wav", SOUND_EXPLOSION_MISSILE); >+ this->loadSound("@GENTOO_DATADIR@/Sounds/spacejump.wav", SOUND_SPACE_JUMP); >+ this->loadSound("@GENTOO_DATADIR@/Sounds/driveby.wav", SOUND_DRIVEBY); >+ this->loadSound("@GENTOO_DATADIR@/Sounds/missilelaunch.wav", SOUND_MISSILE_LAUNCH); >+ this->loadSound("@GENTOO_DATADIR@/Sounds/subping.wav", SOUND_AUTODESTROY); >+ this->loadSound("@GENTOO_DATADIR@/Sounds/splooge.wav", SOUND_SMOKE); >+ this->loadSound("@GENTOO_DATADIR@/Sounds/spike.wav", SOUND_SPIKE); >+ this->loadSound("@GENTOO_DATADIR@/Sounds/acceleration.wav", SOUND_ACCELERATION); >+ this->loadSound("@GENTOO_DATADIR@/Sounds/boing.wav", SOUND_BOING); > //this->loadSound("Sounds/boing2.wav", SOUND_BOING2); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197755
:
134875
|
134876
|
136389
|
136391
|
138854
| 138855 |
138857