Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Dialectics

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Everything posted by Dialectics

  1. @'Genusis': > bitwise and shift operators only work on the bit level. This wont do you any good if you are trying to add data into a byte array. The closest thing you could do to get this to work in to use a memcpy function which can copy each byte into the array of data: https://gitlab.com/ascendingcreations/swift/blob/master/net/source/buffer_stream.c#L162 I'm not even going to bother addressing you. Honestly, educate yourself before you say something quite so dense again. Here's how you can convert a 32 bit integer into a byte array (big endian): byte[] byteArray = new byte[4]; for (int i = 0; i < 4; i++) { bytes _= (byte)(integerToConvert >>> (i * 8)); } You could also simply use Java's ByteBuffer class._
  2. These comments are cringe inducing. Why are you using the PrintWriter? Just pack the data directly into a byte array using simple bitwise and shift operators.
  3. Eclipse being melodramatic as usual. The guy clearly doesn't speak English as a first language, so lay off him. Additionally, while the engine is indeed free and open source, that does not save it from criticism, both constructive and not.
  4. This is a bit creepy.
  5. I'm laughing. I mean, have any of you looked at Eclipse's source code recently? I mean, honestly? Netgore's source is bad, but there are only one or two people here who have the authority to make such a judgement.
  6. @'abhi2011': > From what I've heard people say, NetGore was a poorly written Engine. Even though it had features, it's codebase wasn't good and hence, wasn't very successful. Decent code base. It's just a bit too much for the average Eclipsian to grasp.
  7. Ooh, forgot about a two games that I'd love to replay for the first time: Medal of Honor Frontline & Rising Sun
  8. @'Marsh': > https://www.dropbox.com/s/24rt73os749iier/Pokemon%20Engine.zip?dl=0 Upload it to Github. If you don't want to, I'm sure someone else wouldn't mind. Also, Sherwin, under what license did you transfer it to Marsh? Full rights?
  9. When will you people learn not to publicly expose fields, especially when they are collections.
  10. Why are so many things globally accessible (i.e., public and static)?
  11. ``` Int32 var3 = default(Int32); ``` **See:** 8.2.1 of ECMA-334 C# language specification. You should be using the predefined types rather than directly referencing the primitive data structures. For example, if you were to attempt to implement the following code: ``` public class WeirdInteger : Int32 { } ``` you would be unable to, as the language forbids the deriving of a type from a struct. There are arguments for the explicit use of, say, Int32, but they would not be relevant in this particular case.
×
×
  • Create New...