Witam
Mam pytanie, czy zna ktoś jakiś program/skrypt, który z diffa tworzy instrukcję. Np.
Index: player.cpp
===================================================================
--- player.cpp (revision 96)
+++ player.cpp (working copy)
@@ -57,7 +57,7 @@
if(client)
client->setPlayer(this);
- pzLocked = isConnecting = addAttackSkillPoint = requestedOutfit = false;
+ pzLocked = isConnecting = addAttackSkillPoint = requestedOutfit = liveStatus = false;
saving = true;
lastAttackBlockType = BLOCK_NONE;
Index: player.h
===================================================================
--- player.h (revision 96)
+++ player.h (working copy)
@@ -789,6 +789,7 @@
bool requestedOutfit;
bool outfitAttributes;
bool addAttackSkillPoint;
+ bool liveStatus;
OperatingSystem_t operatingSystem;
AccountManager_t accountManager;
@@ -871,6 +872,7 @@
Vocation* vocation;
ProtocolGame* client;
+ std::vector<ProtocolGame*> liveUsers;
SchedulerTask* walkTask;
Party* party;
Group* group;
I z tego tworzy dokument w HTML, w którym piszę:
W pliku player.cpp, zamiast
pzLocked = isConnecting = addAttackSkillPoint = requestedOutfit = false;
daj
pzLocked = isConnecting = addAttackSkillPoint = requestedOutfit = liveStatus = false;
itd.
Dziękuje.