8,735 Commits over 1,705 Days - 0.21cph!
Fix the first to have a turn player for two-player games
In two player games, have the dealer post the small blind. Small blind player becomes big blind.
Merge branch back to CardGames
Fix betting, make it per turn instead of per round
- Fixed up more troubles with how bets and raises are handled
- The first "raise" is just a bet. Corrected it still being called "raise"
- Cleaned up the audio switch
- Fix the raise minimums to follow the rules correctly
- Made the action UI less complicated, now only showing the amount your bet will increase
- Always send card player data for all players, less bug-prone
- Move some CardPlayerData methods to server-only
Better abandoned scrap calculation
Remove temporary debug print
If a player leaves the poker game (quits/dies), but has a higher bet than anyone still in the game due to being all-in for an amount that nobody else could afford, that leaves that portion of the pot in a nominally unclaimable state since poker rules state that a player can only claim winnings from each other player up to the value of their bet. Previously this was paid out in an awkward way that could end up with non-winners claiming the "bonus" scrap. Bonus winnings are now divided equally between the winner(s) (plural in the case of a draw result) of a round.
Merge CardGames -> Main. Includes the new dismount on server load system.
For the dismounting on load, work around the issue of seats not being saved and therefore ending up with different UIDs on load
Remove the warnings for inputs from the non-active player, it's fine to just ignore them.
When the server loads a save and a player was mounted, move them to a valid dismount position if there is one instead of just spawning them at the spot they were mounted. Fixes getting stuck in the poker table among other things.
Code gen for play_poker string
Match up card table shadow settings on LODs
Fix up LOD issues on the card tables
Changed "play" language key to "play_poker" since "play" is already in use for "PLAY GAME"
Checked and adjusted player mount positions for all card table seats
Fix properties not updating when using vehicle custom inspector
Match static card table A chair positions with deployable card table
Fixed body horror when starting a gesture while alt looking behind you
Handle the case where a player leaves (or dies) mid-game, when they're all-in for more than the other player(s), and hence should have got some of the pot back even if they lost. Pay out the pot ignoring all-in limits if there are no more players to pay out to.
Rename card images for extra clarity when used in the inspector
Missing space in winner info
Put cards away and get them back out after a round so they don't magically update
▄▌▅▅▌ ▍▊▍▋▊█ █▊▄▋▇ █▊▅ ▅▄▉▄▌ ▆▊▅▇▄▊▍▊▉█ ▌▌ ▆▇█▉▇▅▊▆ ▍▍▌▄ ▍▊▌▉ ▉▋▉▉▌ ▆▍ ▆▌▆ ▍▅▋▌▌ ▆▅▍▅▄▆▉. ▌▌▌▋▍▇▋▅++
Swap a couple of vars around so that the "Mounting" header still shows up on vehicles. Hiding a property with a header directly above it also hides the header.
Removed dismountAnchor entirely since it's been mostly unused since
22861, and unused since
26071
Hide MountPose and MaxMountDistance in the BaseVehicle class (and subclasses) inspector so they won't cause any more confusion. They're unused by vehicles.
Remove fold chance debug log
Add NRE checks to ClearWinnerInfo
Fix poker results calculation order bug
Remove card player data reorder line
Merge CardGames -> Main. Network++
Add a sanity check warning if there is any scrap left in the pot after winner payouts
Dispose old winner info proto data properly on the server side
Check and Call can't ever be options in the same turn, so let them both be on the C key for simplicity