Commit Graph

67 Commits

Author SHA1 Message Date
9d86053817 Fix up MSVC project file for the major reorganization 2017-08-30 00:09:01 -04:00
59f2a7b94e Some code cleanup, mainly constants
- Strip out unused constants
- Use const instead of #define
- Remove some obsolete comments
2017-02-12 00:04:53 -05:00
649e08f8c7 Fix MSVC build 2017-01-26 12:35:38 -05:00
c4ddb82c6a Rename some rsrc/ subfolders 2017-01-21 20:02:36 -05:00
447e6b543e Windows: Update CopyFiles script to pack the preset scenarios 2017-01-21 16:38:37 -05:00
67bf250198 Windows: Fix copy files logic error 2017-01-21 14:23:49 -05:00
380b64aa7a Fix some issues when loading new-format scenarios
- Carriage returns misinterpreted as map features
- Error code returned by CopyFiles
- Confusing error message when a file is missing in the archive
2017-01-20 23:11:40 -05:00
07e5907818 Windows: Update CopyFiles to compress the bladbase
This also updates the installer generator to include the new bladbase instead of the old.
2017-01-20 22:17:43 -05:00
d39da71778 Fix Visual Studio build 2016-09-13 22:54:53 -04:00
077d188cdd Move scenario init code into cUniverse and treasure-generating code into cScenario 2016-08-25 23:19:42 -04:00
d008ccd6f7 Windows: Build XP-compatible binaries 2016-06-29 02:20:08 -04:00
6d50497684 MSVC: Link whatever Boost version is available
(Will cause problems if multiple versions are available though.)
2016-04-30 13:58:19 -04:00
fc8a6fa5c5 Fix MSVC build 2015-10-04 22:52:13 -04:00
8afd3825b0 Refactor the dialog engine's event handling to make it easier to add new events in the future
- Focus event split into focus and defocus
- Scroll event added but not yet properly implemented

Also:
- Remove the useless (and ignored) clickable attributes from the schema
- Pave the way for controls other than fields to be able to recieve keyboard focus
2015-10-03 19:49:33 -04:00
d970b6ee06 Fix target inclusion of scrollpane.cpp, and add to MSVC project 2015-10-03 00:09:25 -04:00
67cf73e593 Fix resource manager not properly accounting for overrides 2015-09-25 20:14:55 -04:00
43e057949d scons: Generate Windows installer
Also:
- scons: Fix copying wrong scenario graphics on Windows
- MSVC: Fix output filenames for release builds
2015-09-14 02:15:40 -04:00
d0ee490ff9 MSVC: Add the dialogs to the common project file 2015-09-13 15:21:31 -04:00
09b117776a Move Windows resource scripts to rsrc/ directory 2015-09-12 17:28:07 -04:00
0c7c64dfc9 Rearrange resource structure
- All resources are now under data/
- Editors and Blades of Exile Base are no longer in Scenario Editor subfolder
- User scenarios are now stored in %APPDATA% / "Application Support"
2015-09-03 19:26:19 -04:00
fb752dc065 Fix Windows installer script 2015-08-19 14:04:09 -04:00
b63e0a24f4 Add Boost libs (thread, [file]system) to Additional Dependencies in Visual Studio 2015-08-19 13:41:04 -04:00
e29e34582f Get git revision inclusion working on Windows 2015-08-19 13:13:36 -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
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
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
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
580f70f49a Add a dialog in scenario editor to import/export custom sounds in WAV format 2015-06-17 01:03:17 -04:00
e055b97c9f Add dialog allowing you to alter the scenario's graphics sheets from within the scenario editor
- You can copy/paste images into the sheet, or import/export to/from png files

Also:
- Picture controls in the dialog engine have a new "scaled" flag; if set, the picture will be scaled into the provided bounds rather than overflowing. Currently, only full sheets honour the setting.
2015-06-15 16:20:03 -04:00
f0e6e7ef24 Get the makefile basically working in producing an executable of the game
- tinyprint.hpp was renamed to tinyprint.h to conform to the pattern of the makefile rules
2015-06-14 23:32:51 -04:00
0798f98523 Symbolic I/O for more enums
- Nearly every enum that gets written to a file now uses a symbolic form rather than a numeric form. Input supports both forms.
- The special node type enum, however, no longer has a symbolic form output operator, as the only place it's output is in the special nodes file which uses the opcode.
- Collected some enums scattered around the files into one place in simpletypes.hpp
2015-06-13 15:43:29 -04:00
2f7291d479 Make installer not put up the Repair/Uninstall dialog when installing MSVCRT 2015-06-10 23:30:52 -04:00
233a50a1e2 More fixes/tweaks to the installer
- Add Windows icon for scenario files (using the old Mac icon)
- Fix OpenAL not being deleted, causing the program directory to remain
- Fix association for old scenarios (.exs) not being removed
Also:
- Fix build broken in previous commit (due to header renames)
2015-06-09 10:26:08 -04:00
b22f2e2e47 Rename the Windows resource header files 2015-06-09 09:04:08 -04:00
cc22966ff8 Fix the Windows file associations 2015-06-09 07:57:10 -04:00
d6218e9db9 Merge branch 'master' from Windows 2015-06-08 23:45:41 -04:00
7f871d78e3 Add file associations to the Windows installer,
and fix up the uninstaller script (mostly)
2015-06-08 23:45:23 -04:00
01d317b007 .h -> .hpp 2015-06-08 22:14:43 -04:00
7e4eabf198 Add item-monster selection palette which fills the same space as the terrain palette
- Removed the item/monster menus in the scenario editor (they weren't function anyway)
- Scrollbars can now have a maximum value of 0; if this is the case, they do not draw a thumb
2015-06-01 18:59:24 -04:00
2b8374269a Make Windows build use the new app icons 2015-02-21 21:28:21 -05:00
7c1aa91ad6 Finally fix the shaders issue on Windows, as well as a crash that only occurred in Release builds 2015-02-20 19:35:21 -05:00
50e3d7b378 Add OpenAL to list of included DLLs on Windows. 2015-02-19 22:24:19 -05:00
f2f334551c Fix town advanced dialog
- Also remove now-unused Windows accelerator table resources
2015-02-14 22:58:41 -05:00
d977a0f457 Make menu accelerator keys work on Windows 2015-02-14 15:21:26 -05:00
0aaa299642 Implement the close and revert menu choices, as well as PC editor help
- Fix storing directions in save file as control characters
2015-02-14 13:20:41 -05:00
d45ba59cce Fix Windows build
This commit also disables warnings for comparison of differently signed integers
2015-02-12 18:21:58 -05:00
99bb11dd3b Split up files so that the scenario editor will build
- cCreature split into seperate file-pair from cMonster/cTownperson
- fileio.cpp split into general, party, and scenario sections
- classes.h file deleted
2015-01-24 21:29:34 -05:00