table[776] = 77; table[777] = 77;
int Object_sfx::get_shape_sfx	(	int shapenum	)	{	static map<int, int> table;	static int first = 1;	if (first)			// First time?		{		first = 0;					// Surf: (47 or 49)		table[612] = 49;		table[613] = 49;		table[632] = 49;		table[736] = 49;		table[737] = 49;		table[751] = 49;		table[808] = 49;		table[834] = 49;		table[875] = 49;		table[907] = 49;		table[911] = 49;		table[918] = 49;		table[1012] = 49;		table[1020] = 49;		table[1022] = 49;					// Bubbles: (54, 56).		table[334] = 56;		table[335] = 56;		table[780] = 56;					// Fountains:		table[893] = 36;					// Moongates:		table[776] = 77;		table[777] = 77;		if (GAME_BG)			{			table[305] = 78;	// Black gate.			table[786] = 79;	// Vortex cube.			}		// Grandfather clock tick tock, only in the SQSFX files,		 if (Audio::get_ptr()->get_sfx_file() != 0)			{			std::string s = 				Audio::get_ptr()->get_sfx_file()->filename;			to_uppercase(s);			if(s.find("SQSFX") != std::string::npos)				{				table[252] = 116;	// Grandfather clock 				table[695] = 116;	// Grandfather clock 	 			}			}							}	std::map<int, int>::iterator it = table.find(shapenum);	if (it == table.end())		return -1;	int sfx = (*it).second;	return Audio::game_sfx(sfx);	return sfx;	}