Commit Graph

33 Commits

Author SHA1 Message Date
1894b31e20 Implement loading of scenarios
- This also tweaks the scenario schemas for consistency between schemas and code, adds some unique key restraints, and makes some attributes required.
2015-02-11 14:03:03 -05:00
a1da743a47 Move scenario schemas to the schemas directory 2015-02-05 22:56:57 -05:00
1778cd9a61 Tweak scenario output and schema so that they match; write script to XML-validate a whole scenario 2015-02-05 22:18:19 -05:00
8d4cea7d0b Complete implementation of saving new-format scenarios and write version-check and loading stub for new-format scenarios 2015-02-04 19:48:31 -05:00
4efcb08932 Implement a quest system and job board
- The job board is loosely based on Exile III's job board; the dialog is converted from the one contained as a relic of E3 in BoE
- Quest system is loosely based on a mix of Exile III jobs and Blades of Avernum quests
- Talking to a monster (even a hostile one) can now trigger an arbitrary special node

Dialog engine:
- LED's now support wrapped labels
2015-02-01 01:30:15 -05:00
9b067b62e4 Implement writing of town/outdoors map data to file 2015-01-23 18:21:20 -05:00
ac4441f33e Implement writing town to XML 2015-01-22 21:36:54 -05:00
5e21b8d4be Add three more map features to the map parser 2015-01-22 21:36:53 -05:00
aa705fac13 Implement writing outdoor sector to XML 2015-01-22 21:36:46 -05:00
3e0e3d3b8a Implement saving monster definitions to XML 2015-01-22 14:33:28 -05:00
670e35f9d5 Implement writing item definitions to XML 2015-01-22 12:22:40 -05:00
967438ecec Add dialog to the scenario editor to let it know what type of graphics are in the custom sheets
- If you do this, it adds the graphics to all relevant select graphic dialogs, at the end, allowing you to choose custom graphics without having to remember the number schemes
2015-01-20 17:18:37 -05:00
f282c06bfa Write the code to save the general scenario data to a file
- See monster strings are now fetched from the same list as the special encounter strings instead of a list of their own
- There is now a possibility for the scenario intro dialog to have a different icon than the scenario icon
- Remove unused intro_mess_len field
- Add method to the XML printer class to push a simple element with no attributes or child elements
- Automatically close any elements before writing the document to the stream
- Fix scenario editor File menu having an invisible "Close All" option that appeared when the option key was pressed
2015-01-13 20:54:51 -05:00
6cae5d8bbd Add rudimentary error messages to the special nodes parser
- It tells you the line number, but not the nature of the error
- Unfortunately it can't currently cope with files that don't end in a newline
2015-01-10 19:12:33 -05:00
4db81f1403 Implementation of parsing for the map format (untested)
- Some stubs inserted for loading new-format scenario data
2014-12-05 00:50:17 -05:00
7a2a0f93d3 Finally, a working parser!
--> At least, it parses the sample file correctly

- I reverted the choice of using a skip parser, because it was failing and I couldn't figure out why. This means there's a lot of *ws where whitespace can go.
- Grammar rearranged a little
2014-12-03 05:03:10 -05:00
d1a8db9b70 Sample nodes file, more semantic actions
- Note: This parser is still untested.
2014-12-02 17:07:39 -05:00
01f0a62160 Define a grammar for special node definition files 2014-12-02 15:59:38 -05:00
c62ac56702 More enumeration in the schema instead of arbitrary integers 2014-12-01 20:11:45 -05:00
6f73841764 Schemas for monster, item, and terrain definitions 2014-11-29 03:20:07 -05:00
bc7d1a3772 Simplification 2014-11-28 16:22:43 -05:00
5d1697c206 Schema for town dialogue 2014-11-28 16:22:33 -05:00
6e2e6d31a1 Schema for outdoors definitions 2014-11-28 15:10:35 -05:00
c1c4ce4b5c Forgot area description rects 2014-11-28 14:41:44 -05:00
d96ef5713b Move entry and wandering locs to the map data 2014-11-28 14:38:35 -05:00
d3c640b782 Formalize scenario ratings 2014-11-28 14:31:01 -05:00
b64cc7b8c6 Add xml extension 2014-11-28 14:19:26 -05:00
1a9f85da29 In the scenario file, rects require all four attributes 2014-11-28 14:11:03 -05:00
f21ef07111 Formalize schema for town definition file 2014-11-28 14:10:40 -05:00
de7489d47d Forgot storage shortcuts, also validate language codes 2014-11-28 12:07:42 -05:00
fbb0b70626 Formalize scenario schema
- Except ratings, those still need to be formalized
2014-11-28 11:58:58 -05:00
7d287769ab CRLF-->LF 2014-11-28 11:57:19 -05:00
Sylae Corell
f443171f7c Uploading the start of a schema-thing for boes, a new scenario format.
git-svn-id: http://openexile.googlecode.com/svn/trunk@172 4ebdad44-0ea0-11de-aab3-ff745001d230
2013-01-25 02:31:25 +00:00