Pārlūkot izejas kodu

Globalised use of script_pushint and script_getdata in script.c
Little clean of unused variables in script.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10026 54d463be-8e91-2dee-dedb-b68131a5f0ec

toms 18 gadi atpakaļ
vecāks
revīzija
3e25d536cf
2 mainītis faili ar 186 papildinājumiem un 181 dzēšanām
  1. 5 0
      Changelog-Trunk.txt
  2. 181 181
      src/map/script.c

+ 5 - 0
Changelog-Trunk.txt

@@ -4,6 +4,11 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2007/03/19
+	* Globalised use of script_pushint and script_getdata in script.c
+	  If someone need them, the regexp used was : 
+	  sed -i "s/& *(st->stack->stack_data\[st->start *+ *\([^]]*\)\])/script_getdata(st,\1)/g" script.c
+	  sed -i "s/push_val(st->stack, *C_INT *, *\([^)]*\))/script_pushint(st,\1)/g" script.c
+	* Little clean of unused variables in script.c [Toms]
 	* Script engine:
 	- calling functions without using the return value doesn't generate warnings
 	- more work on Ticket #41

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 181 - 181
src/map/script.c


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels