Explorar el Código

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 hace 18 años
padre
commit
3e25d536cf
Se han modificado 2 ficheros con 186 adiciones y 181 borrados
  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

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 181 - 181
src/map/script.c


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio