Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » [Patch] Clothes change
Re: [Patch] Clothes change[message #249335]
|
Thu, 15 April 2010 00:15
|
|
Centurion |
|
Messages:80
Registered:April 2009 Location: E.U. |
|
|
*don't want to continue the offtopic in that other thread:
I'm doing something wrong but I don't know if it's the *.diff file itself.
ok
1. Created a *.diff file using notepad++
2. pasted your code. resulted in = this file
3. placed file on c:\build
4. executed patch -p0 < clothes_change.diff
he says he can't find the file at input line 5 asks me to locate it
5. placed clothes_change.diff in c:\build\ja2 and executed it
(stripping trailing CRs from patch)
patching file Build/JAScreens.h
hunk#1 FAILED at 4
Hunk #2 failed at 44
2 out of 2 hunks FAILED -- saving rejects to file
"
***************
*** 285,291 ****
}
- static void CyclePaletteReplacement(SOLDIERTYPE& s, PaletteRepID pal)
{
UINT8 ubPaletteRep = GetPaletteRepIndexFromID(pal);
const UINT8 ubType = gpPalRep[ubPaletteRep].ubType;
--- 285,294 ----
}
+ /* mgl: Clothes change
+ * Exported function.
+ */
+ void CyclePaletteReplacement(SOLDIERTYPE& s, PaletteRepID pal)
{
UINT8 ubPaletteRep = GetPaletteRepIndexFromID(pal);
const UINT8 ubType = gpPalRep[ubPaletteRep].ubType;
Report message to a moderator
|
Corporal 1st Class
|
|
|
|
|
[Patch] Clothes change
By: mgl on Sat, 31 October 2009 10:47
|
|
|
Re: [Patch] Clothes change
|
|
|
Re: [Patch] Clothes change
By: mgl on Fri, 16 April 2010 00:28
|
|
|
Re: [Patch] Clothes change
By: mgl on Fri, 16 April 2010 13:58
|
|
|
Re: [Patch] Clothes change
|
|
|
Re: [Patch] Clothes change
By: mgl on Fri, 16 April 2010 20:17
|
|
|
Re: [Patch] Clothes change
|
|
|
Re: [Patch] Clothes change
By: Mythrell on Fri, 16 April 2010 21:52
|
|
|
Re: [Patch] Clothes change
|
|
|
Re: [Patch] Clothes change
By: lockie on Sat, 17 April 2010 21:43
|
|
|
Re: [Patch] Clothes change
By: cdudau on Sat, 17 April 2010 22:45
|
|
|
Re: [Patch] Clothes change
By: mgl on Sat, 17 April 2010 23:47
|
|
|
Re: [Patch] Clothes change
By: mgl on Sun, 18 April 2010 10:19
|
|
|
Re: [Patch] Clothes change
|
|
|
Re: [Patch] Clothes change
By: mgl on Sun, 18 April 2010 19:35
|
|
|
Re: [Patch] Clothes change
By: mgl on Sun, 25 April 2010 00:10
|
|
|
Re: [Patch] Clothes change
By: Tron on Tue, 04 May 2010 10:52
|
|
|
Re: [Patch] Clothes change
By: mgl on Tue, 04 May 2010 23:24
|
|
|
Re: [Patch] Clothes change
By: Tron on Wed, 05 May 2010 08:26
|
|
|
Re: [Patch] Clothes change
By: mgl on Thu, 06 May 2010 22:20
|
|
|
Re: [Patch] Clothes change
By: Tron on Sun, 16 May 2010 21:43
|
|
|
Re: [Patch] Clothes change
By: mgl on Sun, 16 May 2010 22:52
|
|
|
Re: [Patch] Clothes change
By: Tron on Sun, 16 May 2010 23:05
|
|
|
Re: [Patch] Clothes change
By: mgl on Sun, 16 May 2010 23:38
|
|
|
Re: [Patch] Clothes change
By: Tron on Mon, 17 May 2010 00:03
|
|
|
Re: [Patch] Clothes change
By: mgl on Mon, 17 May 2010 00:44
|
|
|
Re: [Patch] Clothes change
By: Tron on Mon, 17 May 2010 07:16
|
Goto Forum:
Current Time: Fri Jan 10 23:44:33 GMT+2 2025
Total time taken to generate the page: 0.01568 seconds
|