| 
								
								
									 Marc Zinnschlag | f4e79a48f0 | implemented optional arguments | 2010-08-22 12:47:56 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 276a9db6f7 | added missing button implementation for MessageBox | 2010-08-22 11:14:14 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 0d4f2ab3ef | disabled escape sequences in script strings (doesn't work with Windows paths) | 2010-08-12 19:41:40 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | cf7150e585 | implemented naked expressions in lineparser (used in console; result is send through messagebox interface) | 2010-07-21 13:34:52 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 01edd8deb5 | compiler exception class fixes | 2010-07-21 10:57:21 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 0f742ce7f9 | even better error checking for extensions with explicit references | 2010-07-10 12:31:00 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 211b723137 | better error checking for extensions with explicit references | 2010-07-10 12:16:45 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 71c710f9f6 | enhanced compiler extenion system to support new instructions and functions with explicit references | 2010-07-09 22:01:24 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 69e607e140 | implemented getdistance with explicit references | 2010-07-09 20:55:39 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | c37b007be0 | added verification for explicit references (check if the given ID exists) | 2010-07-09 20:35:34 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | d4ac3b506e | implemented enable, disable and getdisabled with explicit references | 2010-07-09 19:32:17 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 5a1dd4fedd | fixed fileparser bug (empty line before the initial begin statement were not handled correctly | 2010-07-09 18:21:16 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 592fa84e2d | added Enable, Disable, GetDisabled | 2010-07-09 16:07:03 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 9d73718ec1 | added GetSecondsPassed | 2010-07-06 12:06:50 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 85cd744f44 | fixed a stringparser bug | 2010-07-05 13:33:17 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | b28a6fd7b8 | modified parser to skip over button arguments in an messagebox instruction | 2010-07-05 13:21:08 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 34b824cb70 | implemented GetDistance function | 2010-07-05 12:30:45 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 5786addab5 | allowed the use of keywords as script names (*sigh*) | 2010-07-05 10:58:10 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | a61b2c39f0 | added scriptrunning/startscript/stopscript; sorted out more case problems | 2010-07-04 16:00:32 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 185f8bd56d | added random function; global variable fix | 2010-07-04 13:59:29 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | f9c1548f80 | added menumode script function; added global variable handling in compiler and interpreter (openmw context still ignores global variables) | 2010-07-04 12:29:28 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 5d46fc869c | added missing sound script functionality; various script-related bug-fixes | 2010-07-03 20:35:59 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 32eafaa301 | added custom function handling (compiler) | 2010-07-03 10:43:55 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | a1beffc3cd | added compiler extensions class | 2010-07-03 09:54:01 +02:00 |  | 
				
					
						| 
								
								
									 athile | 5825af45c3 | Visual Studio 2010 compile fixes | 2010-07-01 23:52:20 -07:00 |  | 
				
					
						| 
								
								
									 athile | 056194baa2 | Merge upstream | 2010-07-01 12:01:59 -07:00 |  | 
				
					
						| 
								
								
									 Nicolay Korslund | d03a4c2c7c | Fixed a couple more line endings | 2010-07-01 17:41:06 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 804aed6298 | added basic message box formatting | 2010-07-01 16:40:03 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | aeb41105c4 | added comparison operators | 2010-07-01 12:19:52 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 1674d406dc | made usage of comma as argument separator optional (largely untested, because we don't have anything that takes more than one argument) | 2010-07-01 11:07:21 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | bf55880ce9 | a bit of refactoring | 2010-07-01 10:47:29 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 46fab68d44 | implemented while loops | 2010-07-01 10:42:49 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 69342f320d | added if control structure | 2010-06-30 19:58:25 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 73f9436ed9 | fixed round brackets parsing bug | 2010-06-30 14:08:59 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | ed92ffcf89 | added local variable usage in expressions | 2010-06-30 12:46:10 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | fac8fb8fcb | added return and messagebox statements (messagebox does neither formating nor buttons yet) | 2010-06-30 12:04:26 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 8bb2a6039d | modified comma handling to be morse consistent with original script language | 2010-06-30 11:03:08 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 5fb4abae4f | added function parsing (only one function so far) | 2010-06-29 17:51:02 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | c8c5ef5467 | added bracket parsing | 2010-06-29 16:24:54 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 48f6ad0f89 | added basic arithmetic | 2010-06-29 16:11:19 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | ca8002e533 | added parsing for signed integers and floats | 2010-06-29 12:05:22 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | ab33234027 | prepared expression parser for implementation of more complex expressions | 2010-06-29 11:24:07 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 6ebe2cff5f | extended expression parser for non-negative floats | 2010-06-29 10:36:42 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | bceb7ebcbd | reimplemented expression parsing as a separate parser (still only handling non-negative integers) | 2010-06-29 10:22:55 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 10cb9d3dab | made local variable names case-insensitive | 2010-06-29 08:29:16 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | fdcd34941b | added parsing for set statement (only integer values so far); added code generator | 2010-06-28 18:27:45 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 5cf3264bd3 | added literal container and reworked output container handling | 2010-06-28 16:48:19 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | ba847ae9d8 | write local variable declarations into a separate file | 2010-06-28 14:17:50 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | a3ad61b4d0 | write code file after successfull parsing | 2010-06-28 14:07:55 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 0cfeab622d | added storage class for local variable declarations; added checks for variable re-declaration | 2010-06-28 13:28:50 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 21e0182ae2 | added skip parser for skipping faulty lines | 2010-06-28 12:47:11 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | bff0855af0 | added parsing for local variable declarations | 2010-06-28 12:32:08 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 16f6f27a90 | added line parser (doesn't parse anything yet) | 2010-06-28 12:12:47 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | fda7077cf2 | bug-fix: comments were eating up newlines | 2010-06-28 11:40:48 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | 8930134d82 | exception class fix | 2010-06-28 11:38:21 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | aa99a0dd56 | added basic script parser (can only parse empty script bodies for now) | 2010-06-28 11:38:04 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | de8a651df4 | improved error handling | 2010-06-28 01:01:48 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | a068ca78d7 | replaced dummy parser with top level file parser | 2010-06-28 00:50:48 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | d20e850d31 | -> wasn't properly translated into a token | 2010-06-27 22:31:03 +02:00 |  | 
				
					
						| 
								
								
									 Marc Zinnschlag | ddcbc8cd62 | added tokenizing of MW scripts | 2010-06-27 19:20:21 +02:00 |  |