Ahmed Samy
e4ba805e00
deleteSpawn()
11 years ago
Ahmed Samy
93be0f975f
getCreatures / getSpawns
11 years ago
Sam
cbfeef39bc
Effects now use x and y pattern, fixes #433
11 years ago
Sam
d7dfa2220e
GMAction fix
11 years ago
Eduardo Bart
59c3e4467a
Update v0.6.5 download link in README
11 years ago
Eduardo Bart
117833addc
Update to version 0.6.5
11 years ago
Ahmed Samy
edf17a44ca
Code cleanup
11 years ago
Sam
6db2458c1d
Adding 10.31 to version list
11 years ago
Ahmed Samy
2556bfcbf2
Tab -> space
11 years ago
Ahmed Samy
9bdce800d8
Bind Container item code to lua
11 years ago
Ahmed Samy
9adab5f9bf
Item serialization: Write description & text
11 years ago
Ahmed Samy
a6f998d406
Fix typo & bind ItemType::isWritable
11 years ago
Ahmed Samy
ab21558c47
Do not test for TILESTATE_NONE
...
This flag is ALWAYS set, cause it's always 0 i put there by mistake.
It causes an issue by simplying drawing everything dark, cause of
the opacity...
11 years ago
Sam
17c4d59b15
Enabling versions 7.8 to 8.0
11 years ago
Sam
d53f4dfa1e
Merge pull request #419 from dominique120/master
...
Spanish translation improvement.
11 years ago
Sam
da959aca28
Support for protocol 7.7/7.72 / Tiny fix
11 years ago
Sam
91c182d93d
Tiny typo fix :)
11 years ago
dominique120@live.com
6ecd49abe1
Fix recommended by @Bahamuntxd
11 years ago
Ahmed Samy
6745bff132
Introduce g_resources.getDirectoryFiles
...
This can recursively find files in a directory that's not in physfs search
path, this is needed for mapeditor needs, esp the file browser.
We do not want to limit users to the application run directory
so we have to use this.
This function uses boost filesystem.
Prototype:
g_resources.getDirectoryFiles(directory STRING, filenameOnly BOOL,
recursive BOOL)
filenameOnly is there if we want to just get the filenames in the
directory.
recursive if we want to loop directories in the directory.
11 years ago
Sam
27db78567b
Fix writables in 7.6, fixes #416
11 years ago
Sam
83dd92cfec
Merge pull request #417 from ronpetit/master
...
fixed outfit for 7.6 fix #415
11 years ago
dominique120@live.com
5605061435
fixed a little typo.
11 years ago
dominique120@live.com
241b178ebc
Improved the Spanish translation by making some statements sound more formal and correcting a few other ones that where incorrect or that missed a few words.
11 years ago
Ron
d0288e23d8
Update outfit.lua
...
Fixed outfits for 7.6
11 years ago
Sam
9d8cf33acc
Fix 7.60 login protocol
11 years ago
Sam
6a4868f2b5
Merge pull request #412 from LordHepipud/patch-1
...
Fix 7.70 RSA / XTEA encryption
11 years ago
LordHepipud
aa84ee4362
Fix 7.70 RSA / XTEA encryption
...
RSA / XTEA encryption was implemented with Client 7.70
~~~~Lord Hepipud~~~~
11 years ago
Henrique Santiago
1e17919a26
Use of createTable on containers
11 years ago
Ahmed Samy
df3546b073
lua: now we have a function to static allocate an array
...
lua_newtable() definition:
#define lua_newtable(L) lua_createtable(L, 0, 0)
This simply allocates space for 0 fields, meaning, if we push any
values into this array, it will re-allocate the array, which is bad.
This function statically allocates an array, so it's ready to have
X fields into it.
Performance tests:
lua_newtable
1428161
1426992
1413513
lua_createtable
2004544
1974117
1957533
These tests were done on an AMD 8350fx CPU, single thread used.
narr: This is for fields that just have an index, e.g. arr[0] etc.
nrec: For fields which needs like arr.a, arr.b etc.
This is how many times each of the functions can run per second, as
you can see about 1.7x the calls to lua_newtable.
All credits goes to @dalkon, he was too lazy to do it by himself, and
asked me to do it for him.
11 years ago
Ahmed Samy
24e26e190b
Also unbind g_minimap.updateTile
11 years ago
Ahmed Samy
ad7cda534d
Fix minimap tile update for item removal
11 years ago
Sam
863bece70b
VC12 fixes by @dalkon
11 years ago
Ahmed Samy
22f97aa00b
More binds to lua
11 years ago
Ahmed Samy
e32607b05c
Tiny fixes
11 years ago
Ahmed Samy
1790eee1c6
Add selection to tile
11 years ago
Ahmed Samy
ec2518525a
Add more tile flags to be checked for
11 years ago
Ahmed Samy
eb4fb4ff41
Animations are now optional
...
The default behaviour is still there though.
11 years ago
Ahmed Samy
4f997a3826
Only request tile cache to be updated once for both x & y
11 years ago
Ahmed Samy
c54015a60d
Fixup movePixels a little bit
...
Thanks to @dalkon for dis.
11 years ago
Ahmed Samy
57c432d3ea
Increase maximum move offset to be 64 instead of 32
11 years ago
Ahmed Samy
bd8c883e13
Take out debug message
11 years ago
Ahmed Samy
b5c3b37b3c
Tiny fix for movePixels
11 years ago
Ahmed Samy
ece6507df2
Bind g_minimap.updateTile to lua
...
This is needed to update tile removals from minimap widget.
11 years ago
Ahmed Samy
04515ffbb8
Fix map move pixels function
...
Thanks to @dalkon for this.
11 years ago
Ahmed Samy
ed24a0735a
Bind {un,}lockVisibleFloor to lua
11 years ago
Ahmed Samy
2498129ff3
mapio: don't add saved with line in description
11 years ago
Ahmed Samy
066638e7c0
mapio: don't add description twice
11 years ago
Ahmed Samy
95610de5f3
bind set{Width,Height} of g_map to lua
11 years ago
Ahmed Samy
9154c0a678
mapio: fix load on new maps
11 years ago
Ahmed Samy
772ec208c0
don't throw error on fail
11 years ago