Tue, 09 Apr 2013 17:56:35 +0300 |
Santeri Piippo |
Added an icon for the 'about Qt' action. Let's hope Digia doesn't tear me apart for my horrible recreation of the Qt logo. :)
|
changeset |
files
|
Tue, 09 Apr 2013 17:41:19 +0300 |
Santeri Piippo |
Extracted actions from ForgeWindow into their own files. The ACTION macro now manages meta, instances and callback definitions all in one. Too bad I still need to extern these actions in gui.cpp... maybe someday I'll find a way around it :)
|
changeset |
files
|
Tue, 09 Apr 2013 14:06:40 +0300 |
Santeri Piippo |
Keyboard shortcuts can now be configured.
|
changeset |
files
|
Mon, 08 Apr 2013 19:24:23 +0300 |
Santeri Piippo |
Systemized actions and added (for now no-op) key configurations for them
|
changeset |
files
|
Mon, 08 Apr 2013 18:47:31 +0300 |
Santeri Piippo |
Added a New Part dialog
|
changeset |
files
|
Mon, 08 Apr 2013 14:57:25 +0300 |
Santeri Piippo |
Don't include non-INVERTNEXT BFC statements in inlined objects.
|
changeset |
files
|
Mon, 08 Apr 2013 14:53:58 +0300 |
Santeri Piippo |
LDObject::getIndex was bogus which would cause inlining to crash
|
changeset |
files
|
Mon, 08 Apr 2013 14:45:28 +0300 |
Santeri Piippo |
Added support for BFC types
|
changeset |
files
|
Wed, 27 Mar 2013 11:24:16 +0200 |
Santeri Piippo |
Added LDConfig.ldr parsing. All colors now available as long as LDConfig.ldr is provided.
|
changeset |
files
|
Mon, 25 Mar 2013 22:52:53 +0200 |
Santeri Piippo |
Draw main color in the selection dialog based on preferences, take subfiles into account when calculating bbox
|
changeset |
files
|
Mon, 25 Mar 2013 17:04:18 +0200 |
Santeri Piippo |
Phased out FOREACH macro in favor of C++11-style for iteration.
|
changeset |
files
|
Mon, 25 Mar 2013 16:05:03 +0200 |
Santeri Piippo |
Simplified configuration code. Use a std::vector object to contain config pointers and have config objects register themselves upon creation instead of relying on a cfgdefs.h. Removed sections, all configurations are just simply written one after another now.
|
changeset |
files
|
Mon, 25 Mar 2013 15:20:56 +0200 |
Santeri Piippo |
Further fixes to bad color handling. Allow main color be represented with arbitrary transparency.
|
changeset |
files
|
Mon, 25 Mar 2013 01:04:20 +0200 |
Santeri Piippo |
57181.dat (Philo's model of the XL-motor) showcased a new problem.. there was no handling of unknown colors which led into crashes. Added stdout warnings, also added mid and dark stone colors
|
changeset |
files
|
Mon, 25 Mar 2013 00:44:11 +0200 |
Santeri Piippo |
Restructured inlining to use a proper caching.. one cache per sub-file reference? What was I thinking? *whacks self with a 55295.dat*
|
changeset |
files
|
Sun, 24 Mar 2013 21:45:19 +0200 |
Santeri Piippo |
Reverted changes on LDSubfile::getContents, I had a temporary, hackier solution there and forgot to change it back
|
changeset |
files
|
Sun, 24 Mar 2013 21:41:24 +0200 |
Santeri Piippo |
Considerably improved sub-file inlining. Use a matrix class instead of double[9], educated myself on what matrix multiplication actually is and fixed the algorithm up. Aside from I/O problems, 32551.dat is correctly rendered now.
|
changeset |
files
|
Sun, 24 Mar 2013 18:03:33 +0200 |
Santeri Piippo |
Implemented the inline action to expose inlining to the user. Also added a `deep inline` action to inline subfile recursively down into polygons and lines only.
|
changeset |
files
|
Sun, 24 Mar 2013 01:05:59 +0200 |
Santeri Piippo |
Got inlining working. 3002.dat renders properly now! Now just to iron out the bugs and hone the behavior..
|
changeset |
files
|
Thu, 21 Mar 2013 18:26:57 +0200 |
Santeri Piippo |
If editing contents of a gibberish object, show the reason for the gibberishness in the dialog. Clamp the bounding box scale to at least 1.0 so that polygons are visible in new files.
|
changeset |
files
|
Thu, 21 Mar 2013 16:25:03 +0200 |
Santeri Piippo |
Parsing stability, finally figured that dumb crash
|
changeset |
files
|
Thu, 21 Mar 2013 13:00:44 +0200 |
Santeri Piippo |
LDraw still uses inverted y-scale... I always used symmetrical objects for testing so I never noticed I had this wrong.
|
changeset |
files
|
Thu, 21 Mar 2013 12:57:06 +0200 |
Santeri Piippo |
Scroll the color picker dialog to the selected color if it's off-screen
|
changeset |
files
|
Thu, 21 Mar 2013 03:20:02 +0200 |
Santeri Piippo |
Added polygon bordering function
|
changeset |
files
|
Thu, 21 Mar 2013 02:48:09 +0200 |
Santeri Piippo |
Simplify ForgeWindow::slot_splitQuads with the new methods
|
changeset |
files
|
Thu, 21 Mar 2013 02:45:53 +0200 |
Santeri Piippo |
Added clipboard, added delete action
|
changeset |
files
|
Thu, 21 Mar 2013 00:37:15 +0200 |
Santeri Piippo |
Done the rendering end of the red/green BFC view
|
changeset |
files
|
Wed, 20 Mar 2013 23:46:37 +0200 |
Santeri Piippo |
Make line thickness user-configurable, draw conditional lines dashed, use the bounding box to offset the model so that it is centered properly.
|
changeset |
files
|
Wed, 20 Mar 2013 23:06:30 +0200 |
Santeri Piippo |
Colorized polygons now appear colorized in the list view (unless disabled). GL rendered now draws transparent polygons properly.
|
changeset |
files
|
Wed, 20 Mar 2013 21:47:33 +0200 |
Santeri Piippo |
Added color selectors for the add object dialog
|
changeset |
files
|
Wed, 20 Mar 2013 21:19:35 +0200 |
Santeri Piippo |
Turned the test palette action into a set color action for mass object coloring.
|
changeset |
files
|
Wed, 20 Mar 2013 20:44:04 +0200 |
Santeri Piippo |
Finished with the color selection dialog
|
changeset |
files
|
Wed, 20 Mar 2013 19:41:37 +0200 |
Santeri Piippo |
Color dialog almost up and running. Need to make it actually selectable now. TODO: make it read LDConfig.ldr
|
changeset |
files
|
Wed, 20 Mar 2013 13:41:08 +0200 |
Santeri Piippo |
Made the GL renderer actually use the main color configuration
|
changeset |
files
|
Wed, 20 Mar 2013 13:27:43 +0200 |
Santeri Piippo |
Finally got the renderer to actually draw something! Still needs a lot of work but at least it doesn't show garbage or blank anymore.
|
changeset |
files
|
Wed, 20 Mar 2013 03:28:49 +0200 |
Santeri Piippo |
Disable the locale when parsing LDraw code or atof's behavior becomes locale-dependant. Who the hell thought that was a great idea?
|
changeset |
files
|
Wed, 20 Mar 2013 03:25:49 +0200 |
Santeri Piippo |
With removal of vectors, I don't need to keep the bearing class around either
|
changeset |
files
|
Wed, 20 Mar 2013 03:22:21 +0200 |
Santeri Piippo |
Removed vectors. I realized that subfiles can actually perform their job just as well and that keeping them around would just imply extra work - for nothing.
|
changeset |
files
|
Wed, 20 Mar 2013 02:44:21 +0200 |
Santeri Piippo |
Added code for parsing vertices
|
changeset |
files
|
Wed, 20 Mar 2013 02:31:36 +0200 |
Santeri Piippo |
Added insert vertex function and added vertex icons.
|
changeset |
files
|
Wed, 20 Mar 2013 01:58:05 +0200 |
Santeri Piippo |
Added triangle, quad and condline to the add object dialog
|
changeset |
files
|
Tue, 19 Mar 2013 21:52:38 +0200 |
Santeri Piippo |
Begin work on dialogs for adding objects. Comments functional!
|
changeset |
files
|
Tue, 19 Mar 2013 18:25:08 +0200 |
Santeri Piippo |
Implemented insertion of triangles, quads, condlines and comments
|
changeset |
files
|
Tue, 19 Mar 2013 18:15:31 +0200 |
Santeri Piippo |
er, I said don't limit the amount of decimals
|
changeset |
files
|
Tue, 19 Mar 2013 18:14:37 +0200 |
Santeri Piippo |
ftoa: don't limit the amount of decimals
|
changeset |
files
|
Tue, 19 Mar 2013 18:12:39 +0200 |
Santeri Piippo |
Temporarily set the locale to C when using ftoa, or the resulting string is subject to the locale and gets unexpected symbols (e.g. commas for the decimal dots while the function expects periods)
|
changeset |
files
|
Tue, 19 Mar 2013 17:21:51 +0200 |
Santeri Piippo |
Added main color configuration option, not implemented yet
|
changeset |
files
|
Tue, 19 Mar 2013 17:09:07 +0200 |
Santeri Piippo |
Added color selection icon
|
changeset |
files
|
Tue, 19 Mar 2013 16:36:08 +0200 |
Santeri Piippo |
Made the GL renderer background color configurable
|
changeset |
files
|
Tue, 19 Mar 2013 15:32:16 +0200 |
Santeri Piippo |
Added RC file for the application icon introduced in d2d86021
|
changeset |
files
|
Tue, 19 Mar 2013 15:29:42 +0200 |
Santeri Piippo |
Licensed LDForge GPL3, added some more icons
|
changeset |
files
|
Mon, 18 Mar 2013 18:29:02 +0200 |
Santeri Piippo |
Added LDraw path setting dialog
|
changeset |
files
|
Mon, 18 Mar 2013 13:16:21 +0200 |
Santeri Piippo |
added Save As function
|
changeset |
files
|
Mon, 18 Mar 2013 12:24:16 +0200 |
Santeri Piippo |
and of course I forget to update ldforge.pro... or to test compile for that matter
|
changeset |
files
|
Mon, 18 Mar 2013 12:20:48 +0200 |
Santeri Piippo |
Renamed io.cpp to file.cpp, draw.cpp to gldraw.cpp
|
changeset |
files
|
Mon, 18 Mar 2013 12:15:23 +0200 |
Santeri Piippo |
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.
|
changeset |
files
|
Mon, 18 Mar 2013 04:03:05 +0200 |
Santeri Piippo |
added dummy action for future inlining command. Also GCC says that deleting instances of classes with virtual members but no virtual destructors is bad.
|
changeset |
files
|
Mon, 18 Mar 2013 03:38:51 +0200 |
Santeri Piippo |
begin work on subfile caching
|
changeset |
files
|
Sat, 16 Mar 2013 17:50:13 +0200 |
Santeri Piippo |
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...
|
changeset |
files
|
Sat, 16 Mar 2013 16:59:16 +0200 |
Santeri Piippo |
Added split-quads-to-triangles function
|
changeset |
files
|
Sat, 16 Mar 2013 15:45:20 +0200 |
Santeri Piippo |
Yay! This thing can save now.
|
changeset |
files
|
Sat, 16 Mar 2013 14:21:31 +0200 |
Santeri Piippo |
Added pointer serializing so I can keep track of all LDObject* members. This way I can replace them all properly when needed.
|
changeset |
files
|
Sat, 16 Mar 2013 13:08:24 +0200 |
Santeri Piippo |
Convert the static getCoordinateRep to a common ftoa, use this function to get proper coordinate representation when converting objects to LDraw code
|
changeset |
files
|
Sat, 16 Mar 2013 03:42:04 +0200 |
Santeri Piippo |
Allow addition of dummy lines..
|
changeset |
files
|