Commit Graph

1153 Commits

Author SHA1 Message Date
77f149f64b Add missing Xcode scheme files 2015-06-29 20:59:46 -04:00
c1fa65a01d Much better error-checking when loading scenarios
- First of all, the program no longer crashes after an error.
- A lot more constraints are now checked for, such as required elements; even some constraints not expressed in the schema
- Special node parsing now has actually useful error messages
- Map data parsing now has error messages for the few invalid cases
- Fix the XML utility exception classes originally used only by the dialog engine; they're now correctly caught and properly report the error
- Fix loading of special shop entries
- Fix accepting any character as the separator in dice constants
- Verify that the monster ability type is on the right ability tag, that the extra element is present only if needed for general abilities, and that the missile and range elements are present for non-touch general abilities
- Use "infinite" for quantity in special shop items, instead of 0
- Tweak ticpp to fill out file/line/col information for _all_ exceptions, not just parse errors
- Raise error (ie, set stream failbit) when failing to convert an enumerator, instead of silently returning a default value (they do still return a default value though, if you don't bother to check stream state)
- Fix status effect enumerator not being correctly saved/loaded
2015-06-29 19:55:59 -04:00
860cf9d5dd Fix some rough edges when handling large pictures or full sheets
- Choose Picture dialog now scales these pictures down to fit in the available space, thus avoiding the ugly overlap issue.
- Choose Picture dialog now supports full sheets, scaling them down in a similar manner
- Due to the above, the Display Picture node now offers a Choose button
- The possibility of large (72x72) dialog pictures is now properly documented
2015-06-28 20:13:33 -04:00
f6d9ac7633 Make the background-removing script more generic 2015-06-28 15:49:15 -04:00
1dc59f4651 Random TODO comments 2015-06-28 15:18:35 -04:00
56d878a4db Add a big scenario icon for eventual use with Bandit Busywork
(Credit to The Almighty Doer of Stuff for creating this icon)
2015-06-28 12:16:12 -04:00
7fd6c85e37 Update status icon help to include new icons 2015-06-28 12:15:40 -04:00
4c4b0a131b Fix last two item graphics including black guide lines 2015-06-28 12:15:17 -04:00
9ae91feee6 Tiny scenario editor fixes
- Advanced monster edit dialog used stored node instead of node in text field
- Several preset item graphics missing from pick picture dialog
2015-06-28 12:14:58 -04:00
b307516d48 Fix several scenario editor dialogs still assuming there's a fixed number of special nodes 2015-06-28 11:58:23 -04:00
cc340e6d76 Default terrain flag1 to -1 instead of 0, for "no small icon" 2015-06-27 20:50:42 -04:00
ec8967dfb7 Fix missing "Alt-click" text in several modes in the scenario editor 2015-06-27 20:50:26 -04:00
7d18d94f3e Fix talk nodes being deleted if cancelled while last on the list 2015-06-27 20:50:00 -04:00
6dfb1c93d5 Fix many item abilities not working at all 2015-06-27 20:49:38 -04:00
5777d81745 Fix sleep clouds not being listed when looking at a space 2015-06-27 20:49:22 -04:00
d11e34b41b Adjust If Party Size node to match documentation 2015-06-27 20:49:02 -04:00
21435082c9 Add optional space insertion to string buffer append nodes 2015-06-27 20:48:14 -04:00
5646757fdc Fix rendering of custom item graphics in the editor terrain view 2015-06-27 16:16:49 -04:00
c863fb319b Default to "no icon" for legacy special-calling terrains 2015-06-27 16:16:34 -04:00
8a534c0524 Fix crash when loading scenarios packed by "tar -cf" 2015-06-27 16:16:12 -04:00
ef9fc69bb4 Fix incorrectly saving and loading item and terrain abilities
(as well as a few other enumerated types)
2015-06-27 16:15:24 -04:00
cfd46f8924 Windows: Launch Character Editor help on F1 2015-06-27 10:45:36 -04:00
39fd600673 Add alt-key equivalent to Install button on license page 2015-06-27 10:45:15 -04:00
7b167da087 Make uninstaller complain if BoE is already running 2015-06-27 10:44:54 -04:00
03754773f0 Add documentation to Windows installer 2015-06-27 10:43:42 -04:00
010f5c65e8 More documentation updates, mostly to the TOCs 2015-06-27 10:10:09 -04:00
e539327e08 Go to Contents instead of About for scenario editor help 2015-06-27 08:45:59 -04:00
95a9fa2502 Fix preset scenarios appearing in custom scenario dialog if their filenames included uppercase 2015-06-27 08:34:47 -04:00
225195c46f Launch a local copy of the help, if one exists 2015-06-27 02:29:30 -04:00
386993f5fa Mass update game docs 2015-06-27 02:16:38 -04:00
50bd421d7d Allow pausing with spacebar instead of numpad 5 2015-06-27 02:10:28 -04:00
dafe6c2790 Some character editor changes:
- Move Own Boats/Horses to Scenario menu
- Disable Scenario menu if not in a scenario
- Don't bother converting notes from legacy saves if not in a scenario (affects game too)
2015-06-27 02:08:15 -04:00
2397c540ab Add extra diagonal movement options for laptops 2015-06-26 23:47:28 -04:00
ecf0b77605 Don't print max health/spell points if clicking on main status description 2015-06-26 23:45:31 -04:00
dfddda8e82 Hard-wrap game docs 2015-06-26 23:06:59 -04:00
a0ec2490c7 Fix text overflow in edit outdoor encounter dialog 2015-06-26 22:03:28 -04:00
41fd6924fe Mass update editor documentation 2015-06-26 22:02:53 -04:00
271d247a8d Honour quantity with special shop items 2015-06-26 21:01:53 -04:00
65241ede56 Buy button can now trigger 'ench' talk nodes 2015-06-26 20:33:05 -04:00
9bdc4f00d7 more tiny icons 2015-06-26 17:33:17 -04:00
0dd11bec5b Make initial town in a new scenario enterable by default. 2015-06-26 14:41:54 -04:00
95b3d7e30e Implement recursive search for scenarios, allowing you to organize your scenarios directory 2015-06-26 14:18:17 -04:00
2bb89f127c Update Give Equipment node to fully match documented interface 2015-06-26 12:57:53 -04:00
fc83f656bb Merge branch 'master' from windows 2015-06-26 12:33:54 -04:00
acec2c071d Merge branch 'makefile' 2015-06-26 12:31:55 -04:00
ef0cdebec4 New editor commands: Resize Outdoors and Import Sector
This includes the following changes (mostly related to the above):
- Move loc_compare functor to location.hpp
- Add reattach() function to rebind a town or outdoor section to a different scenario object. (I don't think this is strictly necessary, as the scenario reference is only used in limited situations in the game itself, not in the editor, but it's better not to keep a reference to freed memory around when importing a town or sector from another scenario, even if the reference is never accessed.)
- Fix imported towns not being officially "loaded" until you explicitly use Load a New Town to reload them
- Fix Choose button in Load New Sector dialog
- More functions in the vector2d implementation
2015-06-25 23:55:55 -04:00
8a4e7a7a72 Mass fix use of curly quotes in dialogs 2015-06-24 16:00:15 -04:00
4934bb220a Fix not bundling Boost.Thread in XCode build 2015-06-24 16:00:10 -04:00
2951e0228c Tweak New Scenario dialog and add Save As option
- You now specify your name instead of the scenario filename in the first dialog
- A file dialog pops up after the second dialog, to let you choose the filename and location
- Fixed using Warrior's Grove even if you chose not to
- Fixed not recognizing .EXS as a valid legacy-scenario extension and appending .boes, resulting in .EXS.boes
- Adjust Difficulty scenario flag set on by default
2015-06-24 14:43:41 -04:00
0bb34130c3 Fix town not getting angry if you steal something 2015-06-24 11:33:21 -04:00