Commit Graph

957 Commits

Author SHA1 Message Date
548825745b Rearrange editor tool palette and refactor the code to make it easier to rearrange again in the future
- New buttons: "place forcecage", "place stone block", and (currently non-functional) "erase town entrance"
- Forcecages with no creature inside them are now permanent
- Fix forcecages leaving the top half behind when they disappear
2015-06-05 02:13:41 -04:00
c3828141a0 Little tweaks/fixes
- It's now possible to cancel dropping an item, by pressing the drop button again
- Another fix for the issue with bad outdoor encounters
- Add frame around item palette entries
2015-06-04 23:53:07 -04:00
dd589001c6 Scroll wheel support
- All areas with scroll wheels can be scrolled using the scroll wheel if the mouse is in the area
- In addition, the terrain view is scrollable with the scroll wheel (hold Control for horizontal scrolling)
- The above applies in the game too, whenever the scroll arrows are visible
2015-06-04 23:51:44 -04:00
80f95ba9ae Several bugfixes
- Fix light mask not rendering correctly
- Fix terrain-sourced lighting not being calculated on scenario load
- Fix light-removing items incorrectly applying their ability strength
- Fix smash patterns not affecting opaque tiles (such as mouldy walls)
- Fix monsters outside the light range not being rendered when fog is lifted
- Fix town timers not being cancelled when you leave town
- Fix non-existent outdoor wandering encounters sometimes triggering due to uninitialized data
- Hard-wrap some doc lines
2015-06-04 21:50:08 -04:00
5bcf220204 Add support for custom explosions with custom sound choice 2015-06-04 18:47:01 -04:00
6c5e2b5118 Several tweaks and fixes
Bugs:
- Arrow keys activated the arrow buttons in the list-mode edit string dialog
- Graphics classification was not saved correctly in some cases
- Contact info was not correctly saved/loaded
- Place Monster node didn't have a choose button for the monster type
- Alt-Backspace and Alt-Delete did not work correctly in dialog text fields
- When clicking Edit Terrain Types, sometimes the list of items or monsters would appear instead
- Fix monster 0 being selectable in the choose monster dialog
- Fix the hotspots of all the cursors to be more intuitive

New:
- When interrupting a special node sequence with Cmd-. / Ctrl-C, the dialog that appears is more relevant.
- In the choose sound dialog, the sound now plays when you select a choice, so you can hear what it will sound like
- Added a tiny icon so you can distinguish fire and force barriers in the editor
2015-06-04 15:50:05 -04:00
49ec6278d3 Fix a few scenario load/save issues
- More uninitialized data issues
- Some values incorrectly loaded (monster radiate chance, terrain horse blockage, town lighting type)
- Some values incorrectly saved (item magic-use flag)
2015-06-04 01:14:57 -04:00
ae0e3cfd0d Add special node step-through mode for debugging
- Also fix debug/ghost mode not being deactivated when you start a new game
2015-06-04 01:14:42 -04:00
3cc12f464f Increase limit on the length of the "Who Wrote" lines in scenario details 2015-06-03 20:57:27 -04:00
a51ab021f4 Add two new special nodes for cutscenes
- Node to change a monster's location (also works on party members)
- Node to temporarily place text on the map
- Fix the "lift fog" node
- Remove the optimization of only redrawing a terrain space if it has changed
2015-06-03 20:56:07 -04:00
1b754619dc Several more tweaks/fixes
- Missing special node opcodes
- Pass the party's (or in combat, the active character's) current location to special nodes triggered by timers
- Fix the set pointer node
- Fix terrain palette not correctly registering clicks while scrolled down
- Fix sheets not correctly being copied from the temporary files folder
- Fix monster abilities not being loaded from new scenarios
- Fix custom sheets not being reloaded if they have changed
- Documentation tweaks
2015-06-02 22:01:22 -04:00
322e3b9e21 More little fixes
- Fix timers triggering every turn after they expire
- More fixes for uninitialized data
- Fix attack 3 type changing to match attack 2 type when changed
- Fix last node in the node chain duplicating over the entire chain once you clicked OK
- Fix issue where finding an unused node returned the node currently being edited.
2015-06-02 10:34:52 -04:00
7dddcdb86e Several little tweaks and fixes
- Fix some uninitialized fields getting populated with random data
- Fix identity of last edited town and outdoor section not being saved
- Fix editor sometimes saving to application directory instead of overwriting the loaded scenario
- Fix town specials being saved to outdoors list and vice versa
- Fix right-most column of map not being loaded properly
- Fix town entry node for start town being called after the first turn of the scenario
- Add option to call a special node at startup (right after the intro dialog)
2015-06-01 22:43:41 -04:00
0849df0e28 Hard-wrap readme for better diffs 2015-06-01 20:38:00 -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
72add651a5 Fix some bugs in loading and saving new-format scenarios 2015-06-01 17:23:15 -04:00
5606f3e91e Refactor scenario loading code so that valid data doesn't produce tons of bad_lexical_cast exceptions that are then caught and ignored 2015-06-01 15:27:13 -04:00
ae3970aad1 Fix some indentation 2015-06-01 15:05:00 -04:00
2dee8e81f7 Add editor support for the new Affect special nodes 2015-06-01 14:59:14 -04:00
e0ff77060a Add several new Affect nodes.
- Alter monster statistics on the fly, including basic attacks
- Alter experience level and morale (the latter currently only works on monsters while the former might have strange results on PCs)
- Alter the contents of the player's soul crystal
- Forced Give node now has an option to force-equip the item
2015-06-01 14:20:11 -04:00
071e60023f Update documentation of rectangle and outdoor special nodes 2015-06-01 00:42:15 -04:00
245291edbf Update documentation of town special nodes, along with some minor fixes
- place_monster no longer places a monster if one is already there, except when special node forces it
- targeting node no longer moves to jumpto if an error occurs
- fix targeting and pattern nodes not appearing in the editor
2015-06-01 00:18:02 -04:00
3054845448 Merge branch 'master' of github.com:calref/cboe 2015-03-15 23:00:02 -04:00
Sylae Corell
be24641f9f Update documentation URLs 2015-03-15 16:54:56 -06:00
4670eb7805 Allow use of arrow keys to scroll the terrain area in the scenario editor 2015-02-23 15:34:32 -05:00
fc1ec8c858 Get file icons working on Mac 2015-02-21 22:12:42 -05:00
2b8374269a Make Windows build use the new app icons 2015-02-21 21:28:21 -05:00
3a02a85e99 Merge branch 'master' of github.com:calref/cboe 2015-02-21 21:11:12 -05:00
0cd844f8bb Bundle SFML.framework in the app package, since someone got an error that it was missing 2015-02-21 18:20:34 -05:00
2149d8159b Add PNG versions of all the original icons 2015-02-21 18:10:44 -05:00
Ben Scott
df9e095417 Added Editor Icon, converted also to *.icns and *.ico 2015-02-21 18:10:43 -05:00
c97952459e Set default sort order for the experimental builds link, so that the most recent builds are always shown at the top of the directory listing 2015-02-21 18:10:34 -05:00
cef9e136ac Fix indentation 2015-02-21 18:10:34 -05:00
1071fc106f Finally fix the shaders issue on Windows, as well as a crash that only occurred in Release builds 2015-02-21 18:10:33 -05:00
Ben Scott
ba34f050ed Brightened icons, this and that. 2015-02-21 14:10:43 -05:00
Ben Scott
d387fe1368 Brightened icons, this and that. 2015-02-21 14:08:46 -05:00
Ben Scott
09ec873710 Created some new icons 2015-02-21 00:39:39 -05:00
a94a892246 Set default sort order for the experimental builds link, so that the most recent builds are always shown at the top of the directory listing 2015-02-20 19:43:07 -05:00
27829f1e10 Merge branch 'master' from Windows 2015-02-20 19:41:40 -05:00
8adc28fc6f Fix indentation 2015-02-20 19:36:27 -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
a1ec70c9ff Merge branch 'master' from Windows 2015-02-20 12:21:04 -05:00
c99b205088 Remove old versions of dialog box schema 2015-02-20 12:19:03 -05:00
3fc1b8cd7e Fix most of the warnings in the Visual Studio build
- Fix energy-draining weapons
- Specials called when a spell is targeted on a space now work a little differently if the spell is multi-target. For each target, the special is triggered if it exists; otherwise the normal spell behaviour occurs.
2015-02-20 12:18:38 -05:00
50e3d7b378 Add OpenAL to list of included DLLs on Windows. 2015-02-19 22:24:19 -05:00
9ddeb526bf Some fixes to the routine that parses quoted strings
- Now (probably) properly deals with escaped characters (either backslash or the quote delimiter)
2015-02-16 17:23:33 -05:00
57983c1b1e Fix PC names being cut off at a space when loading
(Thanks to Erdos for discovering this.)
- This commit uses the quoting mechanism on PC names. It also applies it to item names, though that wasn't actually broken like PC names was.
2015-02-16 16:31:18 -05:00
012d40129b Fix fencepost error when reading numerical races 2015-02-16 16:21:44 -05:00
08236555f9 Fixes to traits dialog
- Now updates properly (thanks to Erdos for helping to track down the cause of this)
- No longer crashes if the PC has a monster race
2015-02-16 16:10:08 -05:00
f2f334551c Fix town advanced dialog
- Also remove now-unused Windows accelerator table resources
2015-02-14 22:58:41 -05:00