Renamed io.cpp to file.cpp, draw.cpp to gldraw.cpp

Deleted scanner.cpp (don't need it), merged model.cpp into io.cpp. Renamed LDForgeWindow to just ForgeWindow since I want the LD* prefix only be given to LDObject derivatives.

added dummy action for future inlining command. Also GCC says that deleting instances of classes with virtual members but no virtual destructors is bad.

begin work on subfile caching

So much for that pointer class, caused more problems than it solved. For instance splitting a second quad after a first one had been split would trigger a peculiar crash...

Added split-quads-to-triangles function

Yay! This thing can save now.

Added pointer serializing so I can keep track of all LDObject* members. This way I can replace them all properly when needed.

Convert the static getCoordinateRep to a common ftoa, use this function to get proper coordinate representation when converting objects to LDraw code

Allow addition of dummy lines..

Added icon for setting contents

oops, forgot the new dialog files out

this thing got its own reinterpret_cast now. :P Added SetContents action for altering an object by contents and reinterpreting it.

Added logf function to write to message log. Write warnings of unparsable files into the message log.

Check whether the numeric arguments of lines really are numeric, and treat lines that don't pass this check as gibberish

Color gibberish red. Check for line code length for gibberish (must be 1 to be valid)

remove leading whitespace from comments when drawing them in the list

Added icons for the comment.

Don't version control moc files... whoops

Set window title dynamically based on filename

Add icon for file open action

rename file-specific icons to file-*

improve opening, don't auto-load 55966.dat (:P)

don't crash if g_CurrentFile is null

Recolored ends of the conditional line graphic purple instead of red for better distinguishment

Added icons for conditional lines

Initial commit

(0) +28 +50 +100 +300 +1000 tip

mercurial