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
23105ba7ed
Implement and use additional "has item" routines
2016-09-01 03:48:10 -04:00
3ca485c54d
Remove another usage of hard-coded inventory size
2016-09-01 03:48:10 -04:00
edaa0229fb
Move current_pc global into cUniverse
2016-09-01 03:48:09 -04:00
c2cc992c29
Stop using 24 as a magic value meaning "item not found"
2016-09-01 03:01:02 -04:00
0a5a9c089d
Don't hard-code player max inventory size at all use points
2016-08-31 15:55:19 -04:00
077d188cdd
Move scenario init code into cUniverse and treasure-generating code into cScenario
2016-08-25 23:19:42 -04:00
f261987428
Fix crash in Outdoor Details due to uninitialized data
2016-08-25 21:38:59 -04:00
c2604b56a7
Fix minor graphical glitch in editor tool palette
2016-08-25 21:28:45 -04:00
469d5fb8a6
Remove residual function
2016-08-25 21:28:44 -04:00
9c3b42c378
Fix error in loading fields from legacy saves
2016-08-25 21:28:44 -04:00
4cbd0d3013
New toolbar buttons for placing boats and horses; replaces the edit boats/horses dialogs
2016-08-25 21:28:42 -04:00
12e2315b33
Only store local coordinates for outdoor boats
2016-08-21 18:33:22 -04:00
5140396cf3
Rename legacy import functions
2016-08-21 16:31:14 -04:00
dbb58a6f10
Reduce scope of variable in startup
2016-08-21 16:26:52 -04:00
e9bf63afc7
Move town-specific daved game data into the town record
...
Als, use bitsets for item_taken and maps.
2016-08-21 16:09:58 -04:00
9363ab2fcf
Eliminate function-scope loop index variables
...
This makes all loop index variables local to their loop and
fixes some issue arising from the loop variables being present
through the whole function, such as using the wrong index variable.
In addition, there has been some reduction of code duplication in
the scenario editor.
2016-08-21 00:46:40 -04:00
d2ec3ff8c5
Enable range-for on the player party
2016-08-15 18:25:41 -04:00
4d739936cb
Make some tables static const
2016-08-15 17:48:52 -04:00
c6bbc0e2af
Fix off-by-one when loading monster attacks from saved games
2016-08-15 12:33:24 -04:00
094ca42e9f
Fix Alter Monster Attack special node
2016-08-15 12:32:59 -04:00
ecdad3f2df
Misc minor code cleanup
2016-08-15 12:32:34 -04:00
785943b9be
More usage of standard containers instead of bare arrays
2016-08-15 12:31:45 -04:00
7b617702ff
Ensure stored PCs don't reference a party
2016-08-15 02:10:25 -04:00
ac93dbe09f
Fix some uses of wrong location
2016-08-14 22:34:16 -04:00
3359a2b778
Decouple universe and party
2016-08-14 22:28:37 -04:00
1330d10b86
Add test for legacy outdoor sector conversion
2016-08-09 13:05:53 -04:00
b5facb5bfe
Add test case for loading legacy scenario header data
2016-08-05 15:12:37 -04:00
e0c48c9311
Add a CONTRIBUTING doc (draft)
2016-08-05 13:55:32 -04:00
44599e0ffb
Fix affect specials not affecting the correct target in some legacy scenarios
2016-08-02 18:16:04 -04:00
225b90471a
Fix dialogue not working on Windows
2016-07-08 16:57:38 -04:00
2ed83ef4ac
Only vocalize onscreen monsters
2016-07-04 18:35:22 -04:00
e6dd69d697
Fix automap not being drawn
2016-07-04 17:46:03 -04:00
4da1a3e44a
Fix monster vocalizations
...
- Were played during screen update instead of each turn
- Incorrectly detected whether a monster has a vocalization
2016-07-04 17:32:47 -04:00
d008ccd6f7
Windows: Build XP-compatible binaries
2016-06-29 02:20:08 -04:00
c59c58e7ab
Fix crash when viewing monster info from menu
2016-05-07 17:57:25 -04:00
4cd7368fbf
Some fixes to scenario dirty flag
2016-05-07 12:42:47 -04:00
21f05c464f
Fix tool buttons being unresponsive
2016-05-07 12:42:28 -04:00
6d50497684
MSVC: Link whatever Boost version is available
...
(Will cause problems if multiple versions are available though.)
2016-04-30 13:58:19 -04:00
8b792aea75
Eliminate some offscreen surfaces in the scenario editor
...
- This fixes an issue where parts of the UI were filled with black or random noise.
- This also creates some noticeable lag while drawing, though.
2016-04-29 13:36:31 -04:00
836a7a715c
Merge branch 'master' from Windows
2016-04-28 19:32:06 -04:00
ca2b6c5c4f
Fix crash when editing monster summoning ability
2016-04-28 19:30:10 -04:00
3166d0d002
Free editor splash image after splash screen
...
Since it's only used once, there's no need to keep it around.
2016-04-28 19:29:54 -04:00
29e8f8e91c
Merge branch 'master' of https://github.com/iasEnvy/cboe
2015-12-22 02:31:53 -05:00
Ben Scott
ddfe50298a
added override annotations to various UI functions in src/dialogxml/
2015-12-22 02:22:15 -05:00
f9ba35fa49
Merge pull request #49 from iasEnvy/master
...
fixed a bug which caused the menu buttons to *cough*.
2015-12-22 01:15:10 -05:00
Ben Scott
0bf48dd6ab
fixed a bug which caused the menu buttons to *sneeze*.
2015-12-22 01:09:14 -05:00
Ben Scott
a44b298012
fixed some catch.hpp includes in the tests, fixed a deprecated event cast in appleevents.mm
2015-12-22 00:05:52 -05:00
df54ee1757
scons: Set default include paths just to be sure
2015-12-20 00:56:19 -05:00