PCL2ED - provisional Lemmings 2 level editor made by geoo89

Original release thread: http://henriwatson.com/lemmings/index.php?topic=361.0

Source and some other related stuff can be found here: http://geoo.digibase.ca/PCL2ED/

Note: Program (likely) needs OpenGL32.dll to run.

Usage:

It runs via commandline, with the parameter being the path of an uncompressed level file. If you feed it with anything else, it will crash. Also, the Style files have to be decompressed.
e.g. for Classic 1: PCL2ED.exe levels/level000.dat
To Decompress files, use Mindless' lem2zip. If you want to decompress all Level/Style files, put the two batch files from here http://207.58.177.175/~geoo89/lemmings/PCL2ED/ into your Lemmings 2 folder and run it. The decompressed files will be in a separate folder. Watch out for files of the filesize 0, in that case the files already have been compressed. Use the original ones in that case.

Controls:

When editing, there are 4 modes: NoDraw, Sprite, Tile and Object.
In any mode, doubleclicking the right mousebutton will select the object under the cursor; if there is no object under the cursor, it will select the sprite under the cursor; and switch into the respective mode.
Singleclicking the right mousebutton will take you back to NoDraw mode.

The action of left-clicking is dependent on mode.
In NoDraw and Object mode, it will select the object under the cursor. If there is no object under the cursor, in NoDraw mode it will do nothing. In Object mode it will draw a new object.
In Sprite/Tile mode, leftclicking will draw Sprite/Tile respectively.

Key settings:

+/-		In NoDraw mode: to change the level arrangement, i.e. the amount of sprites per row. This will affect all rows, and the level will have to be fully re-designed then
		In object mode: change the object ID
Arrow keys	In any mode but Object mode: Change the view window of the level
		In Object mode: move the selected object
WASD		In Object mode: extends/contracts the selected object, i.e. for some objects like steel, water or the swing chain it is possible line up replicates of an object horizontally or vertically
Delete key	Deletes the selected object
'B'		Toggle background draw, i.e. whether terrain (Sprites/Tiles) is solid or background
F3		Save the level.

Another note: Object boundaries might not be correct as I haven't figured out the object definition format completely yet. Special object components like parts of the swing or the cannon are not displayed, though the boundary size considers them.