<commit_before>/*
 *  draws a basic mini map overview slide set ofr an ns 2 map
 *  <NAME> 2013
 *  uses:
 *  http://www.codeproject.com/Articles/31702/NET-Targa-Image-Reader
 *  TODO:
 * 	draw techpoints/location names onto minimap.
 *  fonts
 */

using System;
using System.Drawing;
using System.Drawing.Text;
using System.IO;
using System.Drawing.Drawing2D;

namespace NS2MapLoadScreenGenerator
{
	class MainClass
	{
		public static String instructions = @" 
This take a map name, and a path it then loads the minimap for the
relvevant directory:ns2\maps\overviews. It attaches the minimap 
to screenshot jpgs found inns2\screens or ns2\screens\%map%\src
and outputs jpegs with the screen and the minimap to:
ns2\screens\%map%

use:
generator.exe ns2_map_name [font] [refreshMinimap]

TO DO:
show RT,TP, locations on minimap
";
		const string mapsDir = "ns2/maps/";
		const string overviewDir= "ns2/maps/overviews/";
		const string screensDir = "ns2/screens/";
		const string screenSrcDir = "/src/";
		const float bigFontSize = 72f;
		const float minimapFontSize = 28f;
		static Font bigFont = new Font (FontFamily.GenericSansSerif, bigFontSize);
//		static Font bigFont = new Font (FontFamily.GenericSansSerif, 94f);
		static Font minimapFont = new Font(FontFamily.GenericSansSerif,minimapFontSize);

		static int minimapxoffset = 1120;
		static int minimapyoffset = 0;
		static int minimapsize =640;

		static Bitmap tp_icon = new Bitmap ("icon_techpoint.png");
		static Bitmap rt_icon;


		public static void Main (string[] args)
		{

			bool refreshMinimap = false;

			String map = "ns2_test";<commit_msg>minor cleanup<commit_after>/*
 *  draws a basic mini map overview slide set ofr an ns 2 map
 *  <NAME> 2013
 *  uses:
 *  http://www.codeproject.com/Articles/31702/NET-Targa-Image-Reader
 *  TODO:
 * 	draw techpoints/location names onto minimap.
 *  fonts
 */

using System;
using System.Drawing;
using System.Drawing.Text;
using System.IO;
using System.Drawing.Drawing2D;

namespace NS2MapLoadScreenGenerator
{
	class MainClass
	{
		public static String instructions = @" 
This take a map name, and a path it then loads the minimap for the
relvevant directory:ns2\maps\overviews. It attaches the minimap 
to screenshot jpgs found inns2\screens or ns2\screens\%map%\src
and outputs jpegs with the screen and the minimap to:
ns2\screens\%map%

use:
generator.exe ns2_map_name [font] [refreshMinimap]

TO DO:
show RT,TP, locations on minimap
";
		const string mapsDir = "ns2/maps/";
		const string overviewDir= "ns2/maps/overviews/";
		const string screensDir = "ns2/screens/";
		const string screenSrcDir = "/src/";
		const float bigFontSize = 72f;
		const float minimapFontSize = 28f;
		static Font bigFont = new Font (FontFamily.GenericSansSerif, bigFontSize);
		static Font minimapFont = new Font(FontFamily.GenericSansSerif,minimapFontSize);

		static int minimapxoffset = 1120;
		static int minimapyoffset = 0;
		static int minimapsize =640;

		static Bitmap tp_icon = new Bitmap ("icon_techpoint.png");
		static Bitmap rt_icon = new Bitmap ();


		public static void Main (string[] args)
		{

			bool refreshMinimap = false;

			String map = "ns2_test";
{'fraction_non_alphanumeric': 0.09176915799432356, 'fraction_numerical': 0.021444339325134027, 'mean_word_length': 4.174551386623165, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2746761', 'n_tokens_mistral': 1141, 'n_tokens_neox': 1046, 'n_words': 335}