Commit Graph

140 Commits (34f33a8c91b0782f6d8dc43de09a8318141b8dca)

Author SHA1 Message Date
Warmist 086ce16f0f tools updated (not fully), added editor( edit everything in df) 2012-03-18 01:57:50 +02:00
Warmist 77738085e2 embark and friendship working. 2012-03-18 00:50:47 +02:00
Warmist 16861781c2 Merge branch 'master' of git://github.com/peterix/dfhack 2012-03-17 15:09:05 +02:00
Warmist fd48c59aba Started move to new system. Temp disabled non-working plugins. 2012-03-17 15:05:48 +02:00
Warmist dea215d0b9 Alignment done (at least for now). Now there is a working access to df. 2012-03-16 02:08:55 +02:00
Warmist f092edaa99 alignment hell, and started to port all plugins to new structure based mode. 2012-03-13 23:08:46 +02:00
Warmist 04a43501ac Fixed loops in linked lists, split xml_types into windows (and in the future linux) versions. Works, but not tested. Also updated offset for migrants. 2012-03-13 21:40:25 +02:00
Petr Mrázek eb4757043b Move depends out of main library, make them (static) libraries. 2012-03-13 14:46:48 +01:00
Warmist 081aee1363 Fixes for DfHack::Process foolery. 2012-03-11 14:59:32 +02:00
Warmist 237d7b433a Updated to new dfhack standards. 2012-03-11 14:33:08 +02:00
Warmist 35ca21426b Df reading starting to work. Lots of testing required, some types don't have accessors yet, etc bugs 2012-03-11 13:42:59 +02:00
Warmist e8788d8872 Lots of work done with xml parsing. 2012-03-04 14:45:15 +02:00
Warmist 1c90019de4 More work with parsing xml (almost works) 2012-03-02 01:23:03 +02:00
Warmist e2c677b020 Pattern reader to a tree 2012-02-23 01:32:38 +02:00
Warmist 8d9fa86804 Added dfusion plugin name. 2012-02-23 00:41:27 +02:00
Warmist da57a66850 fixed build errors with offsetgroup 2012-02-23 00:21:50 +02:00
Petr Mrázek 2cd2ee9b0c New plugin interface 2012-02-21 18:19:17 +01:00
Quietust 091bf62aa8 DFhackCExport is only needed on the plugin_* functions 2012-02-13 22:54:08 -06:00
Petr Mrázek 8f1a2ebf7f Added missing keybinding mention to 'ls', DFusion hotfix. 2012-02-06 04:47:13 +01:00
Warmist 571c249522 Fixed crash with dfusion migrants plugin. 2012-01-06 10:25:58 +02:00
Warmist 3115fb17c7 Merge branch 'master' of git://github.com/peterix/dfhack 2012-01-06 10:24:46 +02:00
Petr Mrázek 78a98de37e Fix MSVC builds, break buildings :D 2012-01-05 23:39:14 +01:00
Warmist d612db0935 Added binding to suspend/resume (engine.suspend and engine.resume in lua) 2012-01-05 10:58:53 +02:00
Petr Mrázek 86464b99cc Remove DfVector, break MSVC builds until further notice. 2012-01-04 01:45:11 +01:00
Petr Mrázek 9db20bd84d Header changes/cleanup. 2011-12-31 12:48:42 +01:00
Warmist 5e34284e5d Fix for give sentience. 2011-12-27 23:09:53 +02:00
Warmist bc539672d5 Split some plugins to plugin/init pairs (for dfusion init mode) 2011-12-27 23:08:06 +02:00
Warmist 52a049cec3 Removed thready argument to dfusion, replaced with init (just sets stuff up, running everything in non interactive mode) 2011-12-27 23:07:23 +02:00
Warmist 71e2321fef Added getKeys method to lua offsetgroup and a way to cast versioninfo to offsetgroup 2011-12-24 16:00:43 +02:00
Warmist 0bc41ccb10 Added header files to dfusion's project 2011-12-24 15:59:53 +02:00
Warmist dc78e99f75 Added getKeys to OffsetGroup (for easy lua access to all things that memory.xml has) 2011-12-24 13:53:59 +02:00
Warmist 2008ac5564 Added utils.lua with usefull lua utils. 2011-12-18 16:58:34 +02:00
Warmist e84841e94f Added autorunning initcustom.lua (for place to put private scripts) autorunning save files, and friendship_civ (still buggy) 2011-12-12 20:25:37 +02:00
Warmist 9b48d4946e Added autorunning initcusom.lua if it exists (for custom scripts) 2011-12-11 02:28:15 +02:00
Warmist e7a8c8c684 Lua function calling. 2011-12-04 18:45:34 +02:00
Warmist c13f142092 Start of building hacking 2011-10-02 13:21:36 +03:00
Warmist 8e70a02941 Better onfunction hints, new onfunction location (Hurt) 2011-09-21 22:52:26 +03:00
Warmist 6a56eabd71 Added calldf function to call df functions (did not find any working function yet). Added 3 new function for onfunction. 2011-09-21 21:35:58 +03:00
Warmist ab448d4109 Small fixes + lua_bit lib (fixes flag manipulations) 2011-09-17 14:59:10 +03:00
Warmist 25b689b778 Fixes so that windows ver would build (and work) 2011-08-25 07:22:31 +03:00
Warmist cc73dd3140 Refactored onfunction a bit, added function hints. 2011-08-21 20:29:35 +03:00
Warmist 78ed7d314b Linux support for onfunction/Die. 2011-08-21 16:27:01 +03:00
Warmist 246f704c68 Move function found for linux. 2011-08-21 15:56:42 +03:00
Warmist 8e68b50ed7 Linux tinkerings, moved few offsets and part of creature pattern into memory.xml model 2011-08-21 01:46:16 +03:00
Warmist 1a99121ead Started migration to init/plugin scheme (init files for noninteractive parts). Also added WINDOWS/LINUX flags 2011-08-21 00:15:40 +03:00
Warmist 150e06f115 OnFunction got new functions to make function callbacks easier (namely SetCallback(name,function) and AddFunction(addr,name)) 2011-08-20 23:13:14 +03:00
Warmist 97a85f274c Replaced test function with OnCreature move... 2011-08-20 20:23:47 +03:00
Warmist 3e75ac015c more registers supported 2011-08-20 17:51:00 +03:00
Warmist f9c1556f7f Working onfunction... 2011-08-20 17:20:04 +03:00
Warmist e901f615c9 Almost working onfunction plugin... need to work out few bugs 2011-08-20 02:33:57 +03:00
Warmist b29c719538 Started working on new plugin 2011-08-20 01:12:30 +03:00
Warmist 68fbd4a78d fixed few formating things, and annoying 'g' error. (work-around somehow the '..' operator does not work with numbers) 2011-08-19 19:12:25 +03:00
Warmist 97712089bd Added dfusion thready flag to spawn another thread 2011-08-19 18:09:00 +03:00
Petr Mrázek a0f99ef707 Many tweaks to plugins, reorganized the build system and removed more cruft. 2011-08-14 08:42:21 +02:00
Petr Mrázek 9ecbaecc13 Merge https://github.com/warmist/dfhack
Conflicts:
	plugins/Dfusion/dfusion.cpp
2011-08-13 14:44:54 +02:00
Petr Mrázek 81e6bce92c Command history separated from Console. 2011-08-13 14:42:09 +02:00
Warmist 3f6f33fb94 Embark plugin to memory.xml model 2011-08-09 11:37:59 +03:00
Warmist a94ba4392c small fixes to VersionInfo wrapper, added Current_Race in Memory.xml to new version and ported friendship plugin to memory.xml model 2011-08-09 11:31:51 +03:00
Warmist 148afde4eb finnaly fixed the VersionInfo. Should work now. 2011-08-09 11:00:20 +03:00
Warmist 179a41adff Rest of methods (editing not implemented) 2011-08-09 03:54:33 +03:00
Warmist 6a8c92e088 versionInfo wrapper, no offsetgroup methods yet 2011-08-09 02:46:32 +03:00
Warmist c1273982cf Merge branch 'master' of https://github.com/peterix/dfhack 2011-08-09 00:34:49 +03:00
Petr Mrázek 8fd437dbc1 Make dfusion use the static lua lib. 2011-08-08 23:30:30 +02:00
Warmist eb097fc625 some mockery with linux offset finding to test if it's working 2011-08-09 00:21:10 +03:00
Warmist 056fd51e96 lua file fixes for linux (hopefully does not break windows) 2011-08-08 23:38:09 +03:00
Warmist 71dc85d35a Linux compatibilty run, not sure if windows is not broken... 2011-08-08 22:19:04 +03:00
Warmist bead6cd350 Lua versioninfo start, small ressurection tool update. 2011-08-07 15:21:52 +03:00
Warmist f2b8ff1280 All plugins added, triggers not working yet other +- work
Signed-off-by: Warmist <Warmist@gmail.com>
2011-08-05 00:44:56 +03:00
Warmist 835581e5d3 Embark and friendship working
Signed-off-by: Warmist <Warmist@gmail.com>
2011-08-05 00:22:25 +03:00
Warmist 89c1dba637 .o file reader source files 2011-08-04 21:52:22 +03:00
Warmist e66a03e654 Beggining of auto-offset finder port. (not working yet)
Signed-off-by: Warmist <Warmist@gmail.com>
2011-08-04 20:57:53 +03:00
Warmist e7174e6736 DWORD_ fix, not sure if correct 2011-08-03 18:15:58 +03:00
Warmist ef4a459214 Ported items plugin with more stuff 2011-08-03 17:59:06 +03:00
Warmist e98e4a5111 Fixes to hexsearch
Signed-off-by: Warmist <Warmist@gmail.com>
2011-08-03 16:27:04 +03:00
Warmist f4179652fa Lots of changes, including hexsearch and wrapper for lua, also LUNE - an object oriented lua wrapper 2011-08-03 16:07:57 +03:00
Warmist 5f729ffc0f Added script files and cmake install script for them 2011-07-28 04:22:15 +03:00
Warmist 6c2a822494 small bugfix (lua_Process.cpp) and onTick rate slowed
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-28 04:08:57 +03:00
Warmist 0799cde3af Small fixes and lua port of Process
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-28 03:11:33 +03:00
Warmist e30975f8f3 Functioncall minilib quickfix for unix.
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-28 01:28:50 +03:00
Warmist f1d32ef766 Peek and pokes with lua bindings. Also interpreter implemented
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-28 00:21:09 +03:00
Warmist d262986740 Added simple readme, fixed sdl_threads and moved to tinythreads (mutex for lua engine). Other small fixes
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-27 23:10:20 +03:00
Warmist f003a19e40 Functioncalling minilib
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-19 16:45:54 +03:00
Warmist d0c2f3b9f5 Functioncall minilib testing 2011-07-17 12:00:29 +03:00
Warmist 6c75e8cd88 Merge branch 'dfapi' of git://github.com/peterix/dfhack into dfapi
Conflicts:
	plugins/CMakeLists.txt
2011-07-17 00:11:21 +03:00
Warmist fc68387ea3 Improved error checking (and flood protection)
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 22:23:44 +03:00
Warmist e47d05eeb4 Full DFHack::Console to lua binding.
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 22:08:58 +03:00
Warmist 3106606a4e OnTick working!
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 20:43:57 +03:00
Warmist 3afa35df61 Added lua c++ wrapper
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 19:29:46 +03:00
Warmist 7969a701c3 Lua integrated.
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 18:34:24 +03:00
Warmist 75cffcb347 First dfusion plugin commit
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 17:22:45 +03:00