Coder Social home page Coder Social logo

talv / plaxtony Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 4.0 1.15 MB

Set of libraries to work with StarCraft II map files: Galaxy Script, Triggers scheme, Game Data XML.

License: MIT License

JavaScript 0.50% TypeScript 99.50%
starcraft-ii galaxy-script galaxy trigger parsing

plaxtony's People

Contributors

talv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

plaxtony's Issues

disable autocomplete inside comments

[12:54 AM] folk: @Talv also, if you can write down "disable autocomplete inside comments" in your vscode ext todo please :P
[12:54 AM] folk: every time I write a ., it goes crazy

global static variables take the precedence over function scoped variables

[9:08 PM] folk: @Talv seems I've located a weird namespacing problem in the galaxy interpreter, where 
int[3] foo;
void bar(int foo) {
    int zed;
    zed = foo;
}
[9:08 PM] folk: will try to assign the outer foo, according to sc2edit, and thus it fails to compile it
[9:09 PM] folk: obviously I've no idea if the actual engine would, or even if the compiler used in sc2edit is the same one or not
[9:10 PM] folk: should be noted that in my actual code both the outer foo and the function are static
[1:34 PM] Talv: yeah, it does seem to happen only when outter variable is static - it seems to take the priority O.o
[1:35 PM] Talv: in this specific case it's not harmful since type miss matches and you get insta error
[1:35 PM] Talv: but I imagine it would be problematic if both parameter and global var would be of the same type
[1:35 PM] Talv: it would compile nicely but you'd get unexpected results ;D

https://discordapp.com/channels/271701880885870594/410894496570671117/548596985268273153

static int[3] foo;
void bar(int foo) {
    int zed;
    zed = foo;
}

error: bulk copy not supported

if in return check

int func() { if(true) { if(true) { return 0; } else { return 1; } } else { return 2; } }

Get a error with the message "Expected return statement"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.