Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 11 May 2007
Offline Last Active May 24 2013 07:06 PM

Posts I've Made

In Topic: Python 3.3.2 Embedding

24 May 2013 - 09:17 AM

I made a modification to the start of the CallPlugIn function



    //PyObject* pluginModule = PyImport_Import(name);
    PyObject* pluginModule = PyImport_ImportModule(PLUGIN_NAME);


It got me further into the function, but the result string is null.

    const char* resultStr = PyBytes_AsString(resultObj);





I tried this code and it got the right result.

    char *cstrret;
    PyArg_Parse(resultObj, "s", &cstrret);


I used this tutorial:




Its the only one I've found that works.


In Topic: Video Game Architecture

01 April 2012 - 07:16 PM

I think it is pretty clear I am referring to the green arrows as an sort of abstraction thing, and not the grey boxes that is the lists and maps etc.

Okay, I see you don't understand the diagram at all. If it is a library like Utility Library, or Math Library, that can be used anywhere and don't rely on anything else, the arrows don't point anywhere, they end just outside their yellow box.

Arrows that extend from one yellow box to another, mean those boxes rely on them. For instance Job Manager needs System Utilities.

If you don't understand something, its better to ask how it works, than to say there is something wrong with it.

I see Eric L. explained it above, better than I did.

In Topic: Video Game Architecture

01 April 2012 - 03:49 PM

I was not talking about the lists, arrays, strings etc. I was talking about the three arrows that point from the Utility Class and points to the System Managers.
So my point is still valid.

From your block comment, you started out by demonstrating, you don't know what Lists, Arrays, Maps, Strings, Hash Tables, Smart Links, Reference Tables, Graphs and Trees are, or how and where they are used. I am not going to explain them to you, you need to take a basic programming class for that. This is stuff everyone knows.

I don't mean to be rude, but its pretty its obvious you haven't the faintest clue, what you are talking about. I am not suprised you don't understand this diagram.

In Topic: Video Game Architecture

01 April 2012 - 02:42 PM

  • Looking at top left corner, the "Utility Library", it has 3 green arrows to something called "System Managers", what this means is not as I said not defined, so I have to "guess" it means some sort of abstraction, that things in the "Utility Library" access "stuff" in "System Managers", probably in a very nested way that they could not draw it.

You really don't know what Lists, Arrays, Maps, Strings, Hash Tables, Smart Links, Reference Tables, Graphs and Trees are???

This is basic 101 stuff, all programmers know.

In Topic: exceptions in agelscript

18 October 2011 - 01:55 AM

Just curious WitchLord, as you are going to add exceptions, what is your opinion of design by contract in AngelScript? For some reason C++ never introduced it, only Digital Mars has it for C++ as far as I know.