Commit Graph

64 Commits (71c27e65d8d384022fa2dd2c3e22785c76891409)

Author SHA1 Message Date
Petr Mrázek da19d92f16 Asserts into IFs 2010-02-18 21:28:28 +01:00
Petr Mrázek e9e1d2b8b9 Tabs to spaces 2010-02-18 18:06:32 +01:00
Petr Mrázek 2e02efa8d2 Merge branch 'master' of git://github.com/belal/dfhack 2010-02-18 17:55:43 +01:00
belal 387e1e8794 Finish up code for hotkeys and notes, just need to find offsets for linux versions and windows < d17
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-17 21:08:54 -05:00
Petr Mrázek 42a12ffaec Veinlook now goes to map edges
API change: isValidBlock now checks for map boundaries
API change: added getBlockPtr. It returns a DF pointer to a block.
2010-02-18 02:10:39 +01:00
belal e71f41fd42 test commit of notes-windows d17
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-17 18:33:08 -05:00
Petr Mrázek 2bde06a2af Added veinlook, linux SHM produces less spam messages.
Veinlook is a tool that allows looking at the map and the different vein types it contains. This adds ncurses as a dependency on Linux.
2010-02-17 17:49:19 +01:00
Petr Mrázek 054fec0afc Updated README and COMPILE, split tools into tools and examples.
Tools are now useful, and with a working user interaction where applicable.
Examples are a collection of benchmarks, tests and simple unfinished ideas.
2010-02-16 07:21:38 +01:00
Petr Mrázek 56969fb977 Added std::string read/write by belal. Extremely volatile. 2010-02-16 00:04:15 +01:00
Petr Mrázek a17cb053d4 quick creature API fix 2010-02-13 16:19:11 +00:00
Petr Mrázek 63f82cd580 API changes: InitRead* methods made safer - they now return false on error 2010-02-11 21:08:39 +00:00
Petr Mrázek 5b0a03b16d merged itemdesignator and menustate patches 2010-01-18 16:44:24 +00:00
Petr Mrázek 91f64ac8ba iteration for huge reads and writes, async suspend call for polling 2010-01-02 02:25:21 +00:00
Petr Mrázek 037d1369cb syntax fixes, some things were out of sync 2010-01-01 02:30:35 +00:00
Petr Mrázek c7c446a33a merged previous patch from belal (things intended for Dwarf Therapist) 2010-01-01 02:14:41 +00:00
Petr Mrázek 117fcce0d9 merged item patch from belal 2010-01-01 01:49:32 +00:00
Petr Mrázek aef02eddce use of memory barriers in the shm server and client code 2009-12-27 03:51:54 +00:00
Petr Mrázek efce0ab21b merge in shm branch 2009-12-22 21:19:39 +00:00
Petr Mrázek 3888d0fc06 fixed tons of warnings, removed dependency on xtest 2009-12-13 21:03:19 +00:00
Petr Mrázek 58986ef838 cleanup #2 2009-12-13 00:20:25 +00:00
Petr Mrázek 1ea77b477e cleanup #1 2009-12-12 23:56:28 +00:00
Petr Mrázek 337d42e15a merged input injection patch by belal 2009-12-12 19:52:30 +00:00
Petr Mrázek 9c54031180 reserve space for biome vectors, tiny fix to tiletype table 2009-11-25 18:19:09 +00:00
Petr Mrázek 5c93d339db got rid of many temporary objects in string reading 2009-11-24 10:34:42 +00:00
Petr Mrázek 6cb7c4a636 optimizations 2009-11-22 14:43:53 +00:00
Petr Mrázek 99f6e0860f fix memleak in creature reading 2009-11-21 10:55:00 +00:00
Petr Mrázek 989fa8f887 ForceResume call 2009-11-19 01:48:18 +00:00
Petr Mrázek 67adb64a46 fix missing return, tweaked attachtest to show suspend/resume speed in a sensible manner 2009-11-19 00:36:03 +00:00
Petr Mrázek 141f056350 purged some compiler-specific code 2009-11-18 22:56:11 +00:00
Petr Mrázek a6ffb58fdb optimized map initialization, more sanity checks 2009-11-18 21:27:13 +00:00
Petr Mrázek dea1ce858b merged window dimension and item matgloss patches from belal 2009-11-18 03:35:43 +00:00
Petr Mrázek 2f710730ac merged item support by belal 2009-11-17 14:52:47 +00:00
Petr Mrázek 6975661733 massive refactors of process, processmanager is now processenumerator, better split between windows and linux code, finalized suspend/resume 2009-11-17 03:19:13 +00:00
Petr Mrázek 5be36e0f42 load dfvector whole instead of on-demand 2009-11-16 20:00:14 +00:00
Petr Mrázek 47b61a907d suspend and continue calls, a method for reading creatures within a volume 2009-11-16 16:47:22 +00:00
Petr Mrázek 7e3af38941 add support for enumerating process memory ranges. full of fail on windows. 2009-11-15 04:25:00 +00:00
Petr Mrázek 37d08a05ca creatures almost done 2009-11-14 03:46:56 +00:00
Petr Mrázek e88e9b2951 more creature rework, now with none of the strings 2009-11-13 14:28:42 +00:00
Petr Mrázek 7489fe51ab fix for the ambiguous abs() call, slowly reworking creatures 2009-11-13 13:35:44 +00:00
Petr Mrázek 7ce31ae483 shallow copy fix from belal 2009-11-12 17:50:50 +00:00
Petr Mrázek 370655a516 move creature getters to the public API 2009-11-12 01:53:49 +00:00
Petr Mrázek 30d8a015fd cursor and window coords reading and writing (only for 40d16 on windows right now) 2009-11-12 01:39:43 +00:00
Petr Mrázek e8e3f9e794 view and cursor coords for 40d16 on windows 2009-11-12 01:05:07 +00:00
Petr Mrázek 4f279680b5 using D pointer, a proper interface 2009-11-11 03:37:28 +00:00
Petr Mrázek 88771ab973 merged another big creature patch from belal, moved C API to unmaintained, starting a big cleanup of the new code 2009-11-09 23:18:20 +00:00
Petr Mrázek 8185f72b63 fixes 2009-11-08 12:51:54 +00:00
Petr Mrázek 215bb64a1e tons of stuff 2009-11-07 23:35:38 +00:00
Petr Mrázek a7bf3595b7 merged a big patch from belal, unstable on anything but windows 40d16 2009-11-07 21:05:10 +00:00
Petr Mrázek 41475d1918 manual merge of patch from http://www.bay12games.com/forum/index.php?topic=41916.msg850579#msg850579 2009-11-06 01:04:17 +00:00
Petr Mrázek d3b62a7672 research into buildings, building hexdump tool 2009-11-04 01:01:55 +00:00