The "Ctrl Z" Thingy is DUMB

  • Emo
    24th Jul 2011 Member 0 Permalink
    That would be cool like if u made several mistakes...ctrl z ctrl z and so on, also i can't save saves it says "NO REPLY FROM SERVER" anyone know what that is?
  • Alpha-Destructor
    24th Jul 2011 Member 0 Permalink
    This has got a problem, BIG PROBLEM
    Only recognise the normal line, NO SQUARES, NO LINES if you make a pixel and next 300 squares and make the redo, it returns to the original pixel is a very very big problem
  • vanquish349
    24th Jul 2011 Member 0 Permalink
    it goes back to the last step you did, the step is recorded when ever you draw a particle(excludes lines and boxes)
  • user25
    24th Jul 2011 Member 0 Permalink
    But it should include decor, because countless times i have made a box of xolor on decor then tried to zoom too fast nand LOST EVERYTHING! Once I lost 2 hours work.
  • MasterMind555
    24th Jul 2011 Member 0 Permalink

    Emo:

    That would be cool like if u made several mistakes...ctrl z ctrl z and so on, also i can't save saves it says "NO REPLY FROM SERVER" anyone know what that is?

    There's a heckload of other threads asking that, just go there.

    Don't make threads to fail, go to another thread and fail in group
  • user25
    24th Jul 2011 Member 0 Permalink
    Group Failure!
    image
    YAY!
  • Emo
    24th Jul 2011 Member 0 Permalink
    *Sigh* The feeling of fail....always makes me want to SMILE XP
  • boxmein
    24th Jul 2011 Former Staff 0 Permalink
    @Emo, I see you got excellent tolerance to failure. Also, the CTRL-Z utility is shown below: (@/Simon/ , please make some sort of spoiler code added to the server via a [spoiler] tag! link


    if (sdl_key=='z'&&(sdl_mod & (KMOD_LCTRL|KMOD_RCTRL))) // Undo
    {
    int cbx, cby, cbi;
    for (cbi=0; cbi parts[cbi] = cb_parts[cbi];
    for (cby = 0; cby for (cbx = 0; cbx pmap[cby][cbx] = cb_pmap[cby][cbx];
    for (cby = 0; cby<(YRES/CELL); cby++)<br /> for (cbx = 0; cbx<(XRES/CELL); cbx++)<br /> {
    vx[cby][cbx] = cb_vx[cby][cbx];
    vy[cby][cbx] = cb_vy[cby][cbx];
    pv[cby][cbx] = cb_pv[cby][cbx];
    hv[cby][cbx] = cb_hv[cby][cbx];
    bmap[cby][cbx] = cb_bmap[cby][cbx];
    emap[cby][cbx] = cb_emap[cby][cbx];
    }
    }
    }
    Below is the undo-preparer code(makes copies of the world)
    else //normal click, spawn element
    {
    //Copy state before drawing any particles (for undo)
    int cbx, cby, cbi;

    for (cbi=0; cbi cb_parts[cbi] = parts[cbi];

    for (cby = 0; cby for (cbx = 0; cbx cb_pmap[cby][cbx] = pmap[cby][cbx];

    for (cby = 0; cby<(YRES/CELL); cby++)<br /> for (cbx = 0; cbx<(XRES/CELL); cbx++)<br /> {
    cb_vx[cby][cbx] = vx[cby][cbx];
    cb_vy[cby][cbx] = vy[cby][cbx];
    cb_pv[cby][cbx] = pv[cby][cbx];
    cb_hv[cby][cbx] = hv[cby][cbx];
    cb_bmap[cby][cbx] = bmap[cby][cbx];
    cb_emap[cby][cbx] = emap[cby][cbx];
    }
    create_parts(x, y, bsx, bsy, c);
    lx = x;
    ly = y;
    lb = b;
    lm = 0;
    }
    }
    }
    }
  • cooldaddy96
    24th Jul 2011 Member 0 Permalink
    Simple: don't use it.
  • Catelite
    24th Jul 2011 Former Staff 0 Permalink
    Or simple. Let go of the draw key every once in a while. :P

    The undo function will take you back to the last time you clicked with the mouse key, so it's extremely easy to use it effectively, but just randomly pressing it with a mistake won't work unless you've clicked at some point earlier.
Locked by Catelite: The Ctrl Z tool could use a more intuitive keypress. It's been thought over before, but jeeze, just use stamps. -_-