codifies

Forum Replies Created

Viewing 15 posts - 106 through 120 (of 202 total)
  • Author
    Posts
  • in reply to: Constructor issue. #5805

    codifies
    Participant

    isn’t it…

    = new MyExternalClass(“test”)

    in reply to: AffineMat3 (sin,cos) #5804

    codifies
    Participant

    its what I do, but I haven’t tested it, it might actually be no benefit at all, but benchmarks can often be misleading….

    in reply to: libxmp mod music player #5801

    codifies
    Participant

    no idea, puzzled, works flawlessly here, with Linux, even once using wine… sadly the error message doesn’t even help – rather odd!

    in reply to: libxmp mod music player #5783

    codifies
    Participant

    try it in a path without a space ?

    in reply to: libxmp mod music player #5778

    codifies
    Participant

    okay try this http://www.bedroomcoders.co.uk/tmp/xmp.tar.gz

    Look like I forgot I’d changed some stuff, there is a mojo/openal example, on no account should it be used with SDL (audio)

    in reply to: libxmp mod music player #5771

    codifies
    Participant

    what other sources? and won’t compile gives me no clue with which to help you…

    in reply to: Making Rnd more random. #5746

    codifies
    Participant

    I posted elsewhere a Mersenne (which I eventually fixed!) which I use not for randomness itself (a scatter diagram shows it could be better!) but rather to have a repeatable sequence of numbers (see Elite galaxy generation)

    I implemented it in MX2 code so that it should (hopefully) give the same sequence regardless of platform…

    in reply to: Reflection questions #5706

    codifies
    Participant

    just a question

    [/crayon]

    you are casting something to an interface?

    in reply to: Pyro 2 Map format #5680

    codifies
    Participant

    … I think he’s writing something he wants you to buy… (hence why p2 is free…)

    in reply to: It is called Monkey 2 #5679

    codifies
    Participant

    MX2 is an easy abbreviation M2 is a metric nut size so you’ll just get swamped with irrelevant results…

    in reply to: Line End Marker #5675

    codifies
    Participant
    [/crayon]

    isn’t ideal in terms of readability but yeah, there are times when a number of different statement would be neater on a single line – empty extern methods for example.

    is there any reason that white space couldn’t be more meaningful to the parser for example

    [/crayon]

    there is nothing valid to be had after ) so why not assume the code bock has stated (even on the same line) expressions like the return statement do need some EOL marker because often expressions are more readable with embedded spaces.

    in reply to: trying to implement Mersenne Twister #5639

    codifies
    Participant

    BINGO!

    basically it was an issue with the order of precidence of operations, obviously things are evaluated differently to C / python….

    [/crayon]
    in reply to: trying to implement Mersenne Twister #5638

    codifies
    Participant

    ack I was trying it as short must have missed one, sadly that makes no difference to this issue I described? the index type doesn’t seem to be causing the issue either….

    out of interest why is bitshifting ugly?

    in reply to: What's next #5627

    codifies
    Participant

    Personally I’d love to see better support for C structs (embedded arrays of stucts in structs for example) and having C++ classes as “first class citizens” so on declaring them external (and providing prototypes – probably in header files) you could then use them as if they were (optionally none GC’d) MX2 classes.

    object finalisers would allow module writers to craftily integrate external libraries in a way that would allow safe integration with mx2’s garbage collector, basically by creating shadow lists of children objects for parent objects (thus protecting children until the parent is destroyed) – and there are a number of other corner cases for having finalisers too, although they are not without their potential issues.

    I’d also really like to see 3d physics as an “official” mod, but there’s so much for a one person team that I can’t see it happening in a hurry and for now just using a self made tiny subset of bullet for what I need.

    @scurty from what I remember a lot of the lower level libs are on the whole C (as opposed to C++) with largely simple structures (if any) – ie no array structs inside structs – infact even xlib is quite straight forward even when accessed directly from (for example) python.

    in reply to: FontSprtie editor download #5619

    codifies
    Participant

    What is this Osx and Windows thing? got anything that can run on my boxes ?

Viewing 15 posts - 106 through 120 (of 202 total)