Search results

  1. Immortius

    ideaTorrent playground set up

    Finally found where to do this, so done for the main repository (tag is "Idea", to follow the existing style). I don't actually have any access to tidy up forums at the moment, so no risk of that. But I imagine Cervator must be a little frazzled by now.
  2. Immortius

    Using JRuby instead of Javascript for modding

    In fact we already have a few interfaces intended for implementation by mods (Component, ComponentSystem and Event come to mind). And in one of my branches reflection is used to register them from the main jar :). And yeah, it would be nice to have these interfaces, and a minimal amount of...
  3. Immortius

    Foreign Art Collection

    I think it is only the grass cubes. But grass is terrain too. So you both are correct.
  4. Immortius

    Foreign Art Collection

    An optimization that can be made with identical (same texture and lighting settings) adjacent square surface (so if you have a bunch of grass blocks next to each other in a flat surface) is you can handle rectangular groups of those squares as one large rectangle (2 triangles) instead of 2...
  5. Immortius

    Inactive Miniion

    I've pushed a fix into develop for this.
  6. Immortius

    Using JRuby instead of Javascript for modding

    Yeah, but you don't need Javascript to achieve that. :P
  7. Immortius

    Using JRuby instead of Javascript for modding

    My original goals with the entity system work was in that direction - having a Java modding API, with mods loaded in a sandbox (using Java's SecurityManager and a custom ClassLoader) using reflection to load up relevant classes and link them up as necessary. This technique can be extended to...
  8. Immortius

    Xenforo! And what to do with it

    Is there a style or setting for Xenforo that fills the screen rather than using just a column in the middle?
  9. Immortius

    Race condition at ChunkProviderer.getChunk?

    In my mind simulations and anything else changing the the world should be limited to only complete chunks, and work either through the world, or possibly subviews of the world (congruent subregions). So they shouldn't be chunk aware, except in needing to know whether an area of the world is...
  10. Immortius

    New Organized & Documented Coding Conventions & Practices?

    By default Eclipse will expand out the imports unless you have 99 imports from the same package (basically, never) - this can be configured in the preferences. IntelliJ's default setting is 5 (and 3 for static imports). I would suggest that since IntelliJ is the preferred development platform...
  11. Immortius

    Screenshots!

    It is. I added it as a test for the mesh import system - it is Blender's test model, so that is what it is for I guess. It should be replaced in the future.
  12. Immortius

    Pictures for woodsspeople :o)

    Creating a texture atlas (combining together the textures for different blocks into a single texture) is a critical performance improvement as it allows the world to be rendered in as few passes as possible. If/when we increase the number of available block ids, the texture atlas will be the...
  13. Immortius

    Inactive Miniion

    You may be getting confused with the (badly named?) OpenInventoryEvent, which is the event for a player/creature to open another inventory (currently chests or minions), which is why two inventory entities are involved. As opposed to just opening the inventory which doesn't use an event at the...
  14. Immortius

    New Organized & Documented Coding Conventions & Practices?

    My opinion - in Java (judging from the core libraries) it is convention to have interfaces with normal names, and then have implementations either with a name suggestive of the nature of the implementation (Map -> HashMap) or sometimes ending with Impl if only one implementation makes sense...
  15. Immortius

    New Organized & Documented Coding Conventions & Practices?

    On switch statements: I think that is a good idea, having each case statement short and calling off to another method. With enums though it can be even better to just put the behavior in the enum and skip the switch statement entirely, although that isn't always possible or sensible. I saw a...
  16. Immortius

    New Organized & Documented Coding Conventions & Practices?

    Alright, if there is no dissent then I move for the adoption of that standard. This means: Follow these naming conventions Have braces around single-line if/for/while statements. The ternary statement should have brackets around the condition expression. Feel free to have extra (unnecessary)...
  17. Immortius

    Race condition at ChunkProviderer.getChunk?

    I'm going to try a slightly different chunk lifecycle - while the one I suggested above was ok, it is apparent from testing that it is important to do as much as possible before generating the initial lighting - sunlight updates are a bit slow (maybe my algorithm is less than ideal, maybe there...
  18. Immortius

    Inactive Miniion

    I think that, combined with some general conventions and generic UI elements with known extension points. If we start with a basic: * Event log on the left * Quick bar on the bottom * Status bar above the Quick bar Then mods should be able to send whatever events into the event log (the...
  19. Immortius

    Optimising

    Optimising
  20. Immortius

    Resolved Help with help command in console

    In Java there's File.seperator. But file is supposed to handle the conversion for you as well, I believe.
Top