MCP_OBJECT(9)

πŸ’– MCP_OBJECT πŸ’–

okay bestie so we're talking about mcp_object β€” the master control program object β€” and she's serving from the s3d manual, section 9. pull up a chair, this one's short but she's got lore 🫢


✨ NAME ✨

mcp_object β€” master control program object 🌸


🌈 SYNOPSIS 🌈

#include <s3d.h>

that's it. that's the whole vibe. one include and you're in πŸ’…


πŸŽ€ STRUCTURE MEMBERS πŸŽ€

here's the whole struct, bestie, look at her:

struct mcp_object {
     uint32_t object;
     float trans_x;
     float trans_y;
     float trans_z;
     float r;
     char name;
}
  • uint32_t object β€” the object itself, an unsigned 32-bit lil number πŸ“
  • float trans_x β€” translation along x, a float, obvs
  • float trans_y β€” translation along y, also a float ✨
  • float trans_z β€” you guessed it, translation along z, float again
  • float r β€” a float called r. she's just r. iconic, no notes πŸ’…
  • char name β€” a char named name. literally one character. that's the whole name field 😭

πŸ‘‘ DESCRIPTION πŸ‘‘

Deprecated 🚨

no cap, don't use her. she's getting removed soon. the manpage says it herself: don't use, to be removed soon (use struct s3d_but_info). ;)

so like… use struct s3d_but_info instead, bestie. the winky face is doing a LOT of heavy lifting here but she means it fr fr πŸ’€


πŸ¦‹ AUTHOR πŸ¦‹

Simon Wunderlich β€” Author of s3d πŸ’œ


and that's the whole page, my love!! short, sweet, deprecated, and gone soon 🌸 this was MCP_OBJECT(9) from the s3d manual β€” big mwah to the s3d era for this one, she lived, she slayed, she's being removed πŸ’–βœ¨πŸŽ€πŸ«Ά