This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [SHOWOFF] NoggitWin32/SDL  (Read 3692 times)

Valium

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
[SHOWOFF] NoggitWin32/SDL
« on: April 09, 2013, 08:42:51 am »


Frustrated by the lack of qt development, and in collaboration with my hatred of qt, I present a screenshot of a little something I'm working on.  No need for qt when we have native controls.  Not like anyone uses a mac anyways lolz.(Sorry guys, I just don't have one to develop on.  If anyone wants to donate one, I'll gladly get it compiling on osx.)

I still have to get the rest of the buttons in, and strip out the crappy SDL controls (which apparently, the reason for the switch to qt is because you have to manually draw all the controls with SDL, which we windows folks are cool with anyways, that's just common practice.)  In the end, I hope to have something that uhh... looks different but works pretty much the same?  Why am I doing this again?
« Last Edit: April 09, 2013, 10:26:45 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [SHOWOFF] NoggitWin32/SDL
« Reply #1 on: April 09, 2013, 10:14:03 am »
Stupid decition and the reason i did not gave away SDL source.


Again wasted resources in somehting unneeded.
And people ask me why the wow szene dont work?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Valium

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [SHOWOFF] NoggitWin32/SDL
« Reply #2 on: April 09, 2013, 10:24:56 am »
Well, you may call it stupid, and I'll accept that.

But I'll disagree on wasted resources.  I am at least doing something that I think will improve upon Noggit.  I simply don't see a need for qt.  
Honestly, what are the benefits of using qt with noggit?  What was so wrong with SDL that it needed to be replaced?  I think it is almost self evident from the lack of contributions to the repo that either qt is something that people find to difficult to deal with, or simply don't know how to use.  You have said that Noggit SDL 1.2 works fine, then why not build off of that?

I'm not asking these questions to troll, I'm asking because I don't know.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [SHOWOFF] NoggitWin32/SDL
« Reply #3 on: April 09, 2013, 11:09:01 am »
The lack of contributions is not caused by qt but rather a result of steff doing other things and me not caring anymore.
Reproducing the screenshot you made is a ten minute job on any windowing framework, no matter if cocoa, win32, qt, wx and most likely even ncurses. The problem noggit is having is not the UI being ugly, but rather the whole code being ugly. If you will continue your development, you will see  lot of places where the UI is just hacked onto existing code from wowmapviewer. Hacking win32 onto that will not improve anything.
Also, I'm on a mac and hate projects I maintained for multiple years to suddenly become platform specific, even disallowing myself to use them.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Valium

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [SHOWOFF] NoggitWin32/SDL
« Reply #4 on: April 09, 2013, 11:46:58 am »
Quote from: "schlumpf"
The lack of contributions is not caused by qt but rather a result of steff doing other things and me not caring anymore.
That I can understand.
Quote from: "schlumpf"
Reproducing the screenshot you made is a ten minute job on any windowing framework, no matter if cocoa, win32, qt, wx and most likely even ncurses. The problem noggit is having is not the UI being ugly, but rather the whole code being ugly. If you will continue your development, you will see  lot of places where the UI is just hacked onto existing code from wowmapviewer. Hacking win32 onto that will not improve anything.
Possibly not, but then, I may be able to clean some of it up even.  The worst that can happen is I end up making a complete mess of it.
Quote from: "schlumpf"
Also, I'm on a mac and hate projects I maintained for multiple years to suddenly become platform specific, even disallowing myself to use them.
 This I understand 100%.  My intent is not to make it platform specific at all.  My intent is to at the very least, clean up the UI.  There is the very real possibility that I'll have access to a mac and have it compiling on both.  Yes, I get that it means lots of extra time and code, particularly since it would mean dealing with completely seperate window managers.

Understand of course, that isn't meant to downplay any of the progress that has been made on noggit-qt, I've read the commit logs, it's some excellent work.  Also understand please that last year when I talked to steff and a couple others in IRC about how exactly it was that I managed to get the noggit-SDL source, I was asked not to share it or how I got it, and I have respected that request..  In the event that I thought I had something functional worth sharing, the only people I would be sending code to would be Steff, or you, if you wanted it.

To tell the truth, II'm not even super attached to the Win32 part of it.  And it would probably be a hell of a lot easier just to make the changes in the existing code, a route that I just may take in fact.  I don't know yet.

I'm just trying to make the project better in the ways I think it could be improved, by doing the things I can.  This is just a hobby for me, I do it because I enjoy it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [SHOWOFF] NoggitWin32/SDL
« Reply #5 on: April 09, 2013, 11:51:40 am »
Just work on the Qt version. Really. Nothing else makes sense at all.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [SHOWOFF] NoggitWin32/SDL
« Reply #6 on: April 09, 2013, 01:16:29 pm »
Or if you wan to contribute join cromons SharpWoW Its in c# and only windows. And much cleaner code base.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

detonatorss

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 233
    • View Profile
Re: [SHOWOFF] NoggitWin32/SDL
« Reply #7 on: April 09, 2013, 06:38:20 pm »
i have a little question can you help me i know how to compile the noggit but where i have to put the boostht? i am really angry with the shit of the cmake
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Desktop


Laptop

Valium

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [SHOWOFF] NoggitWin32/SDL
« Reply #8 on: April 09, 2013, 09:44:58 pm »
Quote from: "detonatorss"
i have a little question can you help me i know how to compile the noggit but where i have to put the boostht? i am really angry with the shit of the cmake
What revision are you trying to compile?

I had to put the boost include directory in manually.


I woke up this morning and realized that while an interesting excursion, doing the win32 stuff really is pointless.  not much to be achieved there.

So I'm currently compiling the latest qt revision, hoping for good things.

***Compile is done, now which of the qt dlls should I copy over?  <-- Nevermind.

Hmm, having a bit of a issue on startup, I hope its not due to debug version.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

detonatorss

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 233
    • View Profile
Re: [SHOWOFF] NoggitWin32/SDL
« Reply #9 on: April 09, 2013, 11:12:23 pm »
no the little problem, is the boost i don't know how to define the path, can you help me?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Desktop


Laptop

Valium

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [SHOWOFF] NoggitWin32/SDL
« Reply #10 on: April 09, 2013, 11:40:10 pm »
Quote from: "detonatorss"
no the little problem, is the boost i don't know how to define the path, can you help me?
Make a new thread for this please.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »