Time to talk about wxZDL

Stuff you want Bio to see. [Home]

Moderator: BioHazard

User avatar
Risen
Posts: 39
Joined: Fri Sep 02, 2005 17:48
Contact:

Post by Risen »

I'd be just as happy typing +map into the parameters bar. That box only saves 5 characters of typing, which amounts to about nothing.
User avatar
BioHazard
Posts: 408
Joined: Mon Jul 25, 2005 10:02
Location: Middle of California where there is no air.
Contact:

Post by BioHazard »

If I could can both warp and skill, that would eliminate the major problem with supporting other engines.
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

I'm fine with having the warp field just be a text entry box.
User avatar
Doomguy0505
Posts: 40
Joined: Fri Jul 08, 2005 11:07

Post by Doomguy0505 »

Has there been any development on this yet?
User avatar
grubber
Site Founder
Posts: 230
Joined: Wed Jun 29, 2005 18:57
Location: Czech Republic, Zlin
Contact:

Post by grubber »

Slightly off-topic: Now that I had the pleasure to work with Qt4 I must say it's better than wxWidgets in most (if not all) aspects.
User avatar
Doomguy0505
Posts: 40
Joined: Fri Jul 08, 2005 11:07

Post by Doomguy0505 »

Having a look at that, do you have to pay for it? There's not much other reasons that it would say "Evaluation version"
User avatar
grubber
Site Founder
Posts: 230
Joined: Wed Jun 29, 2005 18:57
Location: Czech Republic, Zlin
Contact:

Post by grubber »

Older Qts were paid for Windows, Qt4 isn't (for GPL software).
User avatar
Doomguy0505
Posts: 40
Joined: Fri Jul 08, 2005 11:07

Post by Doomguy0505 »

Since it seems wxZDL has stopped progress, so I guess I might as well make my own version in Boa Constructor.
User avatar
BioHazard
Posts: 408
Joined: Mon Jul 25, 2005 10:02
Location: Middle of California where there is no air.
Contact:

Post by BioHazard »

Hey everyone. Now that I'm back from the grave, it's time to catch up on posts.

wxZDL may still happen, but I'm much more likely to write the next ZDL in GTK+ or GTKmm.

If Grubber wants to write a copy in QT, that's excellent. That would cover the KDE crowd and I could get the GNOME people. I'm not sure what to say about Win32ZDL. I'm not capable of working on Windows programs any longer as I don't have any windows machines.
I'm really sorry I haven't managed to get the source out yet. I fully intend to GPL the code, I'm just working on getting a server. I'm really close to getting hold of one, I just have to work on it a bit longer. (who has heard that before? :? )
User avatar
Risen
Posts: 39
Joined: Fri Sep 02, 2005 17:48
Contact:

Post by Risen »

Maybe I can tackle Win32 ZDL. Honestly, it shouldn't take too much work, should it?
User avatar
BioHazard
Posts: 408
Joined: Mon Jul 25, 2005 10:02
Location: Middle of California where there is no air.
Contact:

Post by BioHazard »

Well, the current state of the ZDL source is a bit shaky. I was adding/fixing a feature when I got sidetracked. I'm not even sure what feature it was so I don't know where to look.

If you try to compile it with VC6, it should work. I don't know about MinGW or VCwhatever>6. If you can't get it compiled, post the errors and I'll try to make up an answer for you.


About working on it. Be aware you have to like pointers. I understand them deeply and hacked them to bits to do what I wanted.
Also, I wrote that back in the days when I could understand badly-formatted code. It's not uncommon to see lines like:

Code: Select all

if((i=SendMessage(GetDlgItem(dlg,q),LB_GETCURSEL,0,0))!=LB_ERR&&i!=SendMessage(GetDlgItem(dlg,q),LB_GETCOUNT,0,0)-1){tmpi=item[i+1];item[i+1]=item[i];item[i]=tmpi;}
or blocks that look like:

Code: Select all

	i=(strlen(section)+3)*sizeof(char);
	memset((sct=malloc(i)),0,i);
	strcpy(sct,"[");strcat(sct,section);strcat(sct,"]"); // make [sct] = "[*section*]"
	i=(strlen(entry)+2)*sizeof(char);
	memset((key=malloc(i)),0,i);
	strcpy(key,entry);strcat(key,"="); // make [key] = "*entry*="
	i=(strlen((strlen(sct)>strlen(key))?(sct):(key))+1)*sizeof(char);
	memset((tmp=malloc(i)),0,i);
	// Get to the proper section
	do{fgets(tmp,strlen(sct)+1,fptr);
		if(feof(fptr)){i=-2;goto exit;} // Die if [section] can't be found
	}while(strcmp(tmp,sct));
	// Find the right entry
	do{fgets(tmp,strlen(key)+1,fptr);
		if(feof(fptr)||tmp[0]=='['){i=-3;goto exit;} // Die if [entry] can't be found in [section]
	}while(strcmp(tmp,key));
Sorry. I'm better now. I promise.
(EDIT: Actually, now that I look at it, that's only a little worse than KwikStrip's drawing code.)

Like I said, I'll have the code out eventually, then you can all take it apart to do what you want.
User avatar
grubber
Site Founder
Posts: 230
Joined: Wed Jun 29, 2005 18:57
Location: Czech Republic, Zlin
Contact:

Post by grubber »

@BioHazard: I use GNOME too and Qt4 looks good in it plus it's available for Windows, so I believe it's the right choice ;). Try it when you have some time.
User avatar
solarsnowfall
Persecution Complex
Posts: 363
Joined: Fri Aug 05, 2005 8:51

Post by solarsnowfall »

Oh wow. Good to see you're still kicking Bio!
QBasicer
Posts: 22
Joined: Sun Nov 13, 2005 23:18

Post by QBasicer »

ZDLSharp is still around, and I'm going to continue development soon. THe second rising of ZDL?
User avatar
BioHazard
Posts: 408
Joined: Mon Jul 25, 2005 10:02
Location: Middle of California where there is no air.
Contact:

Post by BioHazard »

Heh, when I get my SVN service up, I'll have to make a ZDL meta-repository for all the different versions. :)

svn://bio.vectec.net/svn/
ZDL/Classic
ZDL/dotNET
ZDL/wx
ZDL/GTKmm
ZDL/GTK+
ZDL/QT4

All we'd need is Java and Python to complete the list! :D
I'll totally set that up when I get a good server up...
Locked

Return to “Bio's Site-Place”