Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10484
Modified Files:
ChangeLog pythonscript.cpp pythonscript.h speech.cpp
Log Message:
fixes
Index: speech.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/speech.cpp,v
retrieving revision 1.188
retrieving revision 1.189
diff -C2 -d -r1.188 -r1.189
*** speech.cpp 28 Aug 2004 21:14:53 -0000 1.188
--- speech.cpp 25 Sep 2004 19:57:12 -0000 1.189
***************
*** 278,283 ****
color = 0x2;
! if ( type == 0 || type == 2 )
pChar->setSaycolor( color );
if ( pChar->onTalk( type, color, font, speech, lang ) )
--- 278,285 ----
color = 0x2;
! if ( type == 0 )
pChar->setSaycolor( color );
+ else if ( type == 2 )
+ pChar->setEmoteColor( color );
if ( pChar->onTalk( type, color, font, speech, lang ) )
Index: pythonscript.h
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/pythonscript.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** pythonscript.h 22 Sep 2004 05:34:47 -0000 1.41
--- pythonscript.h 25 Sep 2004 19:57:12 -0000 1.42
***************
*** 87,90 ****
--- 87,91 ----
EVENT_UPDATEDATABASE,
EVENT_GETSELLPRICE,
+ EVENT_SHOWVIRTUEGUMP,
EVENT_COUNT,
};
Index: pythonscript.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/pythonscript.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** pythonscript.cpp 25 Sep 2004 02:03:19 -0000 1.50
--- pythonscript.cpp 25 Sep 2004 19:57:12 -0000 1.51
***************
*** 530,533 ****
--- 530,541 ----
"onGetSellPrice",
+ /*
+ \event onShowVirtueGump
+ \param player The player who pressed the button.
+ \param target The owner of the paperdoll the button was on.
+ \condition Triggered when a player presses the virtue gump button on his or another characters paperdoll.
+ */
+ "onShowVirtueGump",
+
0
};
Index: ChangeLog
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/ChangeLog,v
retrieving revision 1.76
retrieving revision 1.77
diff -C2 -d -r1.76 -r1.77
*** ChangeLog 25 Sep 2004 02:03:19 -0000 1.76
--- ChangeLog 25 Sep 2004 19:57:12 -0000 1.77
***************
*** 52,55 ****
--- 52,57 ----
- Fixed a log rotation bug related to uninitialized variables (valgrind.kde.org)
- Fixed memory leaks in Territories, ACLs and PythonScripts. (valgrind.kde.org)
+ - Added an onShowVirtueGump event.
+ - Fixed the emotecolor property not being set on speech.
Wolfpack 12.9.10 Beta (10. September 2004)
|