MRI: Init default font names to correct value (RGSS2)
This commit is contained in:
		
							parent
							
								
									5c3c73ee94
								
							
						
					
					
						commit
						8d67b7c91d
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
					@ -307,4 +307,14 @@ fontBindingInit()
 | 
				
			||||||
	INIT_PROP_BIND(Font, Outline, "outline");
 | 
						INIT_PROP_BIND(Font, Outline, "outline");
 | 
				
			||||||
	INIT_PROP_BIND(Font, OutColor, "out_color");
 | 
						INIT_PROP_BIND(Font, OutColor, "out_color");
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if (rgssVer >= 2)
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							VALUE defNames = rb_ary_new_capa(3);
 | 
				
			||||||
 | 
							rb_ary_push(defNames, rb_str_new2("Verdana"));
 | 
				
			||||||
 | 
							rb_ary_push(defNames, rb_str_new2("Arial"));
 | 
				
			||||||
 | 
							rb_ary_push(defNames, rb_str_new2("Courier New"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							FontSetDefaultName(1, &defNames, klass);
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue