forked from teamnwah/openmw-tes3coop
		
	removed script instruction, will be in the settings window later
This commit is contained in:
		
							parent
							
								
									8f2c8bbea4
								
							
						
					
					
						commit
						157dd81524
					
				
					 2 changed files with 0 additions and 19 deletions
				
			
		|  | @ -146,5 +146,4 @@ op 0x200014f: ForceGreeting | |||
| op 0x2000150: ForceGreeting, explicit reference | ||||
| op 0x2000151: ToggleFullHelp | ||||
| op 0x2000152: Goodbye | ||||
| op 0x2000153: ToggleCompositors | ||||
| opcodes 0x2000154-0x3ffffff unused | ||||
|  |  | |||
|  | @ -194,22 +194,6 @@ namespace MWScript | |||
|                 } | ||||
|         }; | ||||
| 
 | ||||
|         class OpToggleCompositors : public Interpreter::Opcode0 | ||||
|         { | ||||
|             public: | ||||
| 
 | ||||
|                 virtual void execute (Interpreter::Runtime& runtime) | ||||
|                 { | ||||
|                     InterpreterContext& context = | ||||
|                         static_cast<InterpreterContext&> (runtime.getContext()); | ||||
| 
 | ||||
|                     bool enabled = MWBase::Environment::get().getWorld()->toggleRenderMode(MWWorld::World::Render_Compositors); | ||||
| 
 | ||||
|                     context.report (enabled ? | ||||
|                         "Compositors -> On" : "Compositors -> Off"); | ||||
|                 } | ||||
|         }; | ||||
| 
 | ||||
|         const int opcodeXBox = 0x200000c; | ||||
|         const int opcodeOnActivate = 0x200000d; | ||||
|         const int opcodeActivate = 0x2000075; | ||||
|  | @ -224,7 +208,6 @@ namespace MWScript | |||
|         const int opcodeFadeTo = 0x200013e; | ||||
|         const int opcodeToggleWater = 0x2000144; | ||||
|         const int opcodeTogglePathgrid = 0x2000146; | ||||
|         const int opcodeToggleCompositors = 0x2000153; | ||||
| 
 | ||||
|         void registerExtensions (Compiler::Extensions& extensions) | ||||
|         { | ||||
|  | @ -246,7 +229,6 @@ namespace MWScript | |||
|             extensions.registerInstruction ("twa", "", opcodeToggleWater); | ||||
|             extensions.registerInstruction ("togglepathgrid", "", opcodeTogglePathgrid); | ||||
|             extensions.registerInstruction ("tpg", "", opcodeTogglePathgrid); | ||||
|             extensions.registerInstruction ("togglecompositors", "", opcodeToggleCompositors); | ||||
|         } | ||||
| 
 | ||||
|         void installOpcodes (Interpreter::Interpreter& interpreter) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue