Re: A Map Editor
Posted: 22 Apr 2010, 06:10
deleted
There is a big difference between "worth using for a new project" and "worth porting away from."Emdek wrote:After using .NET for two years (desktop applications and for PDA too) I can say that's not worth using.
There are big flaws like for example locale dependent reading of floating numbers from files (in some locales instead of dot char is used comma, in one locale it will cause to lose part after it in another crash).
Another thing are harder to do translations (Qt has built in framework).
Next are additional dependencies (in case of Qt there might be need to add library for ZIP compression but could be done also using built in functions probably).
Next, slowness, mostly visible on older hardware.
Also, unclear licensing of .NET technology (many, or maybe even all, parts of it are patented).
Etc. etc.
Sure, but this doesn't mean that it's always bad idea.EvilGuru wrote:There is a big difference between "worth using for a new project" and "worth porting away from."
Also when reading and writing XML files? Thats nonsense... It's not compatible with anything outside .NET so it could work as really expected, not for strange kind of backward compatibility...EvilGuru wrote:The locale-dependant interpretation of floating point numbers is inherited from C/C++ (see man strtod or the STL documentation). Completely standard --- and usually what you want.
Yes, .NET is fault, it's architecture (would be useful it would really would be used as it was meant to be...).EvilGuru wrote:The slowness may well be a problem today. I'm not sure. It may be .NET is at fault, it may be the OpenGL driver. Either way we can not solve the problem today. In 6 months? Quite possibly. But hardware is a moving target -- in the months it takes us to port/optimise the specification of the average machine has improved.
So where is billionaire who patented drawing lines?EvilGuru wrote:Virtually every piece of interesting technology, be it the 2D drawing in Qt/Cairo, 3D texture compression, ..., is patented by someone somewhere. Don't worry about it. Certainly not a valid case for not using a piece of technology in an open source program.
For sure I'll not work on.NET platform code, especially VB, sot this in worst case could be duplication of effort but should not have big impact on current work.EvilGuru wrote:If you (or anyone, really) could produce a viable Qt port in a few weeks, then maybe I would agree with you. However, this is the first viable map editor to come into fruition in six years. If it was simple it would've been done already. Any port will be non-trivial and risks forking the development.
So while I may agree with you on some technical points (I, myself, prefer C++ and Qt to .NET, but then again, I am not doing any of the work), I do not feel it is economically viable to fork the application just for this. Lets work on what we have as opposed to what we want.
Flail, if possible, can you do some simple error checks to prevent this from going on?Flail13 wrote:
Code: Select all
error |11:05:55: [buildFeature] Oil Resource(25) already placed at (115+1, 120+1) when trying to place Oil Resource(162192) at (115+1, 120+1) - removing it
error |11:05:55: [buildStructure] Player 2 (AI): is building A0CommandCentre at (113, 38) but found A0CommandCentre already at (113, 38)
I thought Zarel fixed that on my request...Buginator wrote:Flail, if possible, can you do some simple error checks to prevent this from going on?
Basically, it seems to be possible to place things on top of each other.Code: Select all
error |11:05:55: [buildFeature] Oil Resource(25) already placed at (115+1, 120+1) when trying to place Oil Resource(162192) at (115+1, 120+1) - removing it error |11:05:55: [buildStructure] Player 2 (AI): is building A0CommandCentre at (113, 38) but found A0CommandCentre already at (113, 38)
I said I was planning on it. :/KukY wrote:I thought Zarel fixed that on my request...
You fixed it. I know.Zarel wrote:I said I was planning on it. :/KukY wrote:I thought Zarel fixed that on my request...
Multiple units on same place are enabled.BlueMaxima wrote:And units.
Zarel wrote:I said I was planning on it. :/KukY wrote:I thought Zarel fixed that on my request...
We really should not be fixing things that are clearly wrong... We need to complain loudly for whoever made it to fix it.KukY wrote:You fixed it. I know.
Oh, wait.
I looked at code changes then, and I remember that you only fixed overlapping features, not structures.