Commit Graph

991 Commits

Author SHA1 Message Date
d588efd11b PC Editor: Fix items not loading 2017-04-11 18:00:41 -04:00
45604a22b9 Saved Games: Always store current sp even when at max
This should fix the issue of SP being set to 0 when reloading a game,
though existing saves will not be magically fixed.
2017-04-11 17:32:46 -04:00
3c6190c433 PC Editor: Fix inability to edit spells 2017-04-11 17:28:43 -04:00
4f91f6a679 Make undo system a little safer, and improve docs 2017-04-11 15:00:22 -04:00
absquatulate
b6b6871f86 Added X11 to scons build and implemented file save and load using zenity. 2017-04-04 19:17:31 +12:00
7fc3001245 Confirm before creating a new scenario when one is being edited 2017-02-12 18:27:44 -05:00
683ab805ec Initial framework for scenario editor undo/redo
In addition to the framework, this enables undo/redo of one action - adding a new town
2017-02-12 18:27:01 -05:00
e38053d39f Remove some spurious scenario editor error messages
These errors are all no longer necessary due to the editor loading the entire scenario into memory at the same time
2017-02-12 18:19:29 -05: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
2b8ff52992 Don't cancel adding a special shop entry if the node hasn't been set
(The designer may want to add the entry and then later come back and create the node.)
2017-02-10 12:13:46 -05:00
e1ca44f417 Change editor shop item icons for random entries
(They were incorrect due to item sheet shuffling)
2017-02-10 12:12:59 -05:00
7392943e3d Properly adjust terrain graphics in special nodes when porting
This also fixes two instances of unadjusted graphics in the scenarios
2017-02-10 10:24:32 -05:00
20ff735d2f Add a Vahnatai PC graphic by "Kelyar-Ihrno" 2017-02-08 16:58:31 -05:00
ae02ac4793 Fix bottom buttons not working in fullscreen mode
Fixes #50
2017-02-08 11:01:39 -05:00
92ba1e0fb0 Fix "Center" text positioning, and replace it with context-sensitive tooltips 2017-02-07 22:24:28 -05:00
6b857e6e43 Fix some isses with editing outdoor encounters 2017-02-07 22:17:58 -05:00
bc810f9238 Fix warning message when setting a node that doesn't yet exist 2017-02-07 20:09:42 -05:00
61816b7529 Fix inability to set special nodes outdoors 2017-02-07 20:09:15 -05:00
ed0c41c3ce Fix misleading error message for validating unsigned fields 2017-02-07 20:08:53 -05:00
b6f16180c7 Fix erroneous create/edit string button for generic lever node 2017-02-07 20:08:28 -05:00
f520e1ac0a Fix issues with editing dialog text
- If there were no strings following the assigned six dialog strings, the scenario editor thought the string was out of range and tried to assign a new set
- Whenever the text is edited, make sure all six strings still exist.
2017-02-02 11:44:09 -05:00
933f7e7644 Add special spot to the list of field graphics 2017-02-02 11:35:45 -05:00
583a0ab68b Fix graphic selection dialog for certain types
This prevents problems when the ID of the graphic does not correspond to
its position in the graphics selection dialog.
2017-02-02 11:34:18 -05:00
f490464249 Make scenario editor not delete all trailing empty strings when saving 2017-02-02 11:32:53 -05:00
570792420a Add two more animated portals
One on grass and one on walkways
2017-02-01 14:24:06 -05:00
0e109ecd5c Fix crash when editing dialog strings 2017-01-31 21:23:12 -05:00
e7ae0b28a2 Fix floodfill potentially spilling off the edge of the map
(and corrupting memory)
2017-01-31 20:12:34 -05:00
5f9b9dff93 Fix inability to erase roads in town 2017-01-31 20:12:03 -05:00
bc7e11f89d Fix new special items having uninitialized data 2017-01-31 20:11:45 -05:00
888873e2bd Use directory name as scenario path key for unpacked scenarios 2017-01-31 20:11:15 -05:00
86bf93c9c5 WIP
This doesn't currently compile due to referencing some undefined variables.

[ci skip]
2017-01-31 13:03:51 -05:00
a37db72920 Some improvements to scenario-related errors when loading games
- Use the same algorithm for locating scenarios as is used when selecting a scenario to enter
- Improve the error message when the party's scenario is missing - in particular, name the scenario
- Fix legacy saved games in custom scenarios being unloadable
2017-01-30 21:11:08 -05:00
ac15358c46 Rename custom cursor class to avoid conflict with X11 type 2017-01-30 15:05:38 -05:00
73cfe2bd24 Merge branch 'master' into linux 2017-01-30 14:02:41 -05:00
88e2d29f32 Disallow hunting on roads 2017-01-29 17:57:51 -05:00
d9aebf8742 scons: Add a missing file 2017-01-28 12:49:30 -05:00
16facc74b3 XCode: Remove empty build stage 2017-01-28 01:34:17 -05:00
3400a13c8d Cleanup of the hotkey code
The only actual changes are:
- 0 (non-numpad) now opens the jobs panel
- f in combat now ends combat, and no longer cancels shooting or throwing
2017-01-27 16:25:59 -05:00
93ded95bc8 Fix possibility of creating an empty party 2017-01-27 15:58:24 -05:00
389697e872 Fix inability to train in mage lore 2017-01-27 15:15:32 -05:00
0d9dbc56a8 Remove the unused room description mode
(This is because plans of how to implement room descriptions no longer involve a dedicated mode.)
2017-01-27 15:15:08 -05:00
823e96f637 Stuff to make linux build work 2017-01-26 22:56:07 -05:00
37d2e5f06b Additional minor fixes to Linux build 2017-01-26 17:18:01 -05:00
ultra
dde0212dc4 renamed sounds to match filenames in source (lowercase .wav), fixed up scenario and character editors 2017-01-26 17:17:33 -05:00
ultra
057aade18b Get it building and launching something 2017-01-26 17:17:25 -05:00
ultra
ffa2d0e950 Hacked scons scripts and got it building on Ubuntu with clang.
Minor changes to support building on recent clang
Addition of some headers for non-compiling files
2017-01-26 17:16:38 -05:00
649e08f8c7 Fix MSVC build 2017-01-26 12:35:38 -05:00
3522d11217 Fix incorrect message about scenarios location 2017-01-26 12:25:40 -05:00
93c0679217 Make monsters avoid special spots again 2017-01-23 15:17:54 -05:00
f6d4161fa1 Fix deleted preset fields being saved in scenarios 2017-01-22 23:03:03 -05:00