Laurent Alonso(fr)
0ccfc61e93
spell point: allow to decrease sp even if sp=max_sp...
2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
28c75935fd
save[timers,correction]: try to save the timers correctly...
2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
e46e36cfeb
save: try to save the magic_ptrs correctly...
2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
5c72f59045
save[timers]: try to read the timers correctly...
2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
4881471f20
Try to init town.difficulty: set it by default to scenario.difficulty
2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
8144d44ca0
stuff_done: be sure to initialize them when a party is created, ...
2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
f7a4ef0727
cPopulation: try to make the monsters more persistent to simplify
...
other code...
2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
fea9b43c7d
reset the scried monster when we enter a scenario...
2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
e0ad83ebd6
do not forget to clear store_limited_stock when a scenario begins...
2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
243b9fda19
save: try to save correctly SHOPSTOCK...
2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
9f802b3fcf
Asan: correct some undefined, ... problems
2022-06-30 01:08:47 -04:00
Laurent Alonso(fr)
7aee4abe81
talk_note: try to save/reread them correctly...
2022-06-30 01:08:47 -04:00
7b93726383
Replace 4-character constants with enums
...
This covers only the places where they were used to indicate
a preset selection in constructors.
The usage in qdpict where they're actually passed to the Resource Manager,
as well as the 4-character constants representing file types and creator
codes, are still present.
2020-02-21 00:16:58 -05:00
x-qq
d314432664
fix uninitialized debug flags in universe
2020-02-11 15:34:29 +02:00
86d2574aed
Some refactor of special node system
...
- Context type (town/out/scen) is now an enum
- Don't expose internals in the header
- Use a state struct to pass things around through the system
- Fix special AFFECT_DEADNESS case for default party selection
- Maybe other bits and pieces?
2020-02-02 19:12:45 -05:00
fa7158de03
Fix exportGraphics not checking previously-exported monsters
...
I'm actually not sure whether this is necessary,
but decided to err on the side of caution
(since check_item does the same thing).
2020-01-19 15:38:05 -05:00
cb8bf96832
Fix buffer overflow in exportGraphics
2020-01-19 15:38:05 -05:00
479cfb75f6
Fix improper loading order with saved games
2020-01-02 00:28:52 -05:00
b6aee36a0c
Write hidden/visible state for EVERY town in the save file, even if it's equal to the scenario default
...
This should fix #197 for any new saves created after the fix.
2019-12-30 01:48:00 -05:00
6f96222c37
Remove the 30-item limit in shops
2019-12-02 01:16:34 -05:00
6ca89a66a9
Fix items being unequipped sometimes when an item is picked up
2019-11-24 20:28:53 -05:00
3302dd68b7
Move encumbrance calculation functions into cPlayer
2019-11-24 20:28:53 -05:00
4ad85936d3
Fix use of a static bitset to record whether items (in a dynamic vector) have been taken
2019-11-23 12:31:30 -05:00
9073063423
Merge branch 'merge_linux' of https://github.com/murlock/cboe
2018-03-03 17:52:59 -05:00
827e1b2a6b
Fix crash when loading a saved game containing boats or horses
2018-02-18 17:33:12 -05:00
03c19fa7ec
Use the new erase_completed_specials() function for towns too
2018-02-17 18:46:53 -05:00
Michael Bonfils
d940f2c39d
Merge branch 'linux' into merge_linux
2018-02-08 20:36:46 +01:00
f3866861bb
Fix inability to duel-wield
...
(thanks to Ir the Great for this patch)
2017-12-16 16:51:27 -05:00
b0d2ca8e23
Fix possible crash on exiting scenario
...
(thanks to Ir the Great for this patch)
2017-12-16 16:37:59 -05:00
9127e4a03f
Enable building tests in MSVC 2013
2017-09-16 12:46:31 -04:00
9d86053817
Fix up MSVC project file for the major reorganization
2017-08-30 00:09:01 -04:00
7e7f3d2b81
Merge mac into windows
2017-08-27 23:37:37 -04:00
7987680bf4
Simplify some stuff with references
2017-04-15 02:04:11 -04:00
1f9615d185
Add an info structure for eItemType enum
2017-04-15 02:03:42 -04:00
c2ce2a2cd1
Split up the graphtool files
2017-04-14 15:43:07 -04:00
e57441f6a0
Consolidate active quest data into a single map
2017-04-14 11:38:06 -04:00
5b5b2af46f
Remove custom erase_if function in favor of std::remove_if
...
It was originally added before I understood the correct way to use remove_if
As a side-effect, remove bad status now also removes forcecage and charm.
2017-04-14 11:37:27 -04:00
4baac518e9
Move stream operator declarations into the same file as their types
2017-04-14 01:07:21 -04:00
82abdab695
Major code reorganization
...
This commit only updates the XCode project for the changes.
A later commit each will update it for scons and MSVC.
A few actual changes are mixed in:
- Add a prefix header for a handful of common definitions
- Moved current_cursor into the Cursor class as a static member
- Removed the make_cursor_sword and make_cursor_watch functions
- Include tests in the All target
- Remove redundant -l flags for Common and Common-Party (since they're included in the Link phases anyway)
2017-04-14 00:24:29 -04:00