[Kde-games-devel] Review Request: Port KAtomic to use KGameRenderer

Brian Croom brian.s.croom at gmail.com
Tue Aug 10 17:27:19 CEST 2010



> On 2010-08-10 15:10:22, Dmitry Suzdalev wrote:
> > /trunk/KDE/kdegames/katomic/fielditem.cpp, line 110
> > <http://reviewboard.kde.org/r/4956/diff/3/?file=33513#file33513line110>
> >
> >     Again, I'd suggest to make them "static QHash". more error proof :)
> >     
> >     Also I think it's better to make fillNameHashes private in AtomFieldItem() and do something like this:
> >     
> >     AtomFieldItem::AtomFieldItem()
> >     {
> >     if(s_names.isEmpty())
> >        fillNameHashes();
> >     }
> >     
> >     this would remove illogical responsibility of PlayField class for filling AtomFieldItem's essential properties.

Good point, that makes more sense.


- Brian


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/4956/#review6961
-----------------------------------------------------------


On 2010-08-10 14:53:31, Brian Croom wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/4956/
> -----------------------------------------------------------
> 
> (Updated 2010-08-10 14:53:31)
> 
> 
> Review request for KDE Games, Stefan Majewsky and Dmitry Suzdalev.
> 
> 
> Summary
> -------
> 
> This patch ports KAtomic to use the KGameRenderer class instead its own renderer.
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdegames/katomic/CMakeLists.txt 1161066 
>   /trunk/KDE/kdegames/katomic/default_theme.desktop PRE-CREATION 
>   /trunk/KDE/kdegames/katomic/fielditem.h 1161066 
>   /trunk/KDE/kdegames/katomic/fielditem.cpp 1161066 
>   /trunk/KDE/kdegames/katomic/katomicrenderer.h 1161066 
>   /trunk/KDE/kdegames/katomic/katomicrenderer.cpp 1161066 
>   /trunk/KDE/kdegames/katomic/main.cpp 1161066 
>   /trunk/KDE/kdegames/katomic/playfield.h 1161066 
>   /trunk/KDE/kdegames/katomic/playfield.cpp 1161066 
> 
> Diff: http://reviewboard.kde.org/r/4956/diff
> 
> 
> Testing
> -------
> 
> Everything seems to be working properly.
> 
> 
> Thanks,
> 
> Brian
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-games-devel/attachments/20100810/e482f821/attachment.htm 


More information about the kde-games-devel mailing list