KDE Games/Porting: Difference between revisions

From KDE Community Wiki
(full list)
(coloring, more explanation)
Line 7: Line 7:


The second column shows which graphics stack (e. g. QGraphicsView, KGameCanvas) is used by the application. The third column shows the rendering method.
The second column shows which graphics stack (e. g. QGraphicsView, KGameCanvas) is used by the application. The third column shows the rendering method.
If you want to take part in porting, pick an app, contact the author or the kde-games-devel mailing list to coordinate your effort, read into the [http://api.kde.org/classmapper.php?class=KGameRender KGameRenderer APIDOX] and start hacking! Please note that this porting effort is mainly about porting rendering code to KGameRenderer. Usage of outdated graphics stacks should not be changed because this might cause severe and non-trivial bugs.


{| border="1" cellpadding="1"
{| border="1" cellpadding="1"
Line 16: Line 18:
|-
|-
| bomber
| bomber
| KGameCanvas
| style="background-color:#FFFFA0" | KGameCanvas
| KGameRenderer
| style="background-color:#ABFFAB" | KGameRenderer
| Stefan Majewsky
| Stefan Majewsky
|-
|-
| bovo
| bovo
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| QGraphicsSvgItem
| style="background-color:#FFFFA0" | QGraphicsSvgItem
|
|
|-
|-
| granatier
| granatier
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| QGraphicsSvgItem and KPixmapCache
| style="background-color:#FFFFA0" | QGraphicsSvgItem and KPixmapCache
|
|
|-
|-
| kajongg
| kajongg
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| libkmahjongg
| style="background-color:#ABFFAB" | libkmahjongg
|
|
|-
|-
| kapman
| kapman
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| QGraphicsSvgItem
| style="background-color:#FFFFA0" | QGraphicsSvgItem
|
|
|-
|-
| katomic
| katomic
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| KGameRenderer
| style="background-color:#ABFFAB" | KGameRenderer
| Brian S. Croom
| Brian S. Croom
|-
|-
| kbattleship
| kbattleship
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| custom PixmapCache
| style="background-color:#FFFFA0" | PixmapCache
|
|
|-
|-
| kblackbox
| kblackbox
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| QGraphicsSvgItem
| style="background-color:#FFFFA0" | QGraphicsSvgItem
|
|
|-
|-
| kblocks
| kblocks
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| QGraphicsSvgItem
| style="background-color:#FFFFA0" | QGraphicsSvgItem
|
|
|-
|-
| kbounce
| kbounce
| KGameCanvas
| style="background-color:#FFFFA0" | KGameCanvas
| KPixmapCache
| style="background-color:#FFFFA0" | KPixmapCache
|
|
|-
|-
| kbreakout
| kbreakout
| KGameCanvas
| style="background-color:#FFFFA0" | KGameCanvas
| KPixmapCache
| style="background-color:#FFFFA0" | KPixmapCache
|
|
|-
|-
| kdiamond
| kdiamond
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| KGameRenderer
| style="background-color:#ABFFAB" | KGameRenderer
| Stefan Majewsky
| Stefan Majewsky
|-
|-
| kfourinline
| kfourinline
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| PixmapCache (and classes similar to KGameRendererClient)
| style="background-color:#FFFFA0" | PixmapCache (and classes similar to KGameRendererClient)
|
|
|-
|-
| kgoldrunner
| kgoldrunner
| KGameCanvas
| style="background-color:#FFFFA0" | KGameCanvas
| KPixmapCache
| style="background-color:#FFFFA0" | KPixmapCache
|
|
|-
|-
| kigo
| kigo
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| KPixmapCache
| style="background-color:#FFFFA0" | KPixmapCache
|
|
|-
|-
| killbots
| killbots
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| KGameRenderer
| style="background-color:#ABFFAB" | KGameRenderer
| Parker Coates
| Parker Coates
|-
|-
| kiriki
| kiriki
| colspan="2" | QWidget with pre-rendered PNG
| colspan="2" style="background-color:#FFFFA0" | QWidget with pre-rendered PNG
| N/A
| N/A
|-
|-
| kjumpingcube
| kjumpingcube
| QWidget
| style="background-color:#FFABAB" | QWidget
| straightforward
| style="background-color:#FFABAB" | simple QSvgRenderer::render()
|
|
|-
|-
| klines
| klines
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| KPixmapCache
| style="background-color:#FFFFA0" | KPixmapCache
|
|
|-
|-
| kmahjongg
| kmahjongg
| KGameCanvas
| style="background-color:#FFFFA0" | KGameCanvas
| libkmahjongg
| style="background-color:#ABFFAB" | libkmahjongg
|
|
|-
|-
| kmines
| kmines
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| KPixmapCache
| style="background-color:#FFFFA0" | KPixmapCache
|
|
|-
|-
| knetwalk
| knetwalk
| QWidget
| style="background-color:#FFABAB" | QWidget
| KPixmapCache
| style="background-color:#FFFFA0" | KPixmapCache
|
|
|-
|-
| kolf
| kolf
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| QPixmapCache
| style="background-color:#FFFFA0" | QPixmapCache
| Stefan Majewsky (will do that as part of a general refactoring)
| Stefan Majewsky (will do that as part of a general refactoring)
|-
|-
| kollision
| kollision
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| PixmapCache
| style="background-color:#FFFFA0" | PixmapCache
|
|
|-
|-
| konquest
| konquest
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| KPixmapCache
| style="background-color:#FFFFA0" | KPixmapCache
|
|
|-
|-
| kpat
| kpat
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| KPixmapCache
| style="background-color:#FFFFA0" | KPixmapCache
|
|
|-
|-
| kreversi
| kreversi
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| KGameRenderer
| style="background-color:#ABFFAB" | KGameRenderer
| Brian S. Croom
| Brian S. Croom
|-
|-
| ksame
| ksame
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| KGameRenderer
| style="background-color:#ABFFAB" | KGameRenderer
| Stefan Majewsky
| Stefan Majewsky
|-
|-
| kshisen
| kshisen
| QWidget
| style="background-color:#FFABAB" | QWidget
| libkmahjongg
| style="background-color:#ABFFAB" | libkmahjongg
|
|
|-
|-
| ksirk
| ksirk
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| QGraphicsSvgItem and KPixmapCache
| style="background-color:#FFFFA0" | QGraphicsSvgItem and KPixmapCache
|
|
|-
|-
| kspaceduel
| kspaceduel
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| QGraphicsSvgItem
| style="background-color:#FFFFA0" | QGraphicsSvgItem
|
|
|-
|-
| ksquares
| ksquares
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| N/A
| N/A
| N/A
| N/A
|-
|-
| ksudoku
| ksudoku
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| KPixmapCache
| style="background-color:#FFFFA0" | KPixmapCache
|
|
|-
|-
| ktron
| ktron
| QWidget
| style="background-color:#FFABAB" | QWidget
| KPixmapCache
| style="background-color:#FFFFA0" | KPixmapCache
|
|
|-
|-
| ktuberling
| ktuberling
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| QGraphicsSvgItem
| style="background-color:#FFFFA0" | QGraphicsSvgItem
|
|
|-
|-
| kubrick
| kubrick
| QGLWidget
| style="background-color:#ABFFAB" | QGLWidget
| N/A
| N/A
| N/A
| N/A
|-
| libkmahjongg
| N/A
| style="background-color:#FFFFA0" | QPixmapCache
|
|-
|-
| lskat
| lskat
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| PixmapCache (and classes similar to KGameRendererClient)
| style="background-color:#FFFFA0" | PixmapCache (and classes similar to KGameRendererClient)
|
|
|-
|-
| palapeli
| palapeli
| QGraphicsView
| style="background-color:#ABFFAB" | QGraphicsView
| N/A
| N/A
| N/A
| N/A
|}
|}

Revision as of 15:48, 12 August 2010

Targets of porting

  • Rendering method: Current solutions commonly include usage of a QSvgRenderer, combined either with QGraphicsSvgItems or with (Q/K)PixmapCache. It is suggested to migrate to KGameRenderer instead. Integration with QGraphicsView is available through the KGameRenderedItem and KGameRenderedObjectItem classes. Integration with KGameCanvas is available through the KGameCanvasRenderedPixmap.
  • (more to come)

Porting status

The second column shows which graphics stack (e. g. QGraphicsView, KGameCanvas) is used by the application. The third column shows the rendering method.

If you want to take part in porting, pick an app, contact the author or the kde-games-devel mailing list to coordinate your effort, read into the KGameRenderer APIDOX and start hacking! Please note that this porting effort is mainly about porting rendering code to KGameRenderer. Usage of outdated graphics stacks should not be changed because this might cause severe and non-trivial bugs.

Application Graphics stack Rendering method Who does/did the port? (if applicable)
bomber KGameCanvas KGameRenderer Stefan Majewsky
bovo QGraphicsView QGraphicsSvgItem
granatier QGraphicsView QGraphicsSvgItem and KPixmapCache
kajongg QGraphicsView libkmahjongg
kapman QGraphicsView QGraphicsSvgItem
katomic QGraphicsView KGameRenderer Brian S. Croom
kbattleship QGraphicsView PixmapCache
kblackbox QGraphicsView QGraphicsSvgItem
kblocks QGraphicsView QGraphicsSvgItem
kbounce KGameCanvas KPixmapCache
kbreakout KGameCanvas KPixmapCache
kdiamond QGraphicsView KGameRenderer Stefan Majewsky
kfourinline QGraphicsView PixmapCache (and classes similar to KGameRendererClient)
kgoldrunner KGameCanvas KPixmapCache
kigo QGraphicsView KPixmapCache
killbots QGraphicsView KGameRenderer Parker Coates
kiriki QWidget with pre-rendered PNG N/A
kjumpingcube QWidget simple QSvgRenderer::render()
klines QGraphicsView KPixmapCache
kmahjongg KGameCanvas libkmahjongg
kmines QGraphicsView KPixmapCache
knetwalk QWidget KPixmapCache
kolf QGraphicsView QPixmapCache Stefan Majewsky (will do that as part of a general refactoring)
kollision QGraphicsView PixmapCache
konquest QGraphicsView KPixmapCache
kpat QGraphicsView KPixmapCache
kreversi QGraphicsView KGameRenderer Brian S. Croom
ksame QGraphicsView KGameRenderer Stefan Majewsky
kshisen QWidget libkmahjongg
ksirk QGraphicsView QGraphicsSvgItem and KPixmapCache
kspaceduel QGraphicsView QGraphicsSvgItem
ksquares QGraphicsView N/A N/A
ksudoku QGraphicsView KPixmapCache
ktron QWidget KPixmapCache
ktuberling QGraphicsView QGraphicsSvgItem
kubrick QGLWidget N/A N/A
libkmahjongg N/A QPixmapCache
lskat QGraphicsView PixmapCache (and classes similar to KGameRendererClient)
palapeli QGraphicsView N/A N/A