* Rename Irukagotchi to Dolphin. Add basic game state structures. * Dolphin: state, counters, api. BT: shared access to flash. Flash: write api. * add fake -1 deeds, example of changing icounter Co-authored-by: coreglitch <mail@s3f.ru>
		
			
				
	
	
		
			13 lines
		
	
	
		
			275 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			275 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "dolphin_deed.h"
 | 
						|
 | 
						|
static const DolphinDeedWeight dolphin_deed_weights[DolphinDeedMax] = {
 | 
						|
    {1, 2, 60},
 | 
						|
    {1, 2, 60},
 | 
						|
    {1, 2, 60},
 | 
						|
    {-1, 2, 60},
 | 
						|
};
 | 
						|
 | 
						|
const DolphinDeedWeight* dolphin_deed_weight(DolphinDeed deed) {
 | 
						|
    return &dolphin_deed_weights[deed];
 | 
						|
}
 |