Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Fix file I/O issue. | 25c0b40db223c806eb3ea8bd28238dedc38ca8b5 | Jan Allersma | 2018-11-02 16:22:59 |
Cleanup commenting. | 445aea4a5115c9110a097bfc7ac9f7d5ad48a9e7 | Jan Allersma | 2018-11-02 14:33:08 |
Show Ornaments on Canvas. | d8456f15d69550c4cb0aa615cccb96b45a77f6a6 | Jan Allersma | 2018-11-02 14:08:47 |
Support Entities for Create & Destruct commands. | cc900579eedf9c6288ce1c1883122856794e05a0 | Jan Allersma | 2018-11-02 13:25:43 |
Use entities instead of shapes when constructing ornaments. | 13f08847624489f60a37db55c2aedbba6b021f98 | Jan Allersma | 2018-11-01 17:02:47 |
Remove obsolete 'calcBounds' function. | 475ec330736b5800d12d091415480b163dd244e2 | Jan Allersma | 2018-11-01 14:28:29 |
Setup for decorator pattern. | 762914dec31b1fb1d4cf6bb0cef2e148010652a4 | Jan Allersma | 2018-11-01 14:12:51 |
Revert commit '5678eb6'. | 6225242719b2cfc5ee0de9f8d05edbc7a69007a7 | Jan Allersma | 2018-11-01 14:10:27 |
Make groups movable and resizable. | 1ca7c18ab103a8d1055b27f63192038fd75aef3e | Jan Allersma | 2018-10-17 14:51:32 |
Use translations instead of positions for moving shapes. | 9551c7d2608f01c3950743fd97bd217aab8f5766 | Jan Allersma | 2018-10-16 16:11:03 |
Implement Visitor pattern for Groups. | bd30477ce616362d3f58cef072d1ebc78077fa85 | Jan Allersma | 2018-10-16 13:28:37 |
Implement Visitor pattern for Shapes. | e52412c3059c1ee5fa9abdf4a32db0f47981eee1 | Jan Allersma | 2018-10-16 12:43:17 |
Setup 'Decorator' and 'Ornament' class. | 5678eb6257bcf88502078d08395a394a1c24568b | Jan Allersma | 2018-10-09 09:29:50 |
Use different strats instead of seperate Shapes. | a56e1e665a0292d15139eddfd8ebdeb8c95251b4 | Jan Allersma | 2018-10-01 11:37:45 |
Make ornament interface compatible with Entities. | 21383d5f200a338f8255d7d33b6989937c19fed6 | Jan Allersma | 2018-10-08 20:36:23 |
Fix bug in Rect from commit 6c91140 in other Shapes as well. | 4165a5da98dd9a548a222c6160390e4e54026d48 | Jan Allersma | 2018-09-28 14:53:40 |
Build interface for ornament creation. | adcf22a4e878edc45ac0775a5e15ebf0bb1a937d | Jan Allersma | 2018-10-08 13:53:52 |
Fully implement File I/O. | 45cbb48489a24857cfc76144b38b12ccebfd9e61 | Jan Allersma | 2018-09-27 16:03:40 |
Fix GroupMenu bug. | be41e51819be1a23e7761ea0662eb188ac641aca | Jan Allersma | 2018-09-27 14:55:20 |
Fix TODO's from previous commit. | 89d8172b77336a6c18f30521147eb81287961f11 | Jan Allersma | 2018-09-27 14:06:30 |
File | Lines added | Lines deleted |
---|---|---|
source/commands/create.d | 1 | 1 |
source/commands/load.d | 1 | 1 |
source/entities/group.d | 0 | 2 |
File source/commands/create.d changed (mode: 100644) (index 70e6e79..e5a298a) | |||
... | ... | public class CreateCmd : Command { | |
32 | 32 | ||
33 | 33 | // Should be done by Visitor self. | // Should be done by Visitor self. |
34 | 34 | public override void save(Savefile file) { | public override void save(Savefile file) { |
35 | if(e.group !is null) | ||
35 | if(e.group is null) | ||
36 | 36 | e.accept(new SaveVisitor(file)); | e.accept(new SaveVisitor(file)); |
37 | 37 | } | } |
38 | 38 | } | } |
File source/commands/load.d changed (mode: 100644) (index 231d7cb..454a67f) | |||
... | ... | public class LoadCmd : Command { | |
37 | 37 | // Should be done by Visitor self. | // Should be done by Visitor self. |
38 | 38 | public override void save(Savefile file) { | public override void save(Savefile file) { |
39 | 39 | foreach(s; shapes) { | foreach(s; shapes) { |
40 | if(s.group !is null) | ||
40 | if(s.group is null) | ||
41 | 41 | s.accept(new SaveVisitor(file)); | s.accept(new SaveVisitor(file)); |
42 | 42 | } | } |
43 | 43 | } | } |
File source/entities/group.d changed (mode: 100644) (index bae6768..8ec8a61) | |||
... | ... | class Group : Entity { | |
24 | 24 | uniform(0.00L, 1.00L, random), | uniform(0.00L, 1.00L, random), |
25 | 25 | uniform(0.00L, 1.00L, random) | uniform(0.00L, 1.00L, random) |
26 | 26 | ]; | ]; |
27 | |||
28 | writeln(colour); | ||
29 | 27 | } | } |
30 | 28 | ||
31 | 29 | @property | @property |