























c++
m_aInputData[0].m_Direction = 1 - rand() % 3; 

sv_pauseable 0 were and are unaffected)























cargo run --bin demo -- in.teehistorian th.map out.demo (If you want to try it out). It prints messages when my physics implementation differs from the replay (rn mostly due to unimplemented features and wrong respawn order). (edited)





cargo run --bin demo -- in.teehistorian th.map out.demo (If you want to try it out). It prints messages when my physics implementation differs from the replay (rn mostly due to unimplemented features and wrong respawn order). (edited)
















Hacker News • 2023-06-30 01:34:58Z 













binds x (edited)dump_binds x) (edited)
bind x now

tune x also prints the current value


























1





std::vector in cases where elements are only inserted at the end of the collection.
Use std::deque in cases where elements are only inserted/deleted at the beginning/end of the collection.
Use std::list in the remaining single case where elements are being removed from arbitrary positions and added at either the beginning or the end of the collection.
Adjust variables names. Don't use separate prefix for std::deques and std::lists, as they are only used very rarely. Clo...













































#[stable(feature = "pin", since = "1.33.0")]
#[lang = "pin"]
#[fundamental]
#[repr(transparent)]
#[derive(Copy, Clone)]
pub struct Pin<P> {
// FIXME(#93176): this field is made `#[unstable] #[doc(hidden)] pub` to:
// - deter downstream users from accessing it (which would be unsound!),
// - let the `pin!` macro access it (such a macro requires using struct
// literal syntax in order to benefit from lifetime extension).
// Long-term, `unsafe` fields or macro hygiene are expected to offer more robust alternatives.
#[unstable(feature = "unsafe_pin_internals", issue = "none")]
#[doc(hidden)]
pub pointer: P,
}



2








Hacker News • 2023-07-01 18:17:21Z 

