Commit Graph

50 Commits (2356e4976875c9f96159e69949f3958daa5d555c)

Author SHA1 Message Date
U-glouglou\simon 2e61410fb4 Debugging the material access system : seems to work now 2010-05-02 11:27:16 +02:00
U-glouglou\simon f46a7f1213 Basic code for item handling, now it should be tested :) 2010-05-02 10:35:23 +02:00
Petr Mrázek 64f1e47716 More warning-squashing 2010-05-02 03:06:57 +02:00
Petr Mrázek 26bbd1de17 Make new probe tool out of the 'vecc' thing. 2010-04-30 21:52:37 +02:00
simon d5b8821a90 better names for what's in the "t_material" structure 2010-04-29 16:59:30 +02:00
simon 3cab327704 Added embryo function for getting item descriptions 2010-04-28 18:24:27 +02:00
simon 65db80cd50 A little bug to be corrected ... 2010-04-28 18:13:29 +02:00
simon 82dbf08d0b Modified the material API 2010-04-28 18:09:32 +02:00
Petr Mrázek df3efe23fb Fix creature moods on 0.31.01 and 0.31.02 2010-04-27 20:18:46 +02:00
Petr Mrázek 157deb85af CR/LF? 2010-04-26 18:23:47 +02:00
simon 19895639ab loading inorganics was necesary 2010-04-26 17:48:51 +02:00
simon ff9a4d6091 test description of metal bars 2010-04-26 17:33:17 +02:00
simon bc08be3cbb Another flag is useful here 2010-04-26 17:19:20 +02:00
simon f5d52661b6 Display is a bit better 2010-04-26 15:40:08 +02:00
simon 2188ab1122 Add support for reading those strange flags in the mood materials 2010-04-26 15:34:07 +02:00
simon f73d936398 Printing mood modifiers as signed ints is more user friendly 2010-04-26 15:24:04 +02:00
simon dfea1911ca mood skill support in the creature structure 2010-04-26 14:12:07 +02:00
simon 453b4521c0 plurals converted to singles ... 2010-04-26 14:06:07 +02:00
simon 467b852f8d type description test 2010-04-26 14:04:16 +02:00
simon b59b552f93 Mood reading preliminary support 2010-04-26 13:23:57 +02:00
simon 9705e05d8c Creature tile description support
Reading of the tile character and colors in the race structure, plus
offsets in Memory.xml.
Upgrade of creaturedump
2010-04-19 11:23:11 +02:00
Petr Mrázek fb9ca213ec DFVector is now a template, eliminationg tons of ugly casts.
I think I got them all, but testing is required.
2010-04-18 14:56:09 +02:00
Petr Mrázek 59cdbeefe7 catsplosion ported, doesn't work 2010-04-15 13:04:58 +02:00
Petr Mrázek ab3a842fdb Support for creature castes 2010-04-14 22:12:02 +02:00
Petr Mrázek 2594cd4eb3 Fix language vector for 0.31.03 2010-04-13 23:21:31 +02:00
Petr Mrázek 81cf60c0e0 Fixes to creature offsets. Needs more checking. 2010-04-13 07:36:16 +02:00
Petr Mrázek 88a3d96ef6 0.31.03 support. Creature soul offsets need a bit of work it seems. 2010-04-13 05:46:26 +02:00
Petr Mrázek e85b429127 Throw exceptions on memory read errors! Fix reading creatures that have no soul. 2010-04-13 03:11:26 +02:00
Petr Mrázek 6ba2804b68 Creature traits, added back map occupancy. 2010-04-12 00:48:25 +02:00
Petr Mrázek c08d696d56 Creature mental attributes 2010-04-09 03:21:42 +02:00
Petr Mrázek aa32e79fea Physical attributes in creaturedump 2010-04-09 02:14:47 +02:00
Petr Mrázek 409e3ffcf0 More creature stuff 2010-04-09 02:08:46 +02:00
Petr Mrázek 01383fd8b7 Dwarf labors work, added to creaturedump 2010-04-07 03:38:22 +02:00
Petr Mrázek f81c66d9ea Reading creature skills 2010-04-07 02:46:46 +02:00
Petr Mrázek 5ee584b372 Name translation for real 2010-04-07 01:17:03 +02:00
Petr Mrázek 500ee6a49b Modular API 2010-04-05 00:48:19 +02:00
Petr Mrázek 1d513256fd Processed profession list 2010-04-04 12:43:11 +02:00
Petr Mrázek 51a1ec5c1e Very basic creature reading 2010-04-04 12:29:56 +02:00
Petr Mrázek 8137c73b98 Beginning DF2010 support 2010-04-02 15:47:08 +02:00
Petr Mrázek 71fc49897f Accelerated creatures work on Windows
Refactored vector reading, proper length of vectors from MSVC9 is known (0x18, triplet starts at 0xC)
2010-03-30 02:26:52 +02:00
Petr Mrázek 6522d0c498 Even more fixes for random crashes in some less common cases (DF in the menu, etc...) 2010-03-26 13:38:49 +01:00
Petr Mrázek 4d939363b5 Many fixes to DFHack tools and examples 2010-03-26 13:01:46 +01:00
Zhentar 4287abbc94 Add pregnancy and blood stuff to the creature struct 2010-03-21 15:47:24 -05:00
belal 12abef8ace used different creature vector than before, this is the correct one, the old one was missing some creatures, and the current_creature index was not right, also found the offsets for mood and artifacts for 40d
Everything should work now from 40d,40d2->40d19 on windows, linux was already done before

I also modified creaturedump.cpp to show mood and aritifacts if a creature has one, also the mood is now a int rather than a uint, as we check for -1
2010-03-14 13:21:52 -04:00
belal 17e81ddcce fixed merge for creaturedump.cpp 2010-03-13 09:09:14 -05:00
belal 0582354191 Merge remote branch 'remotes/peterix/master' into version_compatiblity
trying merge

Conflicts:
	examples/creaturedump.cpp
	output/Memory.xml
2010-03-13 08:45:30 -05:00
belal 791ac8dd75 modify the renamer and creature dump to output the new current cursor creature code 2010-03-12 09:21:45 -05:00
Zhentar 052dd53c03 Further cleanup for name stuff; fixing examples that I broke and handling settlements. Also added mood, so that it can be determined whether or not the dwarf's artifact was created. 2010-03-07 20:01:30 -06:00
Petr Mrázek 1e04722a63 Refactor of memory_info class, now with more d-pointer 2010-02-22 23:34:20 +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