Huge FML Update
This commit is contained in:
		
							
								
								
									
										4
									
								
								application/core/FML/Script/Parts/Header.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								application/core/FML/Script/Parts/Header.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
/*********************************
 | 
			
		||||
*  FancyManiaLinks by steeffeen	 *
 | 
			
		||||
*    http://fml.steeffeen.com	 *
 | 
			
		||||
*********************************/
 | 
			
		||||
							
								
								
									
										30
									
								
								application/core/FML/Script/Parts/Main.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								application/core/FML/Script/Parts/Main.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
Void Dummy() {}
 | 
			
		||||
main() {
 | 
			
		||||
	declare FML_ScriptStart = Now;
 | 
			
		||||
	+++OnInit+++
 | 
			
		||||
	declare FML_LoopCounter = 0;
 | 
			
		||||
	while (True) {
 | 
			
		||||
		yield;
 | 
			
		||||
		foreach (Event in PendingEvents) {
 | 
			
		||||
			switch (Event.Type) {
 | 
			
		||||
				case CMlEvent::Type::EntrySubmit: {
 | 
			
		||||
					+++EntrySubmit+++
 | 
			
		||||
				}
 | 
			
		||||
				case CMlEvent::Type::KeyPress: {
 | 
			
		||||
					+++KeyPress+++
 | 
			
		||||
				}
 | 
			
		||||
				case CMlEvent::Type::MouseClick: {
 | 
			
		||||
					+++MouseClick+++
 | 
			
		||||
				}
 | 
			
		||||
				case CMlEvent::Type::MouseOut: {
 | 
			
		||||
					+++MouseOut+++
 | 
			
		||||
				}
 | 
			
		||||
				case CMlEvent::Type::MouseOver: {
 | 
			
		||||
					+++MouseOver+++
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		+++Loop+++
 | 
			
		||||
		FML_LoopCounter += 1;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user