Commit graph

63 commits

Author SHA1 Message Date
turley
a79d9d81c6 some socket fixes 2011-12-29 14:16:40 +00:00
turley
df251bd349 warning fixes 2011-12-29 10:45:47 +00:00
turley
4e7e400254 64bit compilation.. 2011-12-23 13:28:38 +00:00
dsourc
cda82e5f88 Changed: basic::CChrz( intarray ) to basic::CChrz( intarray, break_at_first_null := 0 );
if the break_at_first_null parameter is 0 it uses the old behaviour to just skip the nulls and still convert everything
           if the break_at_first_null parameter is set to 1 it stops the conversion to string at the first null it finds.
2011-11-29 18:50:40 +00:00
dsourc
b7956b13f7 Changed: CascZ( str ) to CascZ( str, nullterm := 0 )
if nullterm 1 it adds the terminating 0 in the end of array.
	Note:	 Recompile of scripts needed.
2011-11-26 15:19:57 +00:00
turley
d32cec7d6c Added: basic::TypeOfInt( expr ) + basic.em constants
returns like TypeOf() the type of given parameter, but returns instead of a string an integer (see basic.em constants)
since integer comparison are way faster then string comparison this function should always be used for comparisons
2011-03-12 10:51:10 +00:00
turley
981ff65c43 -added ESCRIPT_PROFILE #define stops the execution time of functions/members/methods PolCore().internal(1) logs it into debug.log
-added globalproperty file for PreprocessorDefinitions (i hate to set needed defs in every proj) vs2008/10 only
-some speedups
-removed "Waah! ..." prints on heal/damage dead chr
-fixed "*.. is attacking you!*"
2011-03-04 14:32:18 +00:00
frozenblit
eb61009c6e Fixed some possibilities of leaking if an exception was thrown and a few other warnings (all the rest, code analysis) 2010-07-10 20:02:50 +00:00
turley
e10cd27cea sync: shini - long to int (prerequisit for 64-bit) 2010-03-29 14:52:03 +00:00
turley
7a2addff8d Fixed: StrReplace,SubStrReplace return "Invalid parameter type" instead of crashing if non string object
is given as to_replace, replace_with
Fixed: Several small memoryleaks
2010-02-16 12:46:55 +00:00
turley
ff4936f20f more var scope cleanup 2009-10-07 11:47:42 +00:00
turley
8084d7c0e4 more cleanup
+pre-incrementing of iters is faster
2009-10-07 10:55:39 +00:00
muaddib_pol
49072c3c41 + To-Do file updates
+ Beginning of Mobile and Module source file organization
+ Makefile.Gcc updates
2009-09-06 14:11:24 +00:00
Renamed from pol-core/bscript/basicmod.cpp (Browse further)