AGS Development > Editor Development

Re: AGS Draconian Edition r7 + HOTFIX (February 13, 2013)

(1/34) > >>

Alan v.Drake:
Instead of making a new thread for every little thing I do, I decided to make one to hold it all.
These changes are still a work in progress, but are safe enough to be used without fear of breaking things up.

AGS Draconian r7 (November 28, 2012) DOWNLOAD (fixed) (Note: this version doesn't have Calin changes to DrawingSurface because the one who requested it had trouble with them)
HOTFIX 2 for DefaultVolume being ignored + Audio not repeating on load (April 11, 2013)

AGS Draconian r6 beta (June 02, 2012) DOWNLOAD
[*] Improved D3D speed at reading the screen (needs further testing)
[*] VSync for D3D on by default
[*] VSync capability for windowed software mode re-enabled (if it does worse to you, just disable it)
[*] Added an enum for directions to ChangeRoom(...) to make your life easier



Improvements to the Editor:
[*] Added vertical indentation guides;
[*] Made the folding a little prettier;
[*] Added #region #endregion to the preprocessor, so you can use it to collapse sections of code (you'll want this, expecially if you have one huge GlobalScript.c);
[*] Obsidian-like theme for the text editor.
 





Improvements to the Engine:
[*] Support for 5 parametes region tinting, syntax is now: Region.Tint(int red, int green, int blue, int saturation, int luminance)
[*] Windowed mode gamma support! Only for brightening, though, because I don't care about darkening and frankly I don't see the point, if you want to do that too, the source is at the usual place.
[*] Fixed the previous issue when displaying tints that were set to regions from the editor.
[*] Added an optional acwin_perspective.exe that handles better characters direction when in perspective, rename it to acwin.exe if you wish to use it (I did not test it with diagonals views).
[*] 256 characters WFN font support without compromising compatibility (we just need an updated FontEdit now)
[*] Improved walking at 60%-80% zoom when using AdjustSpeedWithScaling and MovementLinkedToAnimation;
[*] Sounds generated by Characters' view are now automatically panned relatively to their position on the screen (might add a new flag and make it optional);
[*] AdjustVolumeWithScaling now works for real;
[*] Fixed Scaling on D3D (and now works fine with "Smooth scaled sprites" option)
[*] 3 new DirectDraw filters: Scanlines 2x, TV CRT 4x and PC CRT 4x
 


 

To-do:
[*] Gamma when windowed ? (I might try to emulate gamma control by fiddling with brightness and contrast, which is what modern games supposedly do)
[*] Pixel Shaders, as soon as I understand how to shove them into the equation...



Source: https://github.com/AlanDrake/Adventure-Game-Studio/tree/Draconian

Previous versions

AGS Editor Night theme  (vanilla-compatible): DOWNLOAD.

AGS Draconian r5 beta (April 13, 2012) DOWNLOAD

AGS Draconian r4 (April 06, 2012) DOWNLOAD

AGS Draconian r1: DOWNLOAD
Note: These mods can be used separately, if you only want the improvement on the Scintilla interface only copy "AGS.Controls.dll", if you want to be able to use #region/endregion copy "AGS.CScript.Compiler.dll" or if you're only interested in the engine's change "acwin.exe"



- Alan

monkey_05_06:
Looks sexy. What are these vertical indentation guides??

Do regions show up in the drop-down at the top of the script? I'd very much like them to if nobody else thinks I'm insane for suggesting it. :=

Alan v.Drake:

--- Quote from: monkey_05_06 on 26 Sep 2011, 04:54 ---Looks sexy. What are these vertical indentation guides??

Do regions show up in the drop-down at the top of the script? I'd very much like them to if nobody else thinks I'm insane for suggesting it. :=

--- End quote ---

No they don't show up in the dropdown list.
About the indentation thing look at the picture closely, there are vertical dots between the while brackets, are they too bright ? I didn't want them to bee to much of a eye sore.


- Alan

monkey_05_06:
I see what you mean about the indentation guides. It works (and shows up) especially well when you have multiple levels of indentation.

One thing I've noticed about the regions is that autocomplete is still showing up. I suppose some people might want it to work for preprocessor evaluations, so that their macros will show up, but could you look into disabling it if the first three letters of the line are "#re"?

Also, I'm not sure how easy it might be to modify the Scintilla control's folding further, but I really hate the way that it collapses things. If it's too much work then just ignore me, but the way Visual Studio does it is very nice. Basically it would look more like:[-] void OhMyGod()
 |  {
 |    // fancier folding
[-]  while (true)
 |    {
 |      // Indentation guides
 |-   }
 |- }...and when collapsed...[+] void OhMyGod() [ { ... } ]So instead of collapsing from the opening brace, it would collapse from the corresponding function name or if or while statement, and instead of that hideous line underneath showing that there is hidden code, it would show a greyed out bit of text. Again, if that's not really feasible then just feel free to ignore this bit.

Oh, and more graphics filters! Invent new ones, I don't care, just give me moreeeee! ;D

Oh, oh, and...Dual will love you for making it so he can click on the line numbers to select the text again. He hated the tedious act of having to click on the line, press End, hold Shift, and press Home. I mean, what is this, the Stone Age? :P

Alan v.Drake:

--- Quote ---One thing I've noticed about the regions is that autocomplete is still showing up. I suppose some people might want it to work for preprocessor evaluations, so that their macros will show up, but could you look into disabling it if the first three letters of the line are "#re"?

--- End quote ---

I guess it could be done, but I don't think it's worth the hassle. But if you want to try and do it yourself, the place to look at should be inside ScintillaWrapper.cs, private void ShowAutoCompleteIfAppropriate(int minimumLength)


--- Quote ---So instead of collapsing from the opening brace, it would collapse from the corresponding function name or if or while statement, and instead of that hideous line underneath showing that there is hidden code, it would show a greyed out bit of text. Again, if that's not really feasible then just feel free to ignore this bit.

--- End quote ---

Not feasible, Scintilla can't do that, sorry.


--- Quote ---Oh, and more graphics filters! Invent new ones, I don't care, just give me moreeeee! ;D

--- End quote ---

Suggest a proper one and I shall evaluate.


--- Quote ---Oh, oh, and...Dual will love you for making it so he can click on the line numbers to select the text again. He hated the tedious act of having to click on the line, press End, hold Shift, and press Home. I mean, what is this, the Stone Age? :P

--- End quote ---

What do you mean ? It always worked and still does. Is Duals clicking on the breakpoint area instead of the numbers ?



By the way, I made a dark colored version of the editor for people who aren't too thrilled of coding with white backgrounds.



Download: http://www.mediafire.com/?6r3fw4xtw5dwtoh


- Alan


Navigation

[0] Message Index

[#] Next page

Go to full version