The name of the program is 搜狗拼音输入法,I don`t know what is its English name.
It`s just a program used to input Chinese charactor.So you had not use a program like this.So when you compile Galaxy Editor ,you had not think about it.
I don`t mean that there is something wrong with upgrade or downgrade,I mean I can`t move the text field left or right by using a function key of my mouse ,this function can be used in Ie or other program.
IE is also made my Microsoft. How about notepad++ or something like that. What I fear is that it is some Microsoft specific protocols, in which case it will probably be very difficult for me to add support for it.
Edit: I see that pinyin is not a Microsoft product. I would like to know if it works in a standard edit box. This is why I want you to try and use the Change To Another version feature under help, because that gives an error in the current version. You then get a window where you can write a message. Does the pinyin thingy work in that window?
meaning it forgets the second variable (also, wouldn't it be better/faster to just assign the previous variable to the next, rather than storing the value in an intermediate variable?
for-loops are broken too, increment is done at the end of the while-loop... however, it does not generate increment for continue, so you get an infinite loop.
(also, minor bug with find/replace, it doesn't find the first occurance)
Just your Galaxy Editor do not supply the function key ,all th other programs which I had test supply it.This is why I ask this question.
Or could the Galaxy Editor supply word wrap.My function has to many parameters,and I need move the text field left or right frequently.It`s so troublesome.
And the problem of pinyin input method is also only happen in your Galaxy Editor .Maybe all the problem just because one reason,the different between your text field and others.
PS:Would you want to made a multi-language version.
Just your Galaxy Editor do not supply the function key ,all th other programs which I had test supply it.This is why I ask this question. Or could the Galaxy Editor supply word wrap.My function has to many parameters,and I need move the text field left or right frequently.It`s so troublesome.
The galaxy editor ignores all white space in the input, so you can just put each argument on it's own line. I have made mouse button 4 and 5 scroll horizontally in the next version though. That might have solved it.
It is just because you mention Notepad++. If you put the text of the menu,button and error messages on a xml file just like Notepad++,you may easy got a multi-language version.
This only a suggestion.
Thinks for the support to Chinese user.
@Kueken531: Go
Yeah, I changed the FTP server software, because the previous one was proving to be unreliable. That broke the update feature in the current versions.
I released version 2.0.5 on the ftp and mapster.
Changed FTP server software. It won't send the size of files unless I ask nicely, so the update feature of previous versions doesn't work.
The caret now snaps better to the place where the user pressed.
The editor now scroll horizontally when mouse button 4 and 5 are pressed.
Fixed a bug that made multiple assignments be assigned incorrectly.
Fixed a bug where the update of a for was not executed before a continue statement.
An IME (Input Method Editor) will now be positioned where the caret is.
And then, of course, there are the changes of the small versions that I didn't announce.
v 2.0.3
Fixed a crash when adding new files and not renaming them.
Added an way to downgrade to a previous version
v 2.0.2
Fixed a bug that prevented chinese symbols from being inserted
Fixed the } error.
Added line numbers in error reports.
v 2.0.1
Fixed some array out of bounds error in the editor.
As stated before, you will have to update this one manually.
I just looked into a solution for not restarting SC2 every time you compile, and it seems that it is possible with some minor code injection:
GameSetNextMap("Test/Galaxy++TestMap.SC2Map");
GameOver(1, c_gameOverVictory, false, false);
(and this at the start of InitMap: TriggerDebugWindowOpen(true);)
That will load the specified map... now combine that with TriggerAddEventKeyPressed and voila. The editor can now let you compile and test new maps without exiting StarCraft 2. However, the editor will need to keep track of 2 compiled maps, That it alternates between, when one is locked, it saves to the other, and the two maps sets the other one as "NextMap" (and if none of them are locked, launch StarCraft 2).
Hmm.. I suppose it's possible, but it wouldn't be fully automated. After pressing compile and run, the user would have go go into starcraft and execute some command.
I have sent a mail to blizzard about it. Want to see how they respond first.
@SBeier:
Of course, although, technically you should be able to inject the key press without too much fuss I believe. Anyway, pressing a key (or whatever you choose) is a small price to pay. ;)
Multiple assignments seem rather inefficient:
int a, b, c;
a = b = c = 0;
generates:
byte multipleAssignmentsVariable = 0;
int multipleAssignmentsVariable2;
c = multipleAssignmentsVariable;
multipleAssignmentsVariable2 = multipleAssignmentsVariable;
b = multipleAssignmentsVariable2;
a = multipleAssignmentsVariable2;
when it could be (not optimizing for constants):
c = 0;
b = c;
a = b;
or at the very least should just generate 1 intermediate variable, not two (of different types too).
@syranide2:
Sorry for spamming :P
Anyway, I would really like if you could add support for unpacked SC2Maps... that is, unless you are aware, one can unzip an .SC2Map into a folder of the same name, and still run the map as usual... however with vastly improved support for collaboration.
Really, all you would need to do is accept a path (instead of a file), and just replace MapScript.galaxy in that path and then run the map (I don't even think you need to zip it back up).
I know that a map file is really just a collection of other files.. but how do you open a map which is extracted to a folder in starcraft 2 or the normal editor?
You can save the map as a components list. Open a map file in galaxy, select Save As, select Component List, then you will see. It uses a component list file with the .SC2Components file type.
I dont think you can open it directly with SC2, though, but the editor can open it just fine.
@SBeier:
You just unzip Test.SC2Map (mpq-file) to Test.SC2Map (folder) ... and open it in the editor... that's all there is to it. The editor recognizes folder with the right content as maps. So if you would support that I would be very very happy.
And the editor supports running/testing the map as a folder, I don't believe it zips it up, but that StarCraft 2 supports it too (as it does with mods), that is, MPQ-files acts just as a folder to SC2.
EDIT: Gah, it seems like it actually just zips it up after saving though, so it doesn't seem to solve anything :/
So nevermind my request, although I've found another way to work around it.
I`m sorry to say that it`s invalid what you do about mouse button.
And I find that if there is a line of string longer then the text field , and so that some of the string you can`t see,when you select the string with holding the left button and moving right on the string till close to the right edge of the text field , in other programs just like notepad and Ie,the text field sould automatically move right, but Galaxy Editor do not.This cause that it`s hard to select a long string.
And this is why I ask for the support for the function key of mouse.
You can save the map as a components list. Open a map file in galaxy, select Save As, select Component List, then you will see. It uses a component list file with the .SC2Components file type.
I dont think you can open it directly with SC2, though, but the editor can open it just fine.
Oh I just realized, the reason it zipped the folder back up was apparently because I loaded it as a map, and not the SC2Components-file :S
Anyway, would love support for selecting a custom output directory (compile and run isn't strictly necessary as that can be done via the SC2 editor).
The name of the program is 搜狗拼音输入法,I don`t know what is its English name. It`s just a program used to input Chinese charactor.So you had not use a program like this.So when you compile Galaxy Editor ,you had not think about it.
I don`t mean that there is something wrong with upgrade or downgrade,I mean I can`t move the text field left or right by using a function key of my mouse ,this function can be used in Ie or other program.
IE is also made my Microsoft. How about notepad
++
or something like that. What I fear is that it is some Microsoft specific protocols, in which case it will probably be very difficult for me to add support for it.Edit: I see that pinyin is not a Microsoft product. I would like to know if it works in a standard edit box. This is why I want you to try and use the Change To Another version feature under help, because that gives an error in the current version. You then get a window where you can write a message. Does the pinyin thingy work in that window?
g_rally_inner[0][1][0] = g_rally_inner[1][0][5] = PointFromId(501);
is broken, only first one seems to be set correctly, the second one appears to stay undefined (it works perfectly when split into separate assigns).
it creates this:
multipleAssignmentsVariable = PointFromId(501); g_rally_outer[0][1][0] = multipleAssignmentsVariable;
meaning it forgets the second variable (also, wouldn't it be better/faster to just assign the previous variable to the next, rather than storing the value in an intermediate variable?
for-loops are broken too, increment is done at the end of the while-loop... however, it does not generate increment for continue, so you get an infinite loop.
(also, minor bug with find/replace, it doesn't find the first occurance)
Just your Galaxy Editor do not supply the function key ,all th other programs which I had test supply it.This is why I ask this question. Or could the Galaxy Editor supply word wrap.My function has to many parameters,and I need move the text field left or right frequently.It`s so troublesome.
And the problem of pinyin input method is also only happen in your Galaxy Editor .Maybe all the problem just because one reason,the different between your text field and others.
PS:Would you want to made a multi-language version.
Oh ,I have forgot to say that these two problem happen in all the version of Galaxy Editor I have used.
@syranide2: Go Those bugs must have been there for ages. I'm surprised they weren't discovered before now.
The galaxy editor ignores all white space in the input, so you can just put each argument on it's own line. I have made mouse button 4 and 5 scroll horizontally in the next version though. That might have solved it.
Have all text in Chinese? Sounds a bit tedious, but it's certainly possible. Maybe.
It is just because you mention Notepad++. If you put the text of the menu,button and error messages on a xml file just like Notepad++,you may easy got a multi-language version. This only a suggestion. Thinks for the support to Chinese user.
Well, you did not have THAT many testers ;)
Just tried v2.0.0, Autoupdate showed up instantly, and crashed when I pressed "Yes". Sent the error log.
@Kueken531: Go
Yeah, I changed the FTP server software, because the previous one was proving to be unreliable. That broke the update feature in the current versions.
I released version 2.0.5 on the ftp and mapster.
And then, of course, there are the changes of the small versions that I didn't announce.
v 2.0.3
v 2.0.2
v 2.0.1
As stated before, you will have to update this one manually.
@SBeier: Go
Awesome!
@syranide2: Go
Hmm.. I suppose it's possible, but it wouldn't be fully automated. After pressing compile and run, the user would have go go into starcraft and execute some command.
I have sent a mail to blizzard about it. Want to see how they respond first.
I know that a map file is really just a collection of other files.. but how do you open a map which is extracted to a folder in starcraft 2 or the normal editor?
@SBeier: Go
You can save the map as a components list. Open a map file in galaxy, select Save As, select Component List, then you will see. It uses a component list file with the .SC2Components file type.
I dont think you can open it directly with SC2, though, but the editor can open it just fine.
I`m sorry to say that it`s invalid what you do about mouse button. And I find that if there is a line of string longer then the text field , and so that some of the string you can`t see,when you select the string with holding the left button and moving right on the string till close to the right edge of the text field , in other programs just like notepad and Ie,the text field sould automatically move right, but Galaxy Editor do not.This cause that it`s hard to select a long string. And this is why I ask for the support for the function key of mouse.
Oh I just realized, the reason it zipped the folder back up was apparently because I loaded it as a map, and not the SC2Components-file :S
Anyway, would love support for selecting a custom output directory (compile and run isn't strictly necessary as that can be done via the SC2 editor).