Commit Graph

1489 Commits

Author SHA1 Message Date
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
5c16195303 Apply bladbase corrections to new bladbase
(And remove the old-format corrected version.)
2017-01-20 21:50:36 -05:00
1a64245400 Convert bladbase to the new scenario format 2017-01-20 21:47:46 -05:00
c9b7346ca3 Tweak an editor button to reduce confusion
(New button by ADoS)
2017-01-20 21:36:18 -05:00
3fc4d259c4 Fix incorrect menu mapping on Windows 2017-01-20 21:31:18 -05:00
63345beb9b Fix crash when deleting certain elements in town 2017-01-20 21:31:17 -05:00
c54cab93ee Fix crash when editing special encounter strings 2017-01-20 21:31:15 -05:00
e2866d5eee Remove an obsolete link from the readme 2017-01-15 23:21:28 -05:00
09efa58742 Travis: Try extending timeout and using multiprocessing 2017-01-15 18:44:26 -05:00
e80086923d Fixup cursor hotspots 2017-01-15 15:04:21 -05:00
916b9992ac Shrink down the cursors a little (thanks to ADoS) 2017-01-13 23:00:50 -05:00
Keira Aro
a5b9aac7fa remove old jenkins link, change url shortener url to actual url 2017-01-13 06:48:03 -05:00
6a7b0a75b1 Maybe it depends on the XCode version? 2016-11-17 18:31:44 -05:00
1af8ba1483 Travis: Maybe this will magically fix it? 2016-11-14 14:26:02 -05:00
044543b717 Some fixups to Travis config 2016-11-05 23:54:51 -04:00
5a4382bb7b Add OSX build to Travis matrix
Also allow the Linux build to fail, for now
2016-11-05 23:39:15 -04:00
d93dae9096 Initial configuration for Travis integration
A successful build is not expected at this stage.
2016-11-05 23:04:50 -04:00
1b64eeaecf Fix inability to change skills in the training dialog 2016-10-15 22:16:56 -04:00
c1bfc99164 Fix several issues with saving and loading games
- PC's internal reference to the party was clobbered on load
- Several dynamic structures still made assumptions about their size, causing crashes
- Issues with town maps due to treating all towns as 64x64
- Town maps were saved only if you are in town
2016-10-01 17:52:05 -04:00
8edc156496 Finish tests for converting legacy special nodes 2016-09-29 22:23:17 -04:00
889b0663d1 Fix some issues with incorrect range errors from the talk node editor 2016-09-29 17:12:52 -04:00
65aed58d33 Fix shops not working with custom graphics 2016-09-28 22:16:03 -04:00
b526b08b7e Update scons 2016-09-28 21:32:29 -04:00
82303562c9 Fix outdoor monsters showing wrong graphic 2016-09-28 00:22:49 -04:00
6fa7603f71 Fix major automap display glitch 2016-09-27 23:55:20 -04:00
9aed4b418f Several small bugfixes
- Wrong image in generic lever dialog
- Crash in adventure notes dialog
- Incorrect spell costs shown on second page of spellcasting dialog
- Enable messages in "if context" node, but only for legacy scenarios
- Fix recorded dialogue not working
- Fix special items leaking between scenarios
- Fix training dialog
- Fix scenario editor sometimes crashing on scenarios that it wrote itself
2016-09-26 20:23:09 -04:00
5c095fb284 More tests for importing legacy special nodes
Errors fixed:
- If Cave Lore / Woodsman not converted correctly
- If Have Item Class Equipped erroneously converted to its +take variant
  (...probably)
- Text Response didn't correctly convert the alternate answer
2016-09-26 20:01:05 -04:00
b18605a8ad More tests for converting legacy special nodes
Errors fixed:
- Affect Party Status nodes were erroneously converted to Affect Status instead
2016-09-26 01:53:22 -04:00
1e084fa5af Add more tests for converting legacy specials
Errors fixed:
- Picture forced to 19 for stairway nodes.

(The game actually did this, and also forced to 22 for portals,
but I decided that wasn't necessary to preserve.)
2016-09-25 20:16:24 -04:00
522b51b5a3 More tests for importing legacy specials
Errors fixed:
- One-Time Do Nothing no longer transformed to One-Time And Set
- Give Item dialogs no longer change item type 20 to 9
2016-09-24 23:36:22 -04:00
4e9117035d Small improvements to scenario validation script
- Now works for paths containing spaces
- No longer deletes the scenario/ folder if the scenario was already called that
2016-09-17 19:23:16 -04:00
6fd346ef16 Several small bugfixes
- Fix incorrect dexterity cost
- Fix disease working only on dead PCs
- Fix Steal Food only activating in monster-on-monster combat
- Clear town population when entering a new town
  This should avoid the issue with monsters from one town overflowing into another
2016-09-15 23:04:26 -04:00
59b68dc78d Remove a mostly-redundant static array 2016-09-15 22:28:44 -04:00
863ac053c4 Add tests for reading player data from a saved game
- Changed cPlayer::equip to a bitset
- Use a static constant instead of a loop to initialized player starting spells
- Only save spell points if the player has any (current if different from max)
- Symbolic forms for trait enum (and save symbolic forms also for skills)
- When loading a player, clear data which is not always present in the file
- Also add an init test for cPlayer
2016-09-15 17:25:43 -04:00
8aaa0a24c0 Add clear method to cInvenSlot
This also fixes an issue with applying poison to a weapon.
2016-09-15 17:06:50 -04:00
13fa4a9ebf Refactor out several more function-scope loop-index-like variables 2016-09-13 22:55:40 -04:00
d39da71778 Fix Visual Studio build 2016-09-13 22:54:53 -04:00
67dc5b3511 Refactor out some dialog globals 2016-09-13 22:14:21 -04:00
7008bf9149 Some updates to game tips 2016-09-13 22:13:40 -04:00
17eb856771 Add more tests for legacy special node conversion 2016-09-13 19:51:13 -04:00
67fdeb3a16 Add test for loading legacy dialogue
Also a minor enhancement to the Set Flag dialogue node.
2016-09-09 18:09:46 -04:00
d195fe5a0b Removed unused legacy structs 2016-09-09 18:09:45 -04:00
bd412a70c8 Add test for importing legacy town data 2016-09-03 15:43:14 -04:00
7e7d30869a Minor XCode fixup 2016-09-03 13:38:28 -04:00
5cce71df26 Fix several bugs introduced by refactoring 2016-09-03 12:40:48 -04:00
88d6afce27 Merge all the town classes and remove the unimplemented templated towns
This also adds a common superclass shared by towns and outdoor sectors, and
enables towns of arbitrary sizes.
2016-09-03 02:50:29 -04:00
5c3a96c69c Fix several issues when loading legacy saves 2016-09-02 19:28:25 -04:00
20f22d7952 Properly implement copying for universe and scenario
This allows a failed load to not clobber the currently-loaded save or scenario.
2016-09-02 19:00:22 -04:00
e969da6fc1 Fixup indentation 2016-09-01 03:48:12 -04:00