ftp.nice.ch/pub/next/games/card/NEXTVegas3.0.src.tar.gz#/NEXTVegas/RedDog/RedDog.h

This is RedDog.h in view mode; [Download] [Up]

#import <appkit/appkit.h>
#import "../NEXTVegas/NEXTVegas.h"

/**************************************************************************************
 *    Dealer                                                                          *
 *                                                                                    *
 *   This is a template for your new dealer object.  It is simply a copy of the       *
 *   NVDealer class, for the most part.  It should give you a good framework...       *
 *                                                                                    *
 **************************************************************************************/

@interface RedDog:NVDealer
{
	id	deckView;
	id	deckPile;
	id	pileView1;
	id	pileView2;
	id	pileView3;
	id	pile1;
	id	pile2;
	id	pile3;
	id	betView;
	id	dealButton;
	id	wonText;
	id	lostText;
	
	id	deckPrefButton;
	
	int	handStatus;
	int spread;
	
	int	won;
	int	lost;
	
	BOOL doubledAlready[MAX_PLAYERS];
}

- (BOOL)anyBetsTooLowOrHigh;
- checkDeck;
- deal:sender;
- dealFirstTwo;
- dealThird;
- dealCardToPile:(int)pileNum;
- enableDealButtonIfNecessary;
- newDeck:sender;
- checkHand;
- setPayoff;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.