Deliantra-Client

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

        - use newer BDB version that works around windows vista tcp/ip
          breakage.
        - initialise the default resolver during startup, as windows vista
          forces us back to the desktop when doing this later(!).

2.02 Wed Dec 24 06:02:53 CET 2008
   	- mark hidden mapspaces visually with a question mark.
        - make hidden spaces as light as the darkest normal spaces.
	- don't lie about the window size anymore in fear of crashing
          the server (as we are dealing with deliantra servers only these days).
        - correctly draw the speech bubbles and other overlays even when the
          topmost face isn't visible.
	- fix swirly tile draw offset.
        - fix a crash when the user clicks on the map during log-in.
        - incorporate tips of the day by botz (former madness).
        - handle failure to load a music face more gracefully (still
          log the error, but do not crash, instead, ignore the failure).
        - try to log, instead of crash, on the "cannot call update method"
          problem.

2.01 - (Mon Dec 15 00:41:33 CET 2008)

Client.xs  view on Meta::CPAN

                                // corners
                                skey.x = x + 2; skey.y = y + 2; smooth_or_bits (smooth, &skey, 0x0100);
                                skey.x = x    ; skey.y = y + 2; smooth_or_bits (smooth, &skey, 0x0200);
                                skey.x = x    ; skey.y = y    ; smooth_or_bits (smooth, &skey, 0x0400);
                                skey.x = x + 2; skey.y = y    ; smooth_or_bits (smooth, &skey, 0x0800);
                              }
                          }

                        if (expect_false (z == 2) && expect_false (cell->flags))
                          {
                            // overlays such as the speech bubble, probably more to come
                            if (cell->flags & 1)
                              {
                                rc_key_t key_ov = key;
                                maptex tex = self->tex [TEXID_SPEECH];
                                rc_array_t *arr;
                                int px = x * T + T * 2 / 32;
                                int py = y * T - T * 6 / 32;

                                key_ov.texname = tex.name;
                                arr = rc_array (rc_ov, &key_ov);

Client.xs  view on Meta::CPAN

            rc_draw (rc);
          }

        rc_draw (rc_ov);
        rc_clear (rc_ov);

        glDisable (GL_BLEND);
        rc_free (rc);
        rc_free (rc_ov);

        // top layer: overlays such as the health bar
        for (y = 0; y < sh; y++)
          if (0 <= y + my && y + my < self->rows)
            {
              maprow *row = self->row + (y + my);

              for (x = 0; x < sw; x++)
                if (row->c0 <= x + mx && x + mx < row->c1)
                  {
                    mapcell *cell = row->col + (x + mx - row->c0);



( run in 0.357 second using v1.01-cache-2.11-cpan-49f99fa48dc )