[Kde-games-devel] Review Request 123950: [kbreakout] Restore debugging/cheat codes
Peter Nowee
peter.nowee+kde at gmail.com
Fri Jul 3 21:10:42 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123950/
-----------------------------------------------------------
(Updated July 3, 2015, 9:10 p.m.)
Status
------
This change has been marked as submitted.
Review request for KDE Games and Viranch Mehta.
Changes
-------
Submitted with commit 37588239823a58f9e58446fb8ae3ce7db898abdd by Albert Astals Cid on behalf of Peter Nowee to branch master.
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/20150703/23677333/attachment.html>
More information about the kde-games-devel
mailing list