#ifdef WINDOWS
//NICE new galaxy stuff
#ifdef NOCTIS2CPP
#define EXT
#else
#define EXT extern
#endif

EXT FastBool NewGalaxy_prepare_nearstar(FastBool option);
EXT FastBool NewGalaxy_sky(Uword limits);
EXT Word NewGalaxy_ap_target_starnop();
EXT void CheckForAndPlaceGates();
EXT void SwitchGalaxy();
EXT char* ConvertCommand(char* originalCommand);
EXT void NgInit();
EXT void NgCleanup();
EXT int ConvertCommand(char* originalCommand, char* output);
EXT void NgInit();
EXT void NgCleanup();


EXT double nearstar_p_plate_tectonics [ng_maxbodies];

/*TODO: 
	[Done for Sky()] Update starmap code to handle multiple galaxies.
	find_something_in_starmap, planets_labelled
	Implement NewGalaxy_prepare_nearstar (with the ideal being to have chances for any kind of planet/moon system, not fixed impossibilities),
	Add other-galaxy stuff to FSAT and isthere3,
	find other things which call stuff like extract_ap_target_infos, fix_remote_target, prepare_nearstar, etc.
	Test galaxy-switching without negative fuel.
	[partially done?] Move other galaxy portal point to a system there, label it gateway.
	Make the portal ptype terrain map pure black.
	Update syncStarmap to handle multiple galaxies, and to write out new map and gd files for the new galaxy if they're missing. It should use a newer outbox format which holds both, but separate inboxes for each client?
	Implement planet stuff - changes to terrain, "lakes", "ice", "rain", etc, life on non-felisian planets, different life on felisian planets. None of the felisian galaxy life should be in this galaxy, except on planets in the gateway system.
	Gateway system should have a planet or two with felisian ruins and felisian critters.
	
	
	
	Modules TODO:
	modshare: FindInStarmap, PrepareFromSectorCoords, isthere2
	DL: extract_ap_target_infos, prepare_nearstar
	PAR: check again after updating the above
	
	Testing all modules in both galaxies on targets in both the same and the other galaxy (where applicable - some don't take targets, or automatically get them). Also retest them with the DOS version on targets in both.
	
	More modules notes:
	//DL lists info on the current remote target?
	//do not test pri, test prif instead?
	//REP looks like it wouldn't return an error message if the thing wasn't in the SM3 database
	//SL lists stars, needs testing in both galaxies.
	//st sets target, make sure it won't work cross-galaxy
	//need to generate an empty sm3 map and guide.

*/

#endif