Alexander Gavrilov
0412aaebe4
Add a delete() method to the objects in the lua wrapper.
2012-03-25 15:48:18 +04:00
Alexander Gavrilov
7209e4d3f2
Attach static methods to the type objects in the lua wrapper.
2012-03-25 15:20:58 +04:00
Alexander Gavrilov
8d345be6e7
Expose virtual methods in the lua wrapper.
2012-03-25 14:06:05 +04:00
Alexander Gavrilov
5d471a2a74
Since lua is now compiled as c++, don't declare api functions extern "C".
2012-03-25 11:11:45 +04:00
Petr Mrázek
def7e51564
Merge https://github.com/warmist/dfhack
2012-03-25 03:27:26 +02:00
Warmist
e36ed9ac07
Fixed more plugins (embark/friendship/simple_embark)
2012-03-25 01:31:58 +02:00
Petr Mrázek
ee66731d63
Remove Qt and server plugins.
2012-03-25 00:28:29 +01:00
Quietust
947adeac83
Silence warning 4482
2012-03-24 18:18:29 -05:00
Warmist
b8210a4cc7
Commented non working parts... Not very much left...
2012-03-25 01:16:41 +02:00
Petr Mrázek
b47e068f8c
Merge https://github.com/warmist/dfhack
2012-03-24 23:12:10 +01:00
Petr Mrázek
645e5eb2c1
track structures
2012-03-24 22:44:16 +01:00
Warmist
4e11a4be1a
Tried to update df-structs.
2012-03-24 21:35:09 +02:00
Petr Mrázek
39f722339c
Track structures
2012-03-24 17:10:45 +01:00
Petr Mrázek
3331bc31f6
Merge https://github.com/warmist/dfhack
2012-03-24 17:10:19 +01:00
Petr Mrázek
fc4a72bbf3
Merge https://github.com/quietust/dfhack
2012-03-24 17:09:11 +01:00
Warmist
b56917f91b
Merge branch 'master' of https://github.com/angavrilov/dfhack
2012-03-24 16:49:17 +02:00
Quietust
e779a076fc
Fix Lua compilation on win32 - extern must come BEFORE __declspec
2012-03-24 09:11:25 -05:00
Warmist
99da37ae46
Moving to new LuaWrapper.
2012-03-24 14:47:51 +02:00
Alexander Gavrilov
517b2ffadb
Merge remote-tracking branch 'peterix/master'
2012-03-24 16:30:07 +04:00
Alexander Gavrilov
0c7fc233bd
Support resize/erase/insert for containers, and allow any index in BitArray.
2012-03-24 16:28:53 +04:00
Petr Mrázek
5453521da2
Make liquids and tiletypes reference Brushes.h in the build system
...
This should cause the header to show up in MSVC
2012-03-24 13:22:43 +01:00
Petr Mrázek
8a847dbaba
Tweaks and cleanups
...
Removed t_virtual.
Made lua use C++ compiler
Removed many silly exception types from Error.h and renamed the rest.
Removed Brush classes from tiletypes plugin.
2012-03-24 12:13:51 +01:00
Alexander Gavrilov
d865d54a90
Split LuaWrapper.cpp into two files.
2012-03-24 13:25:10 +04:00
Alexander Gavrilov
053bfe345c
Implement allocation and copy for c++ objects in the lua wrapper.
2012-03-24 12:43:53 +04:00
Petr Mrázek
7fe5fc9a90
autolabor fixage
2012-03-24 01:33:29 +01:00
Petr Mrázek
e90da2bff1
Move autolabor to main plugin folder
2012-03-24 01:29:09 +01:00
Petr Mrázek
13cf648634
Merge https://github.com/RossM/dfhack
2012-03-24 01:26:36 +01:00
Petr Mrázek
addb5c87aa
liquids vs liquidsgo: FIGHT!
...
liquidsgo WINS, renamed to liquids to not confuse users.
2012-03-24 00:13:16 +01:00
Petr Mrázek
078caf363f
Move merged plugins into main plugin folder.
2012-03-23 23:49:28 +01:00
Petr Mrázek
2f76a52959
Merge https://github.com/rh73/dfhack
2012-03-23 23:06:48 +01:00
Petr Mrázek
90de6a1b62
Track submodules
2012-03-23 22:59:40 +01:00
Petr Mrázek
f549f4e545
Merge https://github.com/warmist/dfhack
2012-03-23 22:59:28 +01:00
Warmist
e10b1a50a3
Onfunction start
2012-03-23 11:07:54 +02:00
Warmist
61eef26c92
Merge branch 'master' of https://github.com/angavrilov/dfhack
2012-03-23 11:06:44 +02:00
Alexander Gavrilov
2b1f8aa2bb
Add a _field method that returns refs to struct and container items.
...
Hack: allocate ad-hoc pointer identities as full lua userdata.
2012-03-23 12:55:29 +04:00
Alexander Gavrilov
6b2006361d
Add a _displace method that implements offsetting a pointer by an int.
2012-03-23 11:54:59 +04:00
Alexander Gavrilov
78437310d0
Add a sizeof method/function to retrieve object/type size and address.
2012-03-23 11:30:54 +04:00
Alexander Gavrilov
ccc8fac166
Get rid of the write mode field table in metamethods.
...
Two separate tables can be confusing, e.g. if a builtin field
overrides a writable custom one only in the read table.
2012-03-23 10:56:29 +04:00
Alexander Gavrilov
ead28db451
Remove the return type from lua_read, because it always returns 1.
2012-03-23 09:38:49 +04:00
Warmist
f25d15ce9c
Stupid mistake fixed
2012-03-22 23:27:25 +02:00
Warmist
8f72a642b2
Fixed getxyz(), getCreatureAtPos() (also returns nil/creature) and empregnate to work with look/talk
2012-03-22 21:47:33 +02:00
Robert Heinrich
aa807343cc
vampcheck is now generic cursecheck, added tweak clear-ghostly
2012-03-22 16:30:15 +01:00
RossM
c48c7cf874
Make logic closer to C# version. Address code comments from peterix.
2012-03-22 00:33:18 -07:00
Alexander Gavrilov
27824642d9
Minor refactoring of container indexing and object allocation.
2012-03-22 10:56:32 +04:00
Petr Mrázek
1311f4fbf9
bump version
2012-03-21 17:55:49 +01:00
Alexander Gavrilov
ad10303cec
Implement bitfields and add a _kind metadata field to types and objects.
2012-03-21 20:04:37 +04:00
Robert Heinrich
cf029e0a2e
fixed memory leak in liquids.cpp
2012-03-21 13:57:55 +01:00
Robert Heinrich
2e62f5fd12
minor change in README.rst
2012-03-21 13:23:12 +01:00
Robert Heinrich
38686765a6
added plugin liquidsgo (like liquids but can run from hotkey)
2012-03-21 12:40:07 +01:00
Alexander Gavrilov
9b78fffe92
Support containers in the lua wrapper.
2012-03-21 13:26:53 +04:00