[CF-Devel] Java Editor Questions/Notes

Michael Toennies michael.toennies at nord-com.net
Mon Jul 16 22:24:20 CDT 2001


Uh. sorry for the late answer, i missed to send this before.



>
     
       I tried firing up the java editor and have a few questions/notes.
     
     >
     
     
     >
     
       First, I'm using JDK 1.4 beta, so I did need to recompile.  Once
     
     >
     
      that was done,
     
     >
     
      I was able to run it just fine.
     
     
Yes, i use jdk 1.3. As i know from the past, the different packages
of java are not compatible. Sadly , you can often start jar files compiled
with older packages,
and first its looks they work, but fast you will encounter strange runtime
effects.
So, its really nessecary to include in the docs which packages was used for
a jar file, so the
user can recompile the source if needed.

>
     
       I notice a lot of the images have bogus transperencies (instead
     
     >
     
      of having a
     
     >
     
      transperency, it has a dark blue/black one instead), but quite a
     
     >
     
      few work just
     
     >
     
      fine.
     
     
The native png loader from sun is broken and has real problems with many
pngs.
16 color pngs are really a  problem for it.
I got a png lib called "sixlegs png lib". The old version of this has
problems too but i had
contact the author and we had done some tests. The last version is much
faster as the native png
loader, use only a few more mbs and has only problems with 1 or 2 of the
3500 pngs.

>
     
       I was also unable to select on anything in the map window once I
     
     >
     
      loaded a map.
     
     >
     
      The tracking information (mouse position and relative x,y values
     
     >
     
      on the map) at
     
     >
     
      the bottom of the screen appeared correct, but clicking any of
     
     >
     
      the mouse buttons
     
     >
     
      did not do anything.  I was able to click on the object type
     
     >
     
      tabs, and then the
     
     >
     
      objects within those tabs themselves, so it does appear the the
     
     >
     
      app is at least
     
     >
     
      getting some of the clicks.  Anyone know what to do to fix this?
     
     >
     
     
     >
     
       I like the view options (show monster, show exit).  I would
     
     >
     
      suggest that a
     
     >
     
      'clear all' option may be in order - if you've selected a few and
     
     >
     
      now want to go
     
     >
     
      back to see everything, but able to do that quickly would be nice.
     
     
AV has improved here some code...

>
     
       Any plans to make let the editor load from the built versions of
     
     >
     
      the archetype
     
     >
     
      and .png file?  I would guess that would make start time quite a
     
     >
     
      bick quicker.
     
     >
     
      It also means that if the user already has the server
     
     >
     
      distribution with those
     
     >
     
      files and does not plan to make any archetype changes, they can use those
     
     >
     
      instead of needing to download the arch distribution in addition
     
     >
     
      to what they
     
     >
     
      have.
     
     
Yes, i plan to him load from packed files. With the sixleg lib, this should
be possible
(to load the pngs from one big file).

>
     
       Minor point - if the user selects a multi part object from the
     
     >
     
      selection list,
     
     >
     
      perhaps show the full sized piece in the information pain below
     
     >
     
      that are (that
     
     >
     
      one that lists the name, type, etc) if there is space?
     
     
This can be inserted in the quick view panel left bottom area.
Because i plan longer to make this 1 image for multi tiles i had not
included here
this. Also, its some work to implement it for iso & normal view both.


>
     
       All in all, it looks pretty solid.  I just need to figure out how I can
     
     >
     
      insert/delete/change things and then I could play around with it more.
     
     >
     
      _______________________________________________
     
     >
     
      crossfire-devel mailing list
     
     >
     
     
      crossfire-devel at lists.real-time.com
      
      
     >
     
     
      https://mailman.real-time.com/mailman/listinfo/crossfire-devel
      
      
     >
     
     
     
    


More information about the crossfire mailing list