userBill Bcancel
branchrust_reboot/main/Caboosecancel

114 Commits over 61 Days - 0.08cph!

1 Year Ago
Another formatting edit, getting things to fit better on the widget
1 Year Ago
Minor formatting edit
1 Year Ago
Play widget can now show all possible separate bets per player - base, split, and insurance. Fixed a winnings payout bug.
1 Year Ago
Fix split result showing as Loss instead of None when not used
1 Year Ago
Show winnings as a value minus the amount paid in
1 Year Ago
If the player already has a 100% optimal result, end their turn. There's no point asking if they're like to hit on 21
1 Year Ago
Remove a temp setting
1 Year Ago
Adjust how the results text displays scrap won
1 Year Ago
Fixed player widget card layout issue
1 Year Ago
Split result text for the main UI
1 Year Ago
Small monitors can now display results for two hands at once (splits)
1 Year Ago
Fix compile for now, just need to sort out the round result text
1 Year Ago
Adding support for multiple results per player WIP. Who would have thought a card game would exist where each player can have more than one result per round? Yet here we are.
1 Year Ago
Merge Main -> Caboose
1 Year Ago
A couple of visual UI fixes
1 Year Ago
Better layout for the player widget UI cards when player has split
1 Year Ago
Fix playingSplitCards not clearing per round
1 Year Ago
Show both scores if the player has split
1 Year Ago
Split cards use the small card images in the 2D UI. Small screen UI now shows basic info about having a split.
1 Year Ago
Splitting WIP
1 Year Ago
Refactor, creating CardPlayerDataBlackjack as a separate subclass of CardPlayerData, with a separate ProtoBuf message as well. Allows for more Blackjack-specific per-player content. This is mainly to support Split well, but helps Insurance as well. Originally I tried to do this in a bit of a nicer way with generics, casting PlayerData in CardGameController to the player data type of the subclass. But generics and MonoBehaviours really don't mix well. In the end there's just a bit of casting instead.
1 Year Ago
Merge Main -> Caboose
1 Year Ago
Improve how we pay out scrap after a server save/load, so that nothing gets lots (not even in-progress bets). This still isn't ideal since when we need to drop scrap, it falls through the train due to the items-fall-through-vehicles problem. I'll look for a better solution if there's time.
1 Year Ago
Merge Main -> Caboose
1 Year Ago
If the caboose is destroyed, try to pay all scrap that's in as bets or in player storage out to the players, based on the amounts they've each put in. If for whatever reason this can't be done, drop it on the ground.
1 Year Ago
Give the caboose 20% more health
1 Year Ago
Merge Main -> Caboose
1 Year Ago
Player can double down on any two cards if neither is an ace (some rules only allow DD on a card value of 9-11). They double their bet and receive one extra face up card. The bet is then dealt with normally (some rules say that if the dealer has Blackjack, the dealer only collects the amount of the original bet).
1 Year Ago
Can't double down if card count is not == 2
1 Year Ago
Added killcars, killminis, killscraphelis, killtrains, and killboats convars. Works the same as killanimals but more humane.
1 Year Ago
Fixed the card game UI freaking out (infinite NREs) if the caboose is destroyed while players are using blackjack/poker
1 Year Ago
Merge Main -> Caboose
1 Year Ago
Merge Main -> Caboose
1 Year Ago
Fixed caboose lights not working anymore
1 Year Ago
Fixed more non-dynamic culling/lod scripts on caboose
1 Year Ago
Merge Main -> Caboose
1 Year Ago
Got all the caboose colliders onto the Vehicle Detailed layer
1 Year Ago
Fixed init order when spawning caboose causing trouble with poker and blackjack. Fixed other RendererLOD scripts on the caboose that weren't Dynamic.
1 Year Ago
Fixed poker table not showing up in spawned caboose
1 Year Ago
Fixed light switches not showing in spawn caboose
1 Year Ago
Disable Blackjack Halloween mode for now
1 Year Ago
Fixed compile issues
1 Year Ago
Minor UI edit
1 Year Ago
Small-screen UI now has info for insurance and split bets
1 Year Ago
Use & instead of / for bet UI
1 Year Ago
Add Insurance back as a Blackjack option
1 Year Ago
Merge Main -> Caboose
1 Year Ago
Fixed a rare animation issue (not Blackjack specific) with players getting stuck in a sitting state when their mounted pose is the standing pose, causing them to appear as sitting. The standing idle loop now plays as well.
1 Year Ago
Fixed timer not always showing up for a player's turn, with simultaneous turns
1 Year Ago
Compile fix