Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-10 | Tweak vassal state handling. | Tor Andersson | |
2023-12-10 | Use map structures instead of arrays and bit packing. | Tor Andersson | |
There are 28 lords, so packing multiple bits per lord into one word won't work. Most lords will never be on the map, so carrying around their asset/force/routed data is wasteful. Use map structures instead, since at most 6 lords will be on the map at once, and at most 13 on the map + calendar. | |||
2023-12-10 | set_lord_calendar directly | Tor Andersson | |
2023-12-10 | Levy troops not possible in exile | teisuru | |
2023-12-10 | Use game.count for tracking lords in Scots event. | Tor Andersson | |
2023-12-10 | Use accessors in play.js | Tor Andersson | |
2023-12-10 | Use game.parley for list of valid locations instead of game.what. | Tor Andersson | |
2023-12-10 | Hide asset/forces/routed implementation details. | Tor Andersson | |
Use accessors everywhere. | |||
2023-12-10 | no global capabilities | Tor Andersson | |
2023-12-10 | Fixed French Troops. | Troy Nordine | |
2023-12-10 | drop game.crown property (redundant with game.rebel) | Tor Andersson | |
2023-12-10 | skip setup for scenarios that don't use it | Tor Andersson | |
2023-12-10 | Allow Parley at unfriendly locales during Levy. | Tor Andersson | |
2023-12-10 | removed testing coode. | Troy Nordine | |
2023-12-10 | Impl. French Troops. Fixed other errors. | Troy Nordine | |
2023-12-10 | Implemented L19 Henry's Proclamation. | Troy Nordine | |
2023-12-10 | Implemented L15 Henry Pressures Parliment. | Troy Nordine | |
2023-12-10 | Implemented Event L114 - Scots. | Troy Nordine | |
2023-12-10 | fix wrong function name | Tor Andersson | |
2023-12-10 | Fixed unit selection in battle. | Troy Nordine | |
2023-12-10 | fix tax seaport | teisuru | |
2023-12-10 | fix parley seaport | teisuru | |
2023-12-10 | Fix Parley during campaign. | Tor Andersson | |
2023-12-10 | Tax - fix bug and add Stafford Branch effect. | Tor Andersson | |
2023-12-10 | Optimize and fix Supply. | Tor Andersson | |
2023-12-10 | rename again | Tor Andersson | |
2023-12-10 | remove bad clear_undo | Tor Andersson | |
2023-12-10 | Optimize Tax action. | Tor Andersson | |
2023-12-10 | Rename port-to-port and any-to-port adjacency functions. | Tor Andersson | |
2023-12-10 | fix fix play.js on data.lords.seat | Tor Andersson | |
2023-12-10 | fix play.js on data.lords.seat | teisuru | |
2023-12-10 | lords only have one seat | Tor Andersson | |
2023-12-10 | parley search fix | Tor Andersson | |
2023-12-10 | Optimize parley search. | Tor Andersson | |
Check current phase instead of passing it as an argument. Only generate results if needed. Store distance to valid targets in a map. | |||
2023-12-10 | oops! display battle/non-battle vassal confusion | Tor Andersson | |
2023-12-10 | Simplify gnarly if-statement in count_group_assets. | Tor Andersson | |
2023-12-10 | don't require explicit game.active argument to is_favour_friendly | Tor Andersson | |
2023-12-10 | fix undo during march | Tor Andersson | |
2023-12-10 | dynamic favicons based on player role | Tor Andersson | |
TODO: ... based on current heir | |||
2023-12-10 | Fix P1/P2 vs York/Lancaster issues. | Tor Andersson | |
P1 and P2 are dynamically set to either York or Lancaster. Only use these to determine play order during steps. Use YORK or LANCASTER for everything else. Bugs fixed: * P1/P2 aliases were not set after setup is done, leaving them unset for first action since load_state doesn't call update_alias unless the state object changes. * goto_command_activation should only end after both players exhaust, not as soon as Lancaster has run out of cards. * current_hand was returning opponents hand if rebel is not York. | |||
2023-12-10 | Revert "Fix update_aliases so it works with patch_replay.js" | Tor Andersson | |
This reverts commit d01f5507ebf75427118135debf7ff772315cb9fe. | |||
2023-12-10 | consistent favour spelling | Tor Andersson | |
2023-12-10 | Fix spend1 and spend3 action generation for buttons. | Tor Andersson | |
2023-12-10 | Fix some undo states. | Tor Andersson | |
2023-12-10 | Fix exile marker display. | Tor Andersson | |
2023-12-10 | Fix update_aliases so it works with patch_replay.js | Tor Andersson | |
2023-12-10 | add and use data.exile_boxes | Tor Andersson | |
2023-12-10 | Rejig map_search a bit. | Tor Andersson | |
Use the "set" functions instead of array.push and array.includes. Update "seen" when adding entries to search queue to avoid the extra loop that scanned the queue for duplicates. Don't create lots of temporary arrays that create needless work for the garbage collector. | |||
2023-12-10 | battle strike position stuff | Tor Andersson | |
2023-12-10 | calculate_spoils in tor style | Tor Andersson | |