Commit Graph

962 Commits

Author SHA1 Message Date
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
f683637945 Fix a few missed details when closing the open scenario 2015-02-14 15:21:43 -05:00
d977a0f457 Make menu accelerator keys work on Windows 2015-02-14 15:21:26 -05:00
7ba874f1d2 Correctly handle saving a scenario that was loaded in unpacked form 2015-02-14 13:35: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
4fbc6cfa77 Various code cleanup stuff 2015-02-14 12:24:25 -05:00
dc7abb9502 Merge branch 'master' of https://github.com/iasEnvy/cboe 2015-02-14 11:27:11 -05:00
Ben Scott
922b046b6a Fixed some parts of the update error with some serious kludge. 2015-02-14 03:02:22 -05:00
Ben Scott
293d825ccd Fixes to instructions
didn't seem to change anything last edit
2015-02-14 00:01:34 -05:00
a7da59c858 Fix scenario difficulty increasing by 1 between saving and loading 2015-02-13 20:35:26 -05:00
a029836720 Fix some issues with loading legacy scenarios and custom graphics
- Unfortunately, the PICT loader is still very fragile.
2015-02-13 20:34: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
b3b72f648c Eliminate xccheckout files 2015-02-12 02:10:40 -05:00
Ben Scott
032dc7b1ba Merge branch 'master' of https://github.com/calref/cboe 2015-02-12 01:48:29 -05:00
Ben Scott
1477fef7ce Fixed warnings and IMPLEMENTED A THING in the menu item switch. 2015-02-12 01:47:48 -05:00
7e85e0dda2 Fix missing special context cases when selecting default special encounter affect target 2015-02-12 01:02:20 -05:00
Ben Scott
98a518a90b Warnings fixed 2015-02-11 21:01:37 -05:00
Ben Scott
6b275c9ed9 Little fixes 2015-02-11 21:00:47 -05:00
4bc04886f6 Fix use of pointer arithmetic where string concatenation was intended 2015-02-11 20:34:18 -05:00
120561ae64 Include new-format scenarios in the Custom Scenario list
- Note: It still assumes the basic scenarios are old-format.
2015-02-11 17:02:28 -05:00
bb98455e4f Fix some issues with loading/saving new-format scenarios
- Terrain was saved rotated and was not loaded
- Graphics were not loaded (also for old-format scenarios)
- Crashed when attempting to convert a scenario without custom graphics
2015-02-11 17:01:32 -05:00
1894b31e20 Implement loading of scenarios
- This also tweaks the scenario schemas for consistency between schemas and code, adds some unique key restraints, and makes some attributes required.
2015-02-11 14:03:03 -05:00
1e0b093b78 Merge branch 'master' of github.com:calref/cboe 2015-02-10 21:22:22 -05:00
57a9a98178 Fix crash when loading an outdoors saved game 2015-02-10 21:05:02 -05:00
6f81b99b23 Merge pull request #35 from iasEnvy/patch-1
Update README.md
2015-02-10 17:08:37 -05:00
Ben Scott
03df350e5d Update README.md
Short paragraph about how to install and set up libraries on a new / uninitiated machine. Liable to be missing things.
2015-02-10 16:45:08 -05:00
8d40d3d26a Several minor fixes (thanks to Erdos for locating the issues) 2015-02-10 16:02:05 -05:00
b7ff2609f4 Standard error dialogs now have a copy to clipboard button 2015-02-10 15:49:00 -05:00
ad0b58ad52 Fix scrollbars being rendered incorrectly when not in windowed mode 2015-02-07 23:47:51 -05:00
c3143c3a6e Introduce scrollbar for the terrain palette in the scenario editor 2015-02-07 14:47:48 -05:00
965dcc1201 Add ability for an item to call a special node when dropped 2015-02-07 13:10:28 -05:00
00606d90b1 Well, that was incredibly dumb
(Fix scenario editor build)
2015-02-07 13:02:49 -05:00
ad4a211605 Move calc_day() into party class 2015-02-07 12:52:05 -05:00
2e88b55759 Add new type of item that gives a quest when picked up 2015-02-07 12:50:35 -05:00
dcdf5324e7 Include completed and failed quests in the list, with different styling
- Also fix quests not expiring after the deadline
2015-02-07 12:19:04 -05:00
7d65dba686 Make some things dynamically sized
- Also, this fixes events being completely broken
2015-02-07 11:19:45 -05:00
220c8bf76c Fix instant help resetting when you start a new game 2015-02-07 09:47:09 -05:00
f5a43bc011 More reduction of reliance on hard-coded limits 2015-02-07 09:46:51 -05:00
6d26d430b3 Some dialogue saving stuff
- Saved talk strings weren't loaded correctly from legacy saves
- Talk strings from special encounters weren't recordable
2015-02-06 23:12:28 -05:00
2cf301eece Reduce reliance on hard-coded limits 2015-02-06 23:00:29 -05:00
a14d3b5ff8 Combine town-shifting data into a single structure 2015-02-06 16:56:17 -05:00
f609711e27 Combine timer data into a single structure 2015-02-06 16:54:44 -05:00
c50e24b8e4 Turn sparse arrays into sets. 2015-02-06 15:37:55 -05:00
7307fee425 Change town locations variable name to better reflect its use 2015-02-06 14:55:37 -05:00
7f6992da56 Store sign locations and text in the same structure 2015-02-06 14:43:26 -05:00
efe03b977f Fix buffer overflow when charming/sleeping/paralyzing a level 40 monster 2015-02-06 13:46:53 -05:00