Commit Graph

1469 Commits

Author SHA1 Message Date
f218cd94f3 Tests for conversion of legacy monsters
Fixes:
- Throw Rocks always produced weakest version
- The following abilities had a strength of 0:
-- Paralysis Touch
-- Petrification Touch
-- Experience Draining Touch (including as a component of Icy and Draining Touch)
- Summon ability chances were off by a factor of 10
2015-10-01 03:17:06 -04:00
70c89a998b XCode: Sort files by name 2015-09-30 19:40:27 -04:00
2d1bd5158e scons: tweak configuration steps 2015-09-30 19:33:19 -04:00
e40a220638 scons: Remove entire build folder when cleaning 2015-09-30 19:02:51 -04:00
3a57b65a7a scons: Don't configure when cleaning 2015-09-30 18:59:46 -04:00
56c533f419 Fix scons build and tests 2015-09-30 18:57:52 -04:00
5c37fa199e Some final scenario read tests 2015-09-30 17:57:48 -04:00
43e82281af More read/write tests for town and outdoors, including maps/dialogue
Fixes:
- For towns, the "has tavern" flag was not saved or loaded
- Outdoor roads were not saved or loaded
- For outdoor encounters, the "can't flee" and "forced" flags were not loaded, and "forced" was not saved
--> These two flags have also been separated in the code
2015-09-30 17:00:05 -04:00
16a09988f3 Fix Windows build 2015-09-30 02:05:22 -04:00
b7435d4b6e Fix missing scrollbars 2015-09-28 01:54:27 -04:00
c68b01c3a2 Make roads an overlay instead of a terrain trim type
Game:
- Roads now show on the automap again!
- Possible fix for undetected issue in displaying outdoor special spots
- Road conversion code for legacy scenarios now applied in towns too

Editor:
- New tool for placing roads, works the same as special dots
- Roads appear at all zoom levels

Other:
- Removed all terrain graphics that used the small road dot, replacing them with blank (white) space
- Make obvious out-of-bounds array accesses an error in the project settings
2015-09-27 22:37:12 -04:00
1222cb57f5 Move Set Town Start to Town menu and make it work the same as Set Out Start
- Also fix problem with initial starting town in new scenarios (it was uninitialized)
2015-09-27 14:50:00 -04:00
66efa9cb62 Hilite full area for large monsters and terrain objects 2015-09-27 13:34:05 -04:00
a217b91f0a Only show editing cursors while over the terrain area
- Also show eyedropper when selecting a terrain/item/monster to paint
2015-09-27 13:08:08 -04:00
eb3c463130 Tweak look/drop cursors 2015-09-27 12:05:54 -04:00
96190c042c Remove a now-useless function 2015-09-27 03:16:50 -04:00
082e3fc9d9 Implement flood-fill tool 2015-09-27 03:15:05 -04:00
add0ea48cf More tweaks to the colour cursors 2015-09-27 01:49:07 -04:00
18bb16df9c More read/write test cases for monsters, especially monster abilities
Fixes:
- For radiate abilities, the pattern was not saved and defaulted to single instead of square on load
- For summon abilities, what to summon was not saved and chance was incorrectly saved
2015-09-27 01:20:33 -04:00
ab232bb31a Generalize the editor's terrain frills mechanism 2015-09-26 15:05:49 -04:00
06930e30d4 Scenario Editor: Redraw screen after a menu command 2015-09-26 14:17:05 -04:00
4866081def Fix quit confirm at start screen after closing scenario 2015-09-26 02:30:25 -04:00
b437045f12 Make fields paintable 2015-09-26 02:29:45 -04:00
df6c0afa6e Make items and monsters paintable 2015-09-26 00:54:10 -04:00
196f9a71df Tweak some cursors 2015-09-26 00:24:49 -04:00
26ddd47c3a Whoops! Got confused there! 2015-09-25 23:32:36 -04:00
bd6506f353 New dress item graphic by ADoS
(replacing a fancy shield; other shield was tweaked too)
2015-09-25 22:43:01 -04:00
371459d1b2 The game no longer refuses to play sounds greater than 100 2015-09-25 21:51:47 -04:00
67cf73e593 Fix resource manager not properly accounting for overrides 2015-09-25 20:14:55 -04:00
f66c1cb36f More init/splash streamlining, now including the scenario editor 2015-09-25 19:03:40 -04:00
3b647f33b2 Streamline initialization and splash screen code
Should be much less chance of beachballs on OSX
2015-09-25 17:31:57 -04:00
fbe80b22dd Fix startup splash
- No longer shows stone pattern before logo
- Music no longer cuts off
- Intro image properly centred in fullscreen
2015-09-25 15:10:00 -04:00
088166a534 Don't set application icon on OSX since it overrides the Dock icon 2015-09-25 00:47:14 -04:00
e81b63d36f Windows: Set a titlebar icon 2015-09-25 00:41:17 -04:00
fa17823716 Fix buffer overrun with outdoor creatures 2015-09-25 00:37:53 -04:00
054f32dec2 Split out icon from pcedit title graphic 2015-09-25 00:35:36 -04:00
db34095d82 Show version in PC editor window 2015-09-24 19:29:02 -04:00
d7eb593aa1 Add close button to scenario window titlebar 2015-09-24 19:28:43 -04:00
f1e883741c Fix scenario dirty flag being cleared when quit confirmation displayed
(regardless of your response)
2015-09-24 19:28:29 -04:00
66f84ef396 Fix several little issues with cursors
- Sometimes they didn't reappear when the program was reactivated
- Watch is now used in more places
2015-09-24 19:12:12 -04:00
bc7298417f XCode: Update PC editor scheme 2015-09-24 18:34:08 -04:00
da9b65118e Add readable books as a special item ability 2015-09-24 18:25:02 -04:00
6646097e04 Fix gold/food with custom charges not working/displaying right 2015-09-24 17:21:54 -04:00
249e0e0027 Add UI for scenario init special and hail townsperson special 2015-09-24 10:13:36 -04:00
d126beaf1f Update readme 2015-09-24 10:00:56 -04:00
d57954a897 scons: Run test cases as part of the build 2015-09-22 16:11:47 -04:00
fdcaa98116 Fixed crash on exit (finally!) 2015-09-21 14:40:26 -04:00
fd53d210c6 New colour cursors by ADoS 2015-09-21 00:03:06 -04:00
6cf37c3daa Fix outdoor encounter dialog being unusable 2015-09-20 23:40:45 -04:00
6badb1188a Remove limits on outdoor size, make Warrior's Grove be in addition to requested towns on scenario creation 2015-09-20 23:06:58 -04:00