[Kde-games-devel] Review Request 123950: [kbreakout] Restore debugging/cheat codes

Peter Nowee peter.nowee+kde at gmail.com
Sun May 31 05:51:45 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123950/
-----------------------------------------------------------

Review request for KDE Games and Viranch Mehta.


Bugs: 165171
    http://bugs.kde.org/show_bug.cgi?id=165171


Repository: kbreakout


Description
-------

Restore debugging/cheat codes

This changeset restores the debugging/cheat codes that were left out
of the QtQuick port (version 4.9.90, commits 5043da7 and f8f3491):

* S = Skip level
* L = Add life

These cheat codes are invaluable when designing and testing levels,
as my son likes to do.

Like before, all this will only be available when the KDE_DEBUG
environment variable is true, for example:

    KDE_DEBUG=1 kbreakout

The key shortcuts (default: "S", "L") can now also be configured
through the menu (provided KDE_DEBUG is true).

CCBUG: 165171


Diffs
-----

  src/canvaswidget.h c3ae6a6e5b4119ab6c77bb04fe67863cbe7294cc 
  src/canvaswidget.cpp 341aa16cb573931067d2c7f80be14502c34d23d8 
  src/mainwindow.h a371b4bae1f5b0ecbd9be7055694644dfdb69127 
  src/mainwindow.cpp c3291a01fa79829d43a0b9e910708f1cfb7df3ac 
  src/qml/logic.js c43d0d46ceda523d0e7a14d8ba8bd8b4b73c9767 
  src/qml/main.qml d681ad3b15dcf8a67e873591457b36fe1f58a720 

Diff: https://git.reviewboard.kde.org/r/123950/diff/


Testing
-------

Successfully built using:

* current master of kbreakout (commit 4ad76c6)
* libkdegames 15.04.1

Tested functionality. Everything seems to work as expected.

Tested that without KDE_DEBUG set to true, the cheat keys do not work
and do not show up in Configure Shortcuts.


Thanks,

Peter Nowee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20150531/05beb60e/attachment-0001.html>


More information about the kde-games-devel mailing list