You can read and reply to posts and download all mods without registering.
We're an independent and non-profit fan-site. Find out more about us here.
Hi, thanks for update, but I can't use it cause i have this problem. I am not good to use consoles on Windows. Did I do something wrong?
shocked-client --path D:\cdrom\data --path c:\sshock\data
Ok, I tried CD version (from Steam), but now it tells me this. And after that nothing happens.
Question for you if you can answer it for me?
PS the documentation looks like a great resource. Wish I had access to it 3 years ago...
Bitmap headerType = 2??? = 1Width = 70Height = 19Width in bytes (you call this stride) = 70 log2width (width factor) = 6log2height (height factor) = 4left= 0top = 0right = 0bottom = 0
All the sprites in that chunk have the same left,top, right & bottom position values so that idea doesn't seem to work for me when displaying object sprites.Those particular values are set for critter sprites so in all likelihood they are used to keep animation frames pinned to the same spot.
2015 if (bmp->x1 == 0) cx = 0.5 * bmp->width; else cx = bmp->x1;2016 if (bmp->y1 == 0) cy = bmp->height; else cy = bmp->y1;2017 cx *= scale;2018 cy = (cy * scale) - 2.54 * prop->scale;2019 2020 /*2021 * Start populating the surface vertices, at the top left corner which is2022 * also the texture anchor point2023 */2024 tv.x = obj->view.x - cx;2025 if (Option_underworld) tv.y = obj->view.y + scale * bmp->height;2026 else tv.y = obj->view.y + cy;
I'll test a bit more tomorrow as I need to find out if this offset value is changing the world space position of the object or just a change to the pivot point of the sprite.Thanks.