File: init.slu

package info (click to toggle)
sludge 2.2.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,852 kB
  • sloc: cpp: 32,432; sh: 1,237; makefile: 634; xml: 284
file content (17 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
sub init () {
	if (getLanguageID()) {
		# The Language is set to German.
		# Lets use the ISO-8859-1 subset of the "Hasty Pudding" font to
		# get some more characters. Thanks to Rudolf ¦lavka for the font!
		setFont ('nicupfontsmall.duc', "*ABCDEFGHIJKLMNOPQRSTUVWXYZÁÄÉËÍÓÔÖÚÜÝabcdefghijklmnopqrstuvwxyzáäéëíóôöúüý0123456789\"'?!.,;:()*&-@$ ", 27);
	} else {
		# We're speaking English, so let's use the original demo font by Tim Furnish.
		setFont ('demofont.duc', "ÉABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\"'/?!.,;:()*%& -~`@", 32);
	}
	setDefaultMusicVolume (150);
	onKeyboard (keys);
	addStatus ();
	stop ();
	gotoRoom (outsideRoom);
	go ();
}