Commit Graph

1208 Commits

Author SHA1 Message Date
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
f8697a943a Don't truncate special item names 2015-06-24 11:21:45 -04:00
b30b2d3a58 Improve loading time for custom scenarios list 2015-06-24 11:21:34 -04:00
2466ed1bc4 Fix party out of combat not facing the right way 2015-06-24 10:53:50 -04:00
269daedcd1 Add visual indication when there's more than one special node assigned to a space 2015-06-24 01:54:42 -04:00
0fbb872b73 Add Give Equipment node for giving a specific PC an item,
possibly with modifiers (like equipping it)
2015-06-24 01:54:41 -04:00
c30c9fca5f Fix some erroneous node information due to misordering 2015-06-24 01:54:40 -04:00
8670455f2f Fix buttons in PC info dialog always showing info for the first PC 2015-06-24 01:54:40 -04:00
2934585e21 Fix crash when initiating conversation via special node 2015-06-24 01:54:39 -04:00
452b6ee342 Fix missing Choose button for Destroy Monsters node 2015-06-24 01:54:38 -04:00
63531d14ff Fix erroneous errors when editing talk nodes that call specials 2015-06-24 01:54:38 -04:00
0cc2e38535 Fix Create PC node not setting the new PC's status to Alive 2015-06-24 01:54:37 -04:00
0b9827cb6a Remove force-equip option from Force Give node 2015-06-24 01:54:35 -04:00
8c02b019a9 Fix Affect Name and Create PC always using a scenario string 2015-06-24 01:54:33 -04:00
dfa04c0601 Add option to Affect XP node to set experience based on level 2015-06-24 01:54:31 -04:00
bd1d72da98 Refactor item equipping into the player class 2015-06-24 01:54:31 -04:00
cb14a9c5d7 Add a Swap Buffer node, giving you an infinite number of string variables
- Also fix the string buffer so that it actually works.
- Also add a node to change the text of a sign
2015-06-23 20:17:28 -04:00
8b2f2bee45 Formatting! :O 2015-06-23 19:55:22 -04:00
c542227de3 Fix potential infinite loop if a timed starts another timer 2015-06-23 19:51:57 -04:00
5dcc480b32 Don't force movement if special node #50 was called 2015-06-23 19:51:19 -04:00
83dc55f5dd Fix forgotten conversion of monster graphic 2015-06-23 19:49:33 -04:00
dcca4d30be Fix issues with the Edit Sheets dialog 2015-06-23 19:48:53 -04:00
dd90a18569 Fix legacy graphics not working on Windows 2015-06-23 19:48:15 -04:00
4c96fe3756 Allow special nodes to force a conversation to end
(using Prevent Action node)
2015-06-23 14:14:11 -04:00
f0f3994b98 Full support for custom PC graphics as well as monster graphics on PCs 2015-06-23 14:12:51 -04:00
ef36e901de Fix crash when editing scenario event timers 2015-06-23 10:53:55 -04:00
06cb9ea250 Fix town timers with a one-turn delay being triggered twice in a row 2015-06-23 10:52:57 -04:00
28014de5d4 Add legacy compatibility flag for Affect PC nodes in combat mode 2015-06-21 22:55:00 -04:00
c5c3e0c681 Fix showing the outdoors if you die in town combat 2015-06-21 22:54:40 -04:00
525371fb81 Streamline XCode build by using static libraries for common sources
- Also clear out several obsolete build settings
- Disable optimization in debug build
2015-06-21 22:16:57 -04:00
41fb8bd056 XCode build is now completely warning free 2015-06-21 18:22:20 -04:00
b7faf52f5e Remove pointless s_pow and s_sqrt functions and use hypot instead of sqrt for distance calculations 2015-06-21 18:04:31 -04:00
b85d177164 Fix dialog pics being underconverted from legacy scenarios 2015-06-20 21:32:19 -04:00
2ddf38138a Fix town entry sounds playing at scenario start and when using a stairway 2015-06-20 21:18:20 -04:00
f8193a32e7 Add missing Boost.Thread dependency to XCode project,
plus workaround for my old libc++.
2015-06-20 21:17:59 -04:00
d3e6af6cc9 Bugfixes
- Fix uninitialized data in scenario details (especially rating)
- Fix case-sensitive comparison for scenario file extensions
2015-06-20 13:07:12 -04:00
d0bfd64550 Sort scenarios in custom scenario list by name 2015-06-20 13:06:42 -04:00
50570998a1 Merge branch 'master' from mac 2015-06-20 13:03:58 -04:00
8d793a16c4 Use boost::thread instead of std::thread 2015-06-20 12:54:27 -04:00
3239d8e503 Bugfixes
- Fix attempt at accessing invalid placed town locations
- Fix attempt at accessing invalid terrain in editor when checking whether to apply transformations
2015-06-20 12:43:16 -04:00
c2970295d6 Implement missing platform-specific functions for Windows 2015-06-20 12:42:11 -04:00
54224b10a3 Fix dialog pics being overconverted from legacy scenarios 2015-06-19 19:00:20 -04:00
24c124c79f Add bundling stage to makefile 2015-06-17 16:54:15 -04:00
9d74f78df3 Implement all the missing parts of the Edit Sheets and Edit Sounds dialogs
- On load, the game now detects graphic sheets and sounds whose IDs are "discontinuous", as well as graphics intended to directly replace preset graphic sheets.
- Edit sheets dialog can now handle "discontinuous" graphics. (The edit sounds dialog already could.)
- Edit sheets dialog prompts user to create a new sheet if there are none already, and also if there are some but not ID 0 (in the latter case they can cancel and still edit the sheets).
- Edit sheets dialog prompts user to convert sheets if the scenario is legacy, rather than doing it silently
- Edit sheets dialog now has "new" and "delete" buttons
- Edit sounds dialog now has functioning "delete" button
2015-06-17 04:29:10 -04:00
580f70f49a Add a dialog in scenario editor to import/export custom sounds in WAV format 2015-06-17 01:03:17 -04:00
4d9ec53b8b Separate Blades of Exile Base from the scenarios target, as it's not needed for anything other than the scenario editor 2015-06-15 19:54:16 -04:00