![]() |
#1 |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
NPPAngband/NPPMoria QT port
The NPP Angband QT port now has a gihub page for its extremely modest start. There is not much to see so far. It just opens a basic window, makes a top menu, and a file menu for starting new games, opening, closing and saving game files, including a 5 most recently played characters section. The classic Angband start screen with the author and copyright information now appears in a dialog box under the "about" section. The open and save-as commands use the standard load/save widget that would found in any modern program, even though right now it just opens and closes simple .txt files.
https://github.com/nppangband/NPPAngband_QT One major change so far: This port will give the player the ability to save and close a character, then open a new one without having to exit and re-start the game. As stated in other threads, my goal is to build a modern port of NPP using QT and C++ with modern menus and dialog boxes that should be easily used by Angband and other variants. Angband is a great game that basically runs off of a 25 year old custom-built game engine and game library designed for computers with the capabilities of 6-7 generations ago. I am trying to bring it up-to-date, give it a modern UI, and reduce the learning curve for new players, and eventually make a version playable on tablets. I think more than half of the source code will be eliminated and/or replaced before I am done.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/ Source code repository: https://github.com/nppangband/NPPAngband_QT Downloads: https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57 |
![]() |
![]() |
![]() |
#2 | ||
Angband Devteam member
|
Quote:
Quote:
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila |
||
![]() |
![]() |
![]() |
#3 | |
Prophet
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
![]() |
Quote:
__________________
www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012. My banding life on Buzzkill's ladder. |
|
![]() |
![]() |
![]() |
#4 | ||
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Quote:
Fortunately, memory management is a little easier in C++ than in C, and QT Creator (the QT editor) includes Valgrind, so it seems achievable. Quote:
Nick and I have borrowed a lot of code from each other over the years. I don't think this will stop any time soon. Also, AnonymousHero is working on a QT port for a version of TOME. I am sure some of his work will make it into my codebase as well. @AnonymousHero - please feel free to hijack this thread occasionally to talk about what you are working on.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/ Source code repository: https://github.com/nppangband/NPPAngband_QT Downloads: https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57 Last edited by nppangband; December 28, 2013 at 20:23. |
||
![]() |
![]() |
![]() |
#5 | |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Quote:
Oh, and Buzzkill, I should have mentioned that when I get around to tiles I will probably break up the tileset into hundreds of individual 32x32 files and load them at startup with a pre-set naming convention. That should make it easy to edit tiles and free us of all the mapping difficulties.
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/ Source code repository: https://github.com/nppangband/NPPAngband_QT Downloads: https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57 |
|
![]() |
![]() |
![]() |
#6 | ||
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,525
Donated: $60
![]() ![]() |
Quote:
Quote:
Or else I'll revert to type and pinch the lot from Jeff ![]()
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
||
![]() |
![]() |
![]() |
#7 | |
Prophet
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
![]() |
Quote:
__________________
www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012. My banding life on Buzzkill's ladder. |
|
![]() |
![]() |
![]() |
#8 | |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Quote:
Gluesprites just splits them up, right? Does it give the user any control over the names each file is called?
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/ Source code repository: https://github.com/nppangband/NPPAngband_QT Downloads: https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57 |
|
![]() |
![]() |
![]() |
#9 | |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Quote:
The switch to QT and C++ is definitely a commitment. I think it will work well but there is no going back. For example, all 'char' variables are being changed to QChar, all strings will be changes to QString, and all msg_print, msg_format, etc will be torn up as well. But it is nice. QT takes care of all buffer overflow issues, so you don't even have to declare length of strings. For example, instead of adding to a string with something like: mystrcat(mon_desc, "resists fire", sizeof(mon_desc)); is simply: mon_name.append = (" resists fire");
__________________
NPPAngband current home page: http://nppangband.bitshepherd.net/ Source code repository: https://github.com/nppangband/NPPAngband_QT Downloads: https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57 |
|
![]() |
![]() |
![]() |
#10 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,525
Donated: $60
![]() ![]() |
Quote:
![]()
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Final NPPMoria and NPPAngband 7.1.0 released | nppangband | Variants | 8 | January 30, 2014 10:55 |
Final NPPMoria and NPPAngband 7.0.0 released! | nppangband | Variants | 34 | September 6, 2013 22:21 |
NPPMoria Competition | Wraitheist | Variants | 5 | September 3, 2013 17:10 |
NPPAngband and NPPMoria 7.0.0 beta-1 released! | nppangband | Variants | 15 | May 9, 2013 21:26 |
OpenGL port | BreathesFire | Development | 2 | November 3, 2011 07:22 |