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 Go to previous messageGo to previous message
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Patch] Skip militia turns by holding SHIFT
Next Topic: can ja2 stracciatella support other format music???
Goto Forum:
  


Current Time: Fri Jan 10 23:44:33 GMT+2 2025

Total time taken to generate the page: 0.01568 seconds