lol idk #1

Open
Quaternions wants to merge 825 commits from StrafesNET/strafe-project:master into master

825 Commits

Author SHA1 Message Date
2f26662dda it: drop strafe-client::file dependency 2025-01-22 09:37:16 -08:00
6f739dba8d add integration testing 2025-01-22 09:36:35 -08:00
2eaddd493d session: use replay directory 2025-01-22 08:57:15 -08:00
d5a6f8e1bc compute UserSettings from directories 2025-01-22 08:54:05 -08:00
95fb43b908 settings: implement directories 2025-01-22 08:52:27 -08:00
3e814cb41a settings: add directories dep 2025-01-22 07:47:41 -08:00
ea854a548f Update README.md 2025-01-22 07:10:04 -08:00
5f2cf8f32e physics: change body api 2025-01-22 07:00:42 -08:00
b6b090de78 physics: place version code into lib.rs 2025-01-22 06:45:56 -08:00
affbada62e move replay tests into test module 2025-01-22 05:48:08 -08:00
8d2ba28700 move engine components into modules 2025-01-22 05:48:08 -08:00
3eb4e76ab2 replace .map_or(None, with .and_then( 2025-01-22 05:47:32 -08:00
5d31419370 use Range to express time range 2025-01-22 05:47:32 -08:00
44a58044c7 readme: try it out 2025-01-22 05:47:32 -08:00
83ac776b78 Revert "bodge surfs"
This reverts commit 65b49d27261754903b2e39194c80ac096afc1da2.
2025-01-22 05:47:32 -08:00
871aadb78a physics version 2025-01-21 09:43:29 -08:00
65b49d2726 bodge surfs 2025-01-21 09:42:07 -08:00
ed70b7c484 tests: fix thread limit 2025-01-21 09:00:12 -08:00
c7575f2e21 deref bool 2025-01-21 08:49:44 -08:00
c2f78eab48 CrawlResult impls 2025-01-21 08:30:11 -08:00
195014400f apply setvelocity before teleport and jump 2025-01-21 07:47:39 -08:00
ee9585a4c2 accept slice in push_solve 2025-01-21 07:20:58 -08:00
77012d6caa remove unnecessary reference 2025-01-21 07:20:34 -08:00
f9509353dd change constrain_{velocity|acceleration} function signature 2025-01-21 07:20:22 -08:00
5bce4a84cf tweak ReachWalkTargetVelocity 2025-01-21 06:05:47 -08:00
4bbccd68ed tweak version plan 2025-01-21 05:47:39 -08:00
8be3be4002 write comment about handling identical timestamps implicitly 2025-01-21 05:39:12 -08:00
76bafa4d0a fix divide by zero crashes when mouse has not moved 2025-01-21 05:34:45 -08:00
a612d1f864 quiet down physics 2025-01-21 05:18:30 -08:00
ad9ef141bf print when bot file finishes writing 2025-01-21 05:18:30 -08:00
4c11980989 headless replay test 2025-01-21 05:18:30 -08:00
091da88b5c roblox_emulator: name macro variable 2025-01-20 15:46:26 -08:00
045e540020 roblox_emulator: use match guard 2025-01-20 15:46:13 -08:00
c14f8975fc snf: bot: fix lint SegmentId 2025-01-20 10:37:21 -08:00
8e228033e0 snf: bot: version const 2025-01-20 10:37:21 -08:00
eaecbc5b73 physics versioning plan 2025-01-20 10:36:40 -08:00
91a1b3d65e read entire file 2025-01-20 09:14:01 -08:00
e1d51ff2da rename stupidly named file enums 2025-01-20 09:11:09 -08:00
c5f2395b3a tools: copy all bash args in map scripts 2025-01-20 07:57:56 -08:00
77aa83d6ac physics: explicit start_time 2025-01-20 07:51:39 -08:00
184b12a9cc tools: copy all bash args in run script 2025-01-20 05:56:26 -08:00
9ba3484e25 create replays folder + write replay using spawned thread :) 2025-01-20 05:40:11 -08:00
adcd7db4f1 common: timer: the time of a paused timer does not depend on the parent time 2025-01-20 05:25:13 -08:00
710670d78e don't use mold
It makes compilation slightly more difficult for non-experts.  It can still be enabled the same way in the system-wide config located at ~/.cargo/config.toml
2025-01-18 22:43:12 -08:00
70e1514ef9 v0.11.0 replays 2025-01-18 09:24:34 -08:00
45e9b3d0ce use existing replay timer 2025-01-18 09:24:34 -08:00
1eac734c35 don't make a new replay if you are spectating 2025-01-18 09:24:34 -08:00
25e1312fe4 document another bind 2025-01-18 09:24:34 -08:00
cc8f6b059d SessionControlInstruction::LoadIntoReplayState (J) 2025-01-18 09:24:34 -08:00
4cd287dbb8 unpause sim on bot file export 2025-01-18 09:24:34 -08:00
40ea0e6c7d rename last_instruction_id to next_instruction_id 2025-01-18 09:24:34 -08:00
b45b92c627 allow writing idle instructions 2025-01-18 09:24:34 -08:00
e90f53a111 integrate replay save/load 2025-01-18 09:24:34 -08:00
6beb6c5f9a implement bot file 2025-01-18 09:24:21 -08:00
a1507d4f26 implement newtypes for bot files 2025-01-18 09:24:05 -08:00
77db5a7a6b tweak instruction collector 2025-01-18 05:22:02 -08:00
75c8bc2bbb fix timescale 2025-01-17 21:47:02 -08:00
d49a6b2f0a file::Header::calculate_size 2025-01-17 21:29:04 -08:00
19778ac7aa update wgpu 2025-01-17 11:47:23 -08:00
5b62052222 snf: move newtypes.rs into newtypes/mod.rs 2025-01-16 21:29:46 -08:00
5a8bc141d3 tweak ModeInstruction and document meaning 2025-01-16 20:54:02 -08:00
83a067320b fix usage of Cow in model_physics 2025-01-16 19:31:49 -08:00
2faa61225f refactor physics to use shared context for multiple simulations 2025-01-16 18:51:22 -08:00
28499800cb comment about bad algorithm 2025-01-16 07:40:08 -08:00
57cc49dc1a explicitly reset and spawn instead of implicitly 2025-01-16 06:35:36 -08:00
d517b78a8c replay controls 2025-01-16 05:10:39 -08:00
e6d1d69241 delete replay on StopSpectate 2025-01-16 05:10:39 -08:00
b28fa25279 comment about determinism 2025-01-16 05:10:39 -08:00
713b235816 maintain replay state according to real time 2025-01-16 05:10:39 -08:00
d2002383cb idle is special 2025-01-16 00:17:39 -08:00
52f7de809d rename variable 2025-01-16 00:17:39 -08:00
4efe1209b8 implement copy instruction into replay 2025-01-15 23:44:42 -08:00
15a9136fc4 session instruction changes for control and playback 2025-01-15 22:59:59 -08:00
035736e7af record 2025-01-15 21:41:44 -08:00
7f9a16a56d refactor physics enums so Mouse-NonMouse distinction is private to mouse_interpolator 2025-01-15 21:09:08 -08:00
814e573d91 rename physics instructions 2025-01-15 20:19:20 -08:00
6fa0f1c83e model_physics: use entry or_insert_with pattern 2025-01-15 08:46:26 -08:00
870cb56dac do not use ResourceType 2025-01-15 08:46:15 -08:00
1aac2a9303 model_physics: remove pointless unsafe usage from the before times 2025-01-15 08:46:06 -08:00
38661b3a68 fixed_wide: another derivable trait 2025-01-15 04:15:41 -08:00
7ad76740d4 common: tidy instruction module 2025-01-15 03:29:48 -08:00
c2d6af8bda TimedInstruction::set_time 2025-01-15 03:29:48 -08:00
fbacef83b9 fix non-determinism bug 2025-01-15 03:16:00 -08:00
2a9e848541 explain non-determinism bug 2025-01-15 03:03:34 -08:00
3413ec8740 mouse_interpolator tweaks 2025-01-15 02:59:34 -08:00
168d6708d1 fix some physics lints 2025-01-15 01:34:10 -08:00
13cae4c7c5 rewrite mouse_interpolator, introduce session 2025-01-15 01:01:24 -08:00
0dc462a3b1 comment infinite loop avoidance 2025-01-09 20:38:32 -08:00
ca003edbc3 reintroduce generics to Instruction traits 2025-01-09 20:11:00 -08:00
16abe23e97 push solve tweaks 2025-01-09 06:27:50 -08:00
67f8569178 push_solve infallible type signature 2025-01-09 05:56:11 -08:00
121c9c5258 resize immediately 2025-01-09 05:36:55 -08:00
411b997b87 use mold linker because it's faster 2025-01-09 05:36:55 -08:00
4d587b6c0b fixed_wide: clippy angry about derivable traits 2025-01-08 23:33:39 -08:00
6ff74f08ab roblox_emulator: deref returns correct type 2025-01-08 23:31:56 -08:00
08f419f931 rename crawl_fev to crawl 2025-01-08 21:09:52 -08:00
6066e82fd2 MeshQuery trait FEV associated types 2025-01-08 21:09:52 -08:00
ca8035cdfc fixed wide 2025-01-08 21:09:52 -08:00
ff5d954cfb push solve! 2025-01-08 18:17:40 -08:00
a967f31004 rename RawTime to AbsoluteTime 2025-01-08 01:15:52 -08:00
8ad5d28e51 impl AsRef<str> for FlagReason 2025-01-07 23:57:22 -08:00
ab05893813 A BUG HAS BEEN FOUND!!!! 2025-01-07 23:43:54 -08:00
2f7597146e fixup strafe client for strongly typed time 2025-01-07 23:43:54 -08:00
004e0d3776 common: session Time 2025-01-07 23:43:54 -08:00
120d8197b7 common 2025-01-07 23:43:54 -08:00
36ba73a892 timers 2025-01-07 23:43:54 -08:00
86cf7e74b1 typed Time 2025-01-07 22:36:58 -08:00
24787fede5 improve get_model_transform readability 2025-01-07 20:19:44 -08:00
3797408bc8 pull out named variables in checkpoint_check 2025-01-07 06:03:29 -08:00
47c9b77b00 style 2025-01-07 06:03:29 -08:00
479e657251 notes 2025-01-07 06:03:29 -08:00
63fbc94287 snf: demo file brainstorming 2025-01-06 23:14:08 -08:00
1318ae20ca snf: session file brainstorming 2025-01-06 23:14:08 -08:00
851d9c935d clear mode state in teleport_to_spawn 2025-01-06 21:50:43 -08:00
d0a190861c implement NoJump and jump_limit 2025-01-06 21:45:48 -08:00
4dca7fc369 try_increment_jump_count monolithic function 2025-01-06 21:45:48 -08:00
62dfe23539 prevent hitting side of spawn from updating current stage 2025-01-06 21:05:37 -08:00
3991cb5064 document unclear function 2025-01-06 21:05:37 -08:00
1dc2556d85 factor out immutable checkpoint_check logic 2025-01-06 21:05:37 -08:00
4f21985290 fix print grammar 2025-01-06 00:36:14 -08:00
ccce54c1a3 calculate title at compile time 2025-01-05 21:39:48 -08:00
02bb2d797c functions not needed 2025-01-05 03:46:15 -08:00
eb30566a82 fix urls 2025-01-03 06:44:59 -08:00
f8880593e6 strafe-client: fix readme 2025-01-03 06:44:59 -08:00
cbdc389cc9 style 2025-01-03 06:44:59 -08:00
ff011f9f0c window: no float in get_middle_of_screen 2025-01-03 06:44:59 -08:00
2bd6868882 window: bind case insensitive (closes #7) 2025-01-03 06:44:59 -08:00
0a515f423d window: match on key and state 2025-01-03 06:44:59 -08:00
f73f45128e update deps 2025-01-03 06:44:59 -08:00
c968377901 fix cargo warnings 2025-01-03 06:44:59 -08:00
34ae17be5d move tools to root dir 2025-01-03 06:44:59 -08:00
5fb440584b set up cargo workspace 2025-01-03 06:44:58 -08:00
5ad5229a62 remove individual Cargo.lock files 2025-01-03 06:32:59 -08:00
18d941d5bd rename logo image 2025-01-03 06:32:59 -08:00
dfdce476ca add .gitignore 2025-01-03 06:32:59 -08:00
e04a4bdf15 Merge branch 'fixed_wide_vectors' 2025-01-02 19:53:56 -08:00
19bb5c021e fixed_wide_vectors: move into folder 2025-01-02 19:53:50 -08:00
0f8a7fbbbf Merge branch 'roblox_emulator' 2025-01-02 19:50:54 -08:00
002ebbb52e roblox_emulator: move into folder 2025-01-02 19:50:11 -08:00
1d46d29f97 Merge branch 'deferred_loader' 2025-01-02 19:48:27 -08:00
0ee333cb71 deferred_loader: move into folder 2025-01-02 19:48:20 -08:00
406dd16627 Merge branch 'bsp_loader' 2025-01-02 19:46:56 -08:00
031ffb3e50 bsp_loader: move into folder 2025-01-02 19:46:45 -08:00
be7ba54f7e Merge branch 'rbx_loader' 2025-01-02 19:45:40 -08:00
831cbfef58 rbx_loader: move into folder 2025-01-02 19:45:22 -08:00
25e90b69b9 Merge branch 'snf' 2025-01-02 19:40:39 -08:00
6f958e3eda snf: move into folder 2025-01-02 19:40:26 -08:00
4b3aadfc04 Merge branch 'common' 2025-01-02 19:38:15 -08:00
5dfe37487e Merge branch 'strafe-client' 2025-01-02 19:38:01 -08:00
c1188aec1b Initial commit 2025-01-02 19:37:33 -08:00
263b82cfa7 common: move into folder 2025-01-02 19:28:07 -08:00
784858848e strafe-client: move into folder 2025-01-02 19:24:06 -08:00
ef4e699598 implement VectorToWorldSpace 2024-12-31 23:42:43 -08:00
9395d58a2c spaces 2024-12-31 04:32:46 -08:00
f8c623cd88 change api for no reason 2024-12-31 04:32:39 -08:00
0dc2d1f89e delete Boolio 2024-12-31 04:32:25 -08:00
f51c554492 update deps 2024-11-27 14:45:42 -08:00
3797d226e4 v0.4.7 RBXScriptSignal + RunService 2024-10-22 16:25:39 -07:00
1e7814488e register ScriptSignal UserData type because it's not initialized for some reason 2024-10-22 16:23:02 -07:00
fd2aa19949 rewrite ScriptSignal with more features 2024-10-22 16:23:02 -07:00
24701dc5fe do not allocate strings for unused errors 2024-10-22 16:18:41 -07:00
d7d24cc64c move instance into module to further break it down 2024-10-22 16:18:41 -07:00
bd38c6f1e4 runservice 2024-10-22 16:18:41 -07:00
6f0749f827 associated values store (dumb) 2024-10-22 16:18:41 -07:00
a6eb5e184c rename ClassFunctions -> ClassMethodsStore 2024-10-22 16:18:13 -07:00
210832c737 RBXScriptSignal 2024-10-22 16:18:13 -07:00
da169ade70 scheduler code cleanup 2024-10-17 16:55:30 -07:00
bffc5bb8f1 comment 2024-10-17 11:32:40 -07:00
f8f659e8ce specialize coerce f64 code 2024-10-16 23:07:32 -07:00
135103364d remove this when rbx-dom updates 2024-10-16 21:22:45 -07:00
368ce7da9e v0.4.6 thread scheduler 2024-10-16 21:22:01 -07:00
13621022e1 export Runnable type 2024-10-16 21:22:01 -07:00
03e9d989f8 make scheduler into a crate feature 2024-10-16 20:55:42 -07:00
5ddb3dacfd run script as a thread 2024-10-16 20:55:42 -07:00
8950bcbf02 game ticks api 2024-10-16 20:55:42 -07:00
9c1807ec76 wait 2024-10-16 20:21:53 -07:00
752ad6bd95 scheduler 2024-10-16 19:53:58 -07:00
9898c53de8 non-functional ColorSequence skeleton 2024-10-14 11:54:58 -07:00
4ce6fb2155 non-functional NumberSequence skeleton 2024-10-14 11:54:58 -07:00
c5fb915a6d div_euclid 2024-10-12 10:01:06 -07:00
b672c1360d v0.4.5 virtual property database + fixes 2024-10-06 18:58:58 -07:00
25577211b2 cursed userdata take 2024-10-06 18:57:42 -07:00
fe91de5668 remove and_then 2024-10-06 18:57:42 -07:00
6dfa46bc67 VIRTUAL_PROPERTY_DATABASE (another goddamn superclass walk) 2024-10-06 17:55:38 -07:00
3ad9d45452 don't create and drop a new function every call 2024-10-06 16:00:14 -07:00
9a03ac199a deref function pointer, not sure if this does anything 2024-10-06 13:53:41 -07:00
aa1db9551e match has better line width balance 2024-10-06 13:45:44 -07:00
692697f82b split get_or_create_class_function into two parts in case you want to get multiple functions from the same class 2024-10-06 11:42:31 -07:00
5e45e952d9 v0.4.4 less terrible all around 2024-10-06 11:26:18 -07:00
09dd442948 class tree walk can be idiomized with find_map and transpose 2024-10-06 10:49:41 -07:00
726ffeca21 ClassFunction exceptional simplification 2024-10-06 10:43:00 -07:00
082de122b1 fix double convert 2024-10-06 10:26:58 -07:00
bf0c4f74c3 error instead of print, expanded message 2024-10-05 22:36:46 -07:00
97e2010826 split type onto multiple lines 2024-10-05 22:36:46 -07:00
de363bc271 no print when none 2024-10-05 22:17:56 -07:00
849b0813b9 change cf macro to include Instance as the first argument 2024-10-05 22:15:10 -07:00
fac1f318d7 v0.4.3 rewrite Instances to be a single UserData type using a class function database 2024-10-05 21:54:36 -07:00
a23e8fc36f return Instance from Instance.__Index 2024-10-05 21:53:06 -07:00
58edaf3291 Instance.__index whole thing was wrong 2024-10-05 21:53:06 -07:00
d8aacb9ed2 class function database can only return functions, not values 2024-10-05 21:49:16 -07:00
35d60cde16 todo: use macros for class function database 2024-10-05 21:38:34 -07:00
69d43d8bea class function database + update mlua to beta version to avoid unsafe 2024-10-05 21:38:34 -07:00
b2beef4726 v0.4.2 additional implementations 2024-10-05 16:36:01 -07:00
a9a4ed2c46 default properties 2024-10-05 13:10:57 -07:00
4988eeed65 CFrame.new 2024-10-05 12:37:39 -07:00
ff9c122470 add some Color3 methods 2024-10-05 12:19:55 -07:00
eccf7243c4 fake out nil parent 2024-10-05 12:09:57 -07:00
b457da64a1 Instance globals 2024-10-05 12:02:15 -07:00
ed3f9f9b30 reduce globals code 2024-10-05 11:52:18 -07:00
136b360590 rename dom function to avoid confusion with dom variable 2024-10-05 11:45:10 -07:00
7b8f091ab3 deduplicate more find code 2024-10-04 21:08:28 -07:00
3a716373db FromLua type stuff + find_first_descendant_of_class 2024-10-04 20:48:47 -07:00
a67aa71fb0 update rbx_loader 2024-10-04 19:42:25 -07:00
ef78778708 v0.4.1 additional implementations 2024-10-04 19:39:09 -07:00
f4dc80713f Instance.Destroy 2024-10-04 19:32:30 -07:00
9030646f39 begin Instance.__index properties implementation 2024-10-04 19:28:32 -07:00
ba9918f2d5 None maps to Nil ezpz 2024-10-04 19:09:07 -07:00
acbb1c8478 workspace.Terrain 2024-10-04 19:09:07 -07:00
96c8b1035a game.workspace 2024-10-04 19:09:07 -07:00
67223efa26 find_first_child_of_class 2024-10-04 19:09:07 -07:00
0148476648 Instance FindFirstChild + WaitForChild (no difference in implementation) 2024-10-04 18:43:40 -07:00
cb5b842276 fix Instance.__newindex + implement String 2024-10-04 18:43:11 -07:00
e4114ab2cc simplify run_script logic 2024-10-04 17:51:56 -07:00
9b077d6db7 no double enum database access 2024-10-04 17:34:17 -07:00
7980770b8d v0.5.2 update roblox_emulator 2024-10-04 16:58:01 -07:00
7e09494146 update roblox_emulator 2024-10-04 16:56:52 -07:00
d496a2dac5 v0.4.0 less cringe into_place api 2024-10-04 16:56:16 -07:00
e110365325 more api 2024-10-04 16:50:28 -07:00
c0323d12df delete place.rs 2024-10-04 16:50:28 -07:00
7774fe9eb4 Instance.__newindex=bool 2024-10-04 16:50:28 -07:00
3fabb6dbae fix print 2024-10-04 16:50:26 -07:00
7d67e762b1 Context::from_ref 2024-10-04 16:50:24 -07:00
7cc0fd59c8 simplify double map into single map 2024-10-04 12:47:52 -07:00
db8e22c34d v0.3.2 error trait + Services constructor 2024-10-03 21:39:24 -07:00
a88debe9f1 Services::find_in 2024-10-03 21:35:00 -07:00
317400548d error trait 2024-10-03 21:22:43 -07:00
bded9fccdf update rbx_loader 2024-10-03 20:33:10 -07:00
14cc0776a6 v0.5.1 place includes services 2024-10-03 20:30:56 -07:00
d002216bd9 place includes services... duh 2024-10-03 20:30:56 -07:00
c12ad7df0f v0.3.1 services reference 2024-10-03 20:28:25 -07:00
7a3184efd5 v0.5.0 convert to Place 2024-10-03 19:37:24 -07:00
35c19abaf1 make a distinction between Model and Place 2024-10-03 19:37:24 -07:00
d5a3b797da update roblox_emulator 2024-10-03 19:37:13 -07:00
00a5d71b2b v0.3.0 thread of fate 2024-10-03 19:30:17 -07:00
d272ac242b sneak past type issues 2024-10-03 19:21:14 -07:00
e67f0f0889 implement Instance.__index 2024-10-03 19:09:02 -07:00
40655cdf44 get referent from any class 2024-10-03 18:55:50 -07:00
6c12bc2bf6 print errors better 2024-10-03 18:54:37 -07:00
5a1df16bd9 from_lua macro 2024-10-03 18:53:17 -07:00
9d219004f4 Terrain 2024-10-03 18:05:45 -07:00
6ec0d61b3d game:GetService("Lighting") + game.PlaceId 2024-10-03 18:05:45 -07:00
748f544a4b ClassName 2024-10-03 18:05:45 -07:00
7403888348 Enum 2024-10-03 18:05:44 -07:00
c06ba65662 Color3 2024-10-03 18:05:39 -07:00
fb38f1076d place with services 2024-10-03 18:01:42 -07:00
f5e9287798 weave the thread of fate
lifetime annotations hold &mut Context while scripts are runnable
2024-10-03 18:01:38 -07:00
6b66009c44 self 2024-10-03 17:17:59 -07:00
a4e2137463 move globals init into their respective files 2024-10-03 17:17:55 -07:00
a8d439f343 v0.4.1 improve rbxassetid error 2024-10-03 14:39:10 -07:00
a648526384 include input string with every error 2024-10-03 14:38:32 -07:00
a274b6d232 not that important 2024-10-03 12:31:41 -07:00
218a7fbf0f more general PartialEq + PartialOrd 2024-10-03 12:27:38 -07:00
64e44846aa v0.1.1 from float 2024-10-02 14:40:39 -07:00
4cd0114567 v0.10.5 update roblox + source loaders 2024-10-01 17:11:23 -07:00
991e01d530 update deps 2024-10-01 17:11:23 -07:00
c2b04a046c v0.2.2 update deps 2024-10-01 17:09:51 -07:00
fe5caa7ad3 update deps 2024-10-01 17:09:33 -07:00
f25954e1a8 v0.4.1 update deps 2024-10-01 16:53:03 -07:00
65d2b71de9 update deps 2024-10-01 16:52:44 -07:00
81f6a405cf v0.5.2 update deps 2024-10-01 16:47:19 -07:00
522f9f6668 update deps 2024-10-01 16:46:48 -07:00
3bb496f87b v0.2.3 update deps 2024-10-01 16:42:53 -07:00
9d56773343 update deps 2024-10-01 16:42:33 -07:00
ac48fb8a0d 0.4.0 update deps 2024-10-01 16:37:43 -07:00
5fd51c2085 v0.4.0 update common 2024-10-01 16:31:48 -07:00
dcad5fc8ec update common 2024-10-01 16:31:12 -07:00
ea76d137fd sort_by_key 2024-10-01 16:25:52 -07:00
315fa962f2 update deps 2024-10-01 16:24:45 -07:00
d02df2f83e v0.5.1 from float 2024-10-01 16:20:52 -07:00
ed78807a9f integer from float 2024-10-01 16:20:38 -07:00
0d05540a6b from float + tests 2024-10-01 15:01:30 -07:00
9b3dde66bd change to float tests 2024-10-01 15:00:06 -07:00
a65eef3609 fix to float 2024-10-01 14:59:33 -07:00
b96b26bb2d directly match string instead of allocating a complete lowercase string 2024-10-01 13:21:26 -07:00
fabd53423e v0.3.4 parse rbxasset better 2024-10-01 13:01:18 -07:00
7ada66ffbf split out rbxasset 2024-10-01 13:01:03 -07:00
72caf29ad8 parse as url rather than regex 2024-10-01 12:37:14 -07:00
e2bd9ba692 maybe multiply smaller den faster (this operation sucks) 2024-09-30 21:09:45 -07:00
c4a2778af1 explicitly implement From for specific types 2024-09-30 17:08:46 -07:00
46bb2bac4e deconstruct array instead of indexing 2024-09-30 17:08:12 -07:00
383df8637f update deps 2024-09-30 17:05:27 -07:00
1a6831cf8b fixed wide vectors 2024-09-30 10:36:37 -07:00
39a7c31d32 v0.2.0 fixed wide vectors 2024-09-30 10:31:05 -07:00
b419f2a321 v0.5.0 fixed wide vectors 2024-09-30 10:29:07 -07:00
92e333fcbe fixed wide vectors 2024-09-30 10:29:07 -07:00
c6b4cc29b8 all dependencies must have a version specified 2024-09-30 10:21:59 -07:00
9a7ebb0f0a licensing and registration 2024-09-30 10:18:25 -07:00
e525a80b91 change print 2024-09-28 21:38:43 -07:00
6a3f0ca9aa v0.2.2 run single script from cli 2024-09-28 12:34:02 -07:00
4a939e74d1 Context::script_singleton constructor for running a single script from cli 2024-09-28 12:32:19 -07:00
72874d450f CFrame :components() 2024-09-28 12:31:52 -07:00
7780e1a3f1 Vector3 __div 2024-09-28 12:31:41 -07:00
0e4ea2e722 expose runner Error 2024-09-28 12:31:27 -07:00
438d0ec6ec test zeroes 2024-09-26 18:08:33 -07:00
94e23b7f0f idk what I'm doing 2024-09-26 18:08:20 -07:00
e6cd239dcb fix zeroes 2024-09-26 15:26:18 -07:00
8d97ffba92 column major 2024-09-26 15:06:05 -07:00
e46f4fb900 save a copy in sqrt using epic bnum 0.12 feature (pulled by yours truly) 2024-09-26 15:06:05 -07:00
2b58204cb9 update bnum 2024-09-26 15:06:05 -07:00
b91f061797 implement same-size wide mul more efficiently 2024-09-25 09:46:56 -07:00
102ea607ab Ratio Parity trait 2024-09-23 11:30:35 -07:00
ba357ee99b efficient fixed mul 2024-09-21 15:42:29 -07:00
ccae1a45e1 up the date 2024-09-21 15:41:02 -07:00
a30893dcdf v0.3.7 update roblox emulator 2024-09-21 15:09:56 -07:00
8aa5aa2c5a v0.2.1 slightly different errors 2024-09-21 15:08:29 -07:00
a1626b464e redo error stuff 2024-09-21 15:03:27 -07:00
0ea8551781 throw lua error rather than silently failing 2024-09-21 14:25:56 -07:00
b0df1fb3bd clone once instead of twice 2024-09-21 14:21:23 -07:00
66d9279445 macro-ify classes + bring script into instances 2024-09-21 13:27:57 -07:00
b765f4cb21 why are these early returns in between app data 2024-09-21 12:53:03 -07:00
1e299b7b9c update rbx_loader 2024-09-21 12:42:29 -07:00
652bf5a0d3 v0.3.6 update roblox emulator api 2024-09-21 12:41:05 -07:00
4f65c35407 v0.2.0 change api to &mut self 2024-09-21 12:39:31 -07:00
90609f4ad4 the composition paradigm 2024-09-20 18:22:55 -07:00
ff76f3c865 Instance: name 2024-09-20 18:01:33 -07:00
ededfd9e55 include source in error 2024-09-20 18:01:25 -07:00
e2c74b8dfe use find_default_property 2024-09-20 17:54:43 -07:00
701897b00d coerce_float32 2024-09-20 17:54:16 -07:00
930ac1c331 cframe: fixup FromLua 2024-09-20 17:53:55 -07:00
aa0bee9f69 the "transmute lifetimes" solution 2024-09-20 14:01:36 -07:00
f3d4d8dbda v0.10.4 roblox scripts 2024-09-20 11:50:44 -07:00
f0d0c925dc v0.3.5 roblox emulator 2024-09-20 11:46:55 -07:00
7bd456ee8c roblox emulator 2024-09-20 11:45:09 -07:00
acfdc1bd5e v0.1.0 open source 2024-09-20 11:43:29 -07:00
261e0a474e GetDescendants 2024-09-18 20:16:28 -07:00
a394778a8e make boosters work 2024-09-18 20:16:14 -07:00
2dddda685a must own (rework api) 2024-09-18 18:48:11 -07:00
129998e628 tweak Vector3 FromLua 2024-09-18 18:48:11 -07:00
cef0ce4c09 impl Into<rbx_types::Vector3> for Vector3 2024-09-18 18:48:09 -07:00
d5854f7e92 add deps 2024-09-18 18:46:38 -07:00
f84bd5651e context take a &mut WeakDom to simplify external business 2024-09-18 15:30:28 -07:00
546a4aa8c7 test negative 2024-09-18 11:50:34 -07:00
94cd23fe4b add ratio tests 2024-09-18 10:44:18 -07:00
c7c17243fb set script full name 2024-09-17 18:26:58 -07:00
1585e2f321 fix the problem 2024-09-17 18:26:30 -07:00
4f13a1e69d update deps 2024-09-17 18:02:37 -07:00
a4e2ed7e2f error printing function 2024-09-17 18:00:17 -07:00
1a0bb8f8c4 paste old code 2024-09-17 17:17:12 -07:00
362b5709ff change api again 2024-09-17 17:16:57 -07:00
bc773f7d45 test fix better 2024-09-17 15:10:11 -07:00
934475b959 fix fix 2024-09-17 15:10:07 -07:00
665d528b87 remove debug from float builder 2024-09-17 14:48:21 -07:00
865d7a7886 float tests 2024-09-17 14:47:18 -07:00
031cd6e771 float builder (debug version) 2024-09-17 14:47:14 -07:00
2ccc5bb17d runner: no object 2024-09-16 19:01:26 -07:00
4eb6c7c057 Initial commit 2024-09-16 18:54:04 -07:00
b9f9b2ba7e update deps 2024-09-16 18:26:07 -07:00
6dbe96fca2 Fixed<1,_>::to_raw() 2024-09-16 15:48:52 -07:00
655a6da251 cheese extrapolate div 2024-09-16 15:02:43 -07:00
a100f182e1 Fix trait 2024-09-16 15:02:31 -07:00
0734122e75 ratio: ord methods 2024-09-16 11:46:05 -07:00
4e284311e1 this depends on that 2024-09-15 20:30:09 -07:00
0cd28e402e fixed: special case for convenience 2024-09-13 14:00:40 -07:00
260ed0fd5c ratio: PartialEq, Eq, PartialOrd, Ord 2024-09-13 14:00:13 -07:00
ec82745c6d matrix: from_rows 2024-09-12 12:16:58 -07:00
10e56fb0b9 default numba (use with care) 2024-09-12 12:16:58 -07:00
5646bd3b5a fixed width specific impls 2024-09-12 10:52:57 -07:00
6cb639317c const helpers 2024-09-11 15:15:06 -07:00
db5c37c2fb implement 'fix' function that changes the fixed point 2024-09-11 14:06:34 -07:00
a73a32f2ad Divide trait 2024-09-11 13:29:13 -07:00
44ac6fe4be fixed_wide: no default features 2024-09-11 12:59:22 -07:00
1a24de3cd9 deferred division for vector + matrix 2024-09-11 12:20:17 -07:00
9f77531995 implement Debug + Display 2024-09-11 12:06:58 -07:00
7b78338c76 fix tests :/ 2024-09-10 14:50:35 -07:00
021d7f9d1f implement mul + div only for scalars (otherwise conflicting implementations) 2024-09-10 14:20:07 -07:00
338669b60f implement shift operators 2024-09-10 13:45:12 -07:00
085d9185a9 ratio operators 2024-09-10 13:22:49 -07:00
1fd7a6eafd fixed: inline functions Q_Q 2024-09-10 13:05:10 -07:00
91b96e4b5d move ratio to own crate (again) 2024-09-10 12:09:58 -07:00
fc65d0f1f4 rename fixed_wide_vectors to linear_ops 2024-09-10 11:57:18 -07:00
4eaf8794f6 fix compile without named fields 2024-09-10 11:36:48 -07:00
fa8614891d zeroes function uses type transformation, drops direct ratio dep from zeroes 2024-09-10 11:36:48 -07:00
c20a0a4a89 compare with From types 2024-09-10 11:36:48 -07:00
e66a245c78 delete fixed-wide 2024-09-10 11:36:48 -07:00
eb7eb30814 impl det + adjugate with trait bounds 2024-09-09 19:54:00 -07:00
57c3f2dd9e write m*v test 2024-09-09 19:54:00 -07:00
b772647137 impl Mat*Vec 2024-09-09 19:54:00 -07:00
dd2140d1d2 forgotten inlines 2024-09-09 19:54:00 -07:00
6cbd3446e5 impl matrix multiplication with Mul 2024-09-09 19:54:00 -07:00
b6d260bf2c update tests to use new ideas 2024-09-09 19:54:00 -07:00
53bb1522eb impl dot + cross + length_squared with trait bounds 2024-09-09 19:54:00 -07:00
206e219467 wide-mul crate feature 2024-09-09 19:54:00 -07:00
8ee6204a42 invent wide_div + test 2024-09-09 15:24:49 -07:00
803f1bea9e extract trait impls into named functions + fix spelling 2024-09-09 15:24:49 -07:00
62419e94e1 consistency 2024-09-09 14:14:48 -07:00
d3c4d530b6 refactor macros, move things around 2024-09-09 14:14:48 -07:00
898407a0e9 matrix and vector extend functions 2024-09-06 13:24:03 -07:00
66186c7354 doc 2024-09-06 13:03:55 -07:00
36c769346c use inline const constructor because it's a little bit prettier 2024-09-06 11:44:43 -07:00
5f2bec75f5 enable matrix mul test 2024-09-06 11:38:29 -07:00
7a9aaf9fe0 matrix mul 2024-09-06 11:38:22 -07:00
9ad90cea2e fix tests 2024-09-06 11:25:51 -07:00
f2fec0b3b9 implement a bunch of fixed wide stuff 2024-09-06 11:25:46 -07:00
dae72d73d5 convert to row-major 2024-09-06 10:52:17 -07:00
4a1eff40da matrix multiplication ascii art 2024-09-06 10:44:30 -07:00
d5bd82761a fix dot test 2024-09-06 10:36:34 -07:00
5cad8637cd tweak dot 2024-09-06 10:36:24 -07:00
607706ee2a nope 2024-09-05 17:56:09 -07:00
2312ee27b7 test vector and matrix (TODO: Debug trait) 2024-09-05 17:56:09 -07:00
4d2aa0b2c8 is this better? 2024-09-05 17:44:44 -07:00
34450d6a13 matrix multiplication 2024-09-05 17:37:38 -07:00
1a6ece1312 epic const generic array transpose
verified that this loop unrolls on compiler explorer
2024-09-05 17:36:45 -07:00
e95f675e91 test named fields 2024-09-05 16:56:59 -07:00
504ff37c47 write a test 2024-09-05 16:45:44 -07:00
41cdd03b1b wip fixed wide 2024-09-05 16:32:19 -07:00
e375173625 keep generic operators and only implement i64 convenience operator 2024-09-05 16:18:13 -07:00
488a6b6496 fix vector bool code 2024-09-05 16:08:53 -07:00
5cdd2c3ee1 must be less generic to avoid conflict with convenience operators 2024-09-05 16:05:47 -07:00
a0da6873c1 vector operators 2024-09-05 15:56:44 -07:00
345d5737a2 more generic Neg operator 2024-09-05 15:56:35 -07:00
f4d28dd3c3 use derive macros 2024-09-05 15:43:26 -07:00
c362081003 implement a bunch of stuff 2024-09-05 15:43:26 -07:00
990a923463 fixup tests 2024-09-05 13:53:03 -07:00
56b781fcb8 we build 2024-09-05 13:52:54 -07:00
e026f6efed wip 2024-09-05 13:36:38 -07:00
e475da5fb4 put that back 2024-09-05 13:16:02 -07:00
c3026c67e9 delete everything and start over 2024-09-05 12:49:20 -07:00
103697fbdd matrix: test det + adjugate 2024-09-04 13:55:11 -07:00
cf17460b77 special case 3d vectors and matrices 2024-09-04 13:47:50 -07:00
823a05c101 matrix: directly implement dot product to avoid a copy 2024-09-04 12:11:52 -07:00
e5f95b97ce matrix: macro mat mul 2024-09-04 12:11:52 -07:00
176eb762e3 name macros better 2024-09-03 12:51:19 -07:00
15bd78c0e1 matrix wide dot test 2024-09-03 10:59:47 -07:00
0f9d0c8c39 matrix wide dot 2024-09-03 10:59:18 -07:00
eefbdafc16 move more impls to common 2024-09-03 10:40:43 -07:00
b0ecfeb294 the matrix super macro 2024-09-03 10:10:46 -07:00
48a8271b99 transpose macro_repeated 2024-09-03 10:10:30 -07:00
1604888254 macro macro 2024-09-03 10:01:22 -07:00
4017f33447 delete comment 2024-09-03 09:40:49 -07:00
f0527714db move macro to mod 2024-09-03 09:40:46 -07:00
27d96f9b19 delete tuple impls 2024-09-03 09:30:13 -07:00
a5094fe873 common impls between matrix and vector 2024-09-02 18:54:50 -07:00
1bd45283a9 delete unused test 2024-09-02 18:36:05 -07:00
a6dc0c37ba MACRO MACRO MACRO 2024-09-02 18:35:37 -07:00
83434a89c7 wide_dot 2024-09-02 18:25:21 -07:00
b14c84bdad MACRO MACRO MACRO 2024-09-02 18:19:35 -07:00
e98744871b narrow paste scope 2024-09-02 18:19:35 -07:00
c26ce93fc8 paste 2024-09-02 18:19:35 -07:00
c856509759 remove old comment 2024-09-02 18:19:35 -07:00
5cb98ee29f vectors: no traits 2024-09-02 18:19:35 -07:00
bc29cd9848 move tests 2024-09-02 17:44:04 -07:00
502ab7f33f named function 2024-09-02 17:09:37 -07:00
e0dba8840e ruin everything successfully 2024-09-02 17:03:01 -07:00
4d13b4ada7 paste (this sucks) 2024-09-02 16:35:01 -07:00
2a2e729f59 wip 2024-09-02 16:15:17 -07:00
63cf94499b rewrite transpose 2024-08-30 14:49:56 -07:00
83a39468d5 matrix extend 2024-08-30 13:49:23 -07:00
9aba811cd0 delete spam doc tests 2024-08-30 13:30:01 -07:00
e413409f9f remove parentheses from macro 2024-08-30 13:30:01 -07:00
e6a28fbb70 test doesn't compile yet 2024-08-30 13:30:01 -07:00
88acec5659 matrix test to pass 2024-08-30 13:07:56 -07:00
0f0d7f7a9a initial matrix type 2024-08-30 13:02:48 -07:00
263f0d35d4 test reason why matrix needs its own type 2024-08-30 12:52:54 -07:00
d713b96ad3 vectors: extend 2024-08-30 12:41:25 -07:00
20285f0f98 delete affine 2024-08-30 12:31:20 -07:00
f103c247b8 transpose too easy 2024-08-30 12:20:54 -07:00
8e1807b4b7 VECTOR IS MATRIX 2024-08-30 12:07:12 -07:00
f531e8d8ee move vector2 macro code 2024-08-30 12:07:12 -07:00
78f860c672 inline const functions 2024-08-29 20:11:33 -07:00
0924518922 eviscerate PhantomData 2024-08-29 20:10:22 -07:00
46d89619bd use from_bits function for consts 2024-08-29 20:03:56 -07:00
540749e4f1 there is a poorly named function for this 2024-08-29 19:52:00 -07:00
3c5f01da89 describe algorithm 2024-08-29 19:08:55 -07:00
70a79a8d25 remove old kludge 2024-08-29 18:55:05 -07:00
0483c9eb27 fast 2024-08-29 18:38:29 -07:00
61aad93f8d sqrt: closed loop over bit shift 2024-08-29 18:29:04 -07:00
cd1aa26293 prevent 50 headaches 2024-08-29 17:22:45 -07:00
b656371142 pass zero test 2024-08-29 17:03:25 -07:00
9266edbf92 forgot to test zero... 2024-08-29 16:20:10 -07:00
6335b1da47 todo 2024-08-29 15:35:33 -07:00
8d5fc1ae48 test max 2024-08-29 15:27:48 -07:00
67c30b8535 save one shr operation 2024-08-29 15:21:10 -07:00
95651d7091 use wide_mul for more precise sqrt 2024-08-29 14:50:22 -07:00
91b378aa43 use tabs 2024-08-29 14:28:40 -07:00
ac7d9f5c3b test more 2024-08-29 13:30:48 -07:00
b45d93a7dc more sqrt tests 2024-08-29 13:16:09 -07:00
6549305c9f use import 2024-08-29 13:16:02 -07:00
6ea9eff844 further sqrt improvements 2024-08-29 13:15:17 -07:00
e684fb421e tests 2024-08-29 12:13:45 -07:00
8ba76c7a00 smarter sqrt 2024-08-29 12:13:45 -07:00
3d3eb966a4 multiply and divide was straight up wrong, and bruh this needs const generics so bad 2024-08-29 11:16:38 -07:00
491de52f17 improve failure mode 2024-08-29 10:43:14 -07:00
69da2c52a4 use tabs 2024-08-29 10:43:14 -07:00
9f6dffafda cordic sqrt 2024-08-29 10:43:14 -07:00
446de71c30 uh oh 2024-08-28 16:15:54 -07:00
d47eaa423e write some ratio tests 2024-08-28 15:46:49 -07:00
e604ce83e9 macro up wide traits 2024-08-28 15:33:10 -07:00
ac250e9d84 ratio operators 2024-08-28 15:28:48 -07:00
617952c1e3 split tests 2024-08-28 13:36:17 -07:00
9f9e8c793b probably need this to make compiling with no wide work 2024-08-28 13:33:45 -07:00
1f6594468d bvec 2024-08-28 13:29:29 -07:00
cc3cb35309 cant do it man 2024-08-28 13:04:35 -07:00
a923a6b5d1 consistency 2024-08-28 12:23:33 -07:00
68d1c23cfa allow simple ops (why did this not work before?) 2024-08-28 12:23:33 -07:00
8aa7da6be7 add tests 2024-08-28 12:17:00 -07:00
0be0dd5c6f fixed: more constants 2024-08-28 11:47:40 -07:00
f4ab9403a4 oh my god use tabs 2024-08-28 10:47:30 -07:00
67ac4cf7ff todo: drop affine 2024-08-28 10:14:49 -07:00
002d3d9eac why intermediate 2024-08-28 10:05:08 -07:00
e1368962c1 holy wide dot batman 2024-08-28 10:04:58 -07:00
4ae391e9fd trait constructor doesn't work because trait bounds (and is also bad) 2024-08-28 09:06:16 -07:00
c43fab2f18 reexport typenum for convenience 2024-08-27 16:50:48 -07:00
20a317612e fixed: constants 2024-08-27 16:50:48 -07:00
60753490c6 vectors: implement Ord stuff as vectors of boolean 2024-08-27 16:50:48 -07:00
79ab26f118 fixed: implement shift operators 2024-08-27 16:50:48 -07:00
7a5406e769 fixed: fixup operator impls - this is implicitly Self 2024-08-27 14:59:52 -07:00
009aa0c296 ratio crate 2024-08-27 14:25:39 -07:00
2d87e4b5cc vectors: min, max 2024-08-27 14:24:21 -07:00
4ce5c045a8 fixed: PartialOrd, Ord 2024-08-27 14:24:21 -07:00
047451d247 affine 2024-08-27 14:24:21 -07:00
a097e3945f more traits 2024-08-27 13:28:45 -07:00
d48b03889d rename wide_traits to fixed_wide_traits 2024-08-27 12:34:52 -07:00
a96cae9e80 re-export wide_traits::wide 2024-08-26 17:45:17 -07:00
ef13fbe5f0 fixed_wide is a dev dep 2024-08-26 17:45:17 -07:00
fa2b9ca515 hide wide_traits behind a feature flag 2024-08-26 17:38:27 -07:00
ac5ef8f9be rename fixed_wide::wide to fixed_wide::fixed 2024-08-26 17:38:27 -07:00
dda8ebefc4 create wide_traits crate 2024-08-26 17:38:27 -07:00
f12ab4a3c3 whats missing 2024-08-26 17:34:13 -07:00
da5decb2f7 faster with less convenience 2024-08-26 17:34:13 -07:00
8206e16952 drop fixed dep 2024-08-26 17:34:13 -07:00
f32bd4a667 bad operator impl 2024-08-26 15:40:27 -07:00
5175a2ea18 wip 2024-08-26 14:58:19 -07:00
98349915ec todo 2024-08-23 17:55:14 -07:00
43b8190148 fix path 2024-08-23 17:50:02 -07:00
aec20424b8 bad essay opening 2024-08-23 17:23:21 -07:00
62e0d8e2b6 add license and README 2024-08-23 17:23:21 -07:00
c6cc1da4be reorganize repo as monorepo of two crates 2024-08-23 17:23:21 -07:00
b836bc2a11 style 2024-08-23 17:23:21 -07:00
3ccc19f768 fix wide_dot and wide_length_squared 2024-08-23 17:23:21 -07:00
d38d103399 you can add 2024-08-23 17:23:21 -07:00
114b2725ea tweaks 2024-08-23 17:23:21 -07:00
e7eac03f04 BUAHAHAHAHA 2024-08-23 17:23:21 -07:00
75ca27f232 do it like this 2024-08-23 17:23:21 -07:00
01de555888 THE DOCS ARE TESTS WHAT 2024-08-23 17:23:21 -07:00
78bc7aa8a1 work 2024-08-23 17:23:21 -07:00
3d3ffbf79a steal 2024-08-23 17:23:21 -07:00
8b4608bda3 unused 2024-08-23 17:23:21 -07:00
17a6671ead steal code 2024-08-23 17:23:21 -07:00
24c88e2b5b move tests into its own folder 2024-08-23 17:23:21 -07:00
c4462cf340 rename crate 2024-08-23 17:23:21 -07:00
3b7fbe4038 fixed crate does it like this 2024-08-23 17:23:21 -07:00
73e8afbc77 infallible narrow tosses fractional bits and has the same or greater integer bits 2024-08-23 14:59:52 -07:00
47f6e75de9 narrow concept 2024-08-23 14:59:52 -07:00
5f8104d531 wild 2024-08-23 14:19:36 -07:00
276602e5f3 WideMul trait 2024-08-23 13:42:44 -07:00
713b68adef Initial commit 2024-08-23 13:00:22 -07:00
79011171cb zeroes: use ArrayVec::from_iter instead of helper function 2024-08-22 19:47:44 -07:00
cd58e20fc2 integer: give Planar64 abs 2024-08-22 19:47:44 -07:00
fbdabf449a v0.4.1 bvh tweaks + run tweaks 2024-08-22 19:47:44 -07:00
0a95f492ba run: Run is Copy 2024-08-22 19:47:44 -07:00
27dba8a90d bvh: handling for median clumps 2024-08-22 19:47:44 -07:00
2b8bb0b705 bvh: remove unnecessary work 2024-08-22 19:47:38 -07:00
b2a84e3be1 update common 2024-08-21 14:20:09 -07:00
0468484788 make physics-graphics communication a bit less insane 2024-08-21 14:20:09 -07:00
b9dc97053f graphics: spaces 2024-08-21 14:20:09 -07:00
40ed173b60 physics: unused field 2024-08-21 14:20:09 -07:00
fd5a813357 graphics: bundle FrameState into struct 2024-08-21 14:20:09 -07:00
50726199b9 todo 2024-08-21 14:20:09 -07:00
0676007430 graphics: drop model_buf after upload 2024-08-21 14:20:09 -07:00
97c49c9351 graphics: unused struct 2024-08-21 14:20:09 -07:00
10689784be graphics_worker: untab 2024-08-21 14:20:09 -07:00
2eff5dda9e graphics_worker: tweaks (rust master) 2024-08-21 14:20:09 -07:00
93b04f4f1f physics: recalculate touching parts in set_position 2024-08-21 14:20:09 -07:00
c616e82c47 use const 2024-08-19 17:04:53 -07:00
d3f84c2dbd physics: refactor models and attributes with type safety
make invalid states unrepresentable!!!
2024-08-09 14:47:04 -07:00
5e45753756 update deps 2024-08-09 14:46:54 -07:00
2a0afdcc60 v0.1.5 update common 2024-08-09 14:37:31 -07:00
cddf8b6f84 update common 2024-08-09 14:37:13 -07:00
deabb1769a v0.3.4 update common 2024-08-09 14:34:12 -07:00
418450e7d3 update common 2024-08-09 14:34:01 -07:00
f8f44b7b45 update deps 2024-08-09 14:33:50 -07:00
eb022b128c v0.3.3 update common 2024-08-09 14:28:39 -07:00
46ceab5526 update deps 2024-08-09 14:28:13 -07:00
4eb8ff1928 v0.1.3 update common 2024-08-09 14:26:19 -07:00
6a198ad746 update common 2024-08-09 14:25:45 -07:00
88b87b1859 v0.4.0 typed attribute structs 2024-08-09 14:23:59 -07:00
aa79d9a54e update deps 2024-08-09 14:23:09 -07:00
d95549070b gameplay_attributes: split out collision variants into structs 2024-08-09 13:49:42 -07:00
af1f1aad14 bvh: don't require T to implement Default 2024-08-09 13:48:20 -07:00
cfee6f119f pull out collision handlers into functions 2024-08-08 15:54:23 -07:00
b9e34f53c3 do not set time on idle 2024-08-08 13:18:28 -07:00
394f1f1dc2 v0.10.3 physics updates + pause game + fix boosters 2024-08-07 19:48:09 -07:00
05ec7ea5d8 physics: rework jumping and boosters 2024-08-07 18:48:57 -07:00
e1897acca3 update deps 2024-08-07 18:41:42 -07:00
5ee149b66e update deps 2024-08-07 18:41:04 -07:00
8e24d5af14 update deps 2024-08-07 18:39:54 -07:00
a31bb6c095 v0.1.2 update common 2024-08-07 18:15:17 -07:00
8012a459bf v0.3.0 rework jumping and boosters 2024-08-07 18:13:24 -07:00
3255b687e5 refactor JumpCalculation 2024-08-07 18:11:24 -07:00
22216846e3 refactor JumpCalculation 2024-08-07 18:10:10 -07:00
eebde9b54a this should all be pub 2024-08-07 15:11:41 -07:00
7d1058164b rename JumpImpulse variant 2024-08-07 14:40:59 -07:00
415be69ba8 zeroes: use arrayvec for our stack allocated variable length array with a fixed capacity 2024-08-07 12:46:43 -07:00
62e9397c98 zeroes: branch instead of heap allocation 2024-08-07 11:26:25 -07:00
7996df532e remove a source of non-determinism 2024-08-06 14:15:57 -07:00
617cae300f name some ids 2024-08-06 13:02:56 -07:00
4b2de6f88c update deps 2024-08-06 12:58:44 -07:00
b4b85b7da4 refactor physics_worker 2024-08-06 11:26:27 -07:00
3a98eaff7c move physics instruction to common 2024-08-06 11:10:43 -07:00
4b5b7dc2fb update deps 2024-08-06 11:02:49 -07:00
9563290454 v0.2.3 physics instructions 2024-08-06 10:49:43 -07:00
a2d9e97467 add reset instruction + physics::Instruction is Clone 2024-08-05 17:26:15 -07:00
62a6af9261 pull instruction types out of physics 2024-08-02 13:45:52 -07:00
a819f93fa9 const opportunity 2024-08-02 13:45:10 -07:00
8a13640c55 time travel warning 2024-08-02 10:42:10 -07:00
85ba12ff92 pause on focus 2024-08-02 10:42:10 -07:00
4f492d73b0 update deps 2024-08-02 10:42:10 -07:00
0375844f4f v0.2.2 timer tweaks 2024-08-02 10:40:07 -07:00
0dd41ae2f1 more functions 2024-08-02 10:35:29 -07:00
a8d54fdd7c minor tweak to loading map from arg 2024-08-02 09:20:34 -07:00
34ac541260 ignore ReachWalkTargetVelocity 2024-08-02 08:03:16 -07:00
099788b746 this is wrong, even when velocity is zero 2024-08-02 08:03:16 -07:00
305017c6c8 iso shortcut 2024-08-02 08:03:16 -07:00
e47d152af2 make a distinction between restart and spawning 2024-08-02 08:03:16 -07:00
755adeaefd refactor physics instruction processing
This is an important engine upgrade: idle events do not donate their timestamp to engine objects and pollute the timeline with unnecessary game ticks that can be represented as analytic continuations of previous game ticks.  This means that all "render" tick updates can be dropped from bot timelines.  In other words, progressing the physics simulation is invariant to differing subdivisions of an overall time advancement with no external input.
2024-08-02 08:03:16 -07:00
fed810334b simpler 2024-08-01 21:55:53 -07:00
0ff4de3d38 meant to make this public 2024-08-01 09:42:08 -07:00
e04e754abb v0.10.2 run timer 2024-08-01 09:39:16 -07:00
5c1f69628d update deps 2024-08-01 09:36:11 -07:00
0c0365746e v0.2.1 timers + runs 2024-08-01 09:32:40 -07:00
0c4a34c9cb runs 2024-08-01 09:31:26 -07:00
1318fd2856 timers 2024-08-01 09:30:35 -07:00
44031c8b83 simple run timer 2024-08-01 09:29:13 -07:00
d6470ee81b denormalize zone data on load 2024-08-01 09:29:09 -07:00
a7c7088c1f model is supposed to be guaranteed to exist 2024-07-31 12:08:57 -07:00
dd6acbfc2f use mem::replace where it is needed 2024-07-31 12:08:57 -07:00
3fea6ec5a2 put imports together 2024-07-30 13:34:34 -07:00
38df41e043 mouse interpolator abstraction 2024-07-30 13:01:42 -07:00
171cd8f2e4 cross compile with all features 2024-07-30 12:02:28 -07:00
914b5da897 switch over tooling to snfm 2024-07-30 12:02:28 -07:00
52e92bfa5a no more textures 2024-07-30 11:37:26 -07:00
938500e39b update deps (don't panic on corrupted files) 2024-07-29 18:24:57 -07:00
d036a33501 v0.1.1 no panic 2024-07-29 18:22:26 -07:00
05c8db4750 don't panic 2024-07-29 18:20:44 -07:00
d82dfc2bc2 build smaller 2024-07-29 17:41:46 -07:00
c59f40892a snf optional as well because why not 2024-07-29 17:41:46 -07:00
4863605af7 source and roblox map loading feature flags 2024-07-29 17:11:40 -07:00
685e74575a v0.10.1 snf 2024-07-29 16:53:04 -07:00
d1aca4519b change textures path on my pc 2024-07-29 16:51:36 -07:00
4a4ede36ed read snf map 2024-07-29 16:51:36 -07:00
a0afea050b update deps 2024-07-29 16:43:33 -07:00
e3130661f4 v0.1.0 2024-07-29 16:38:32 -07:00
a1ee34c7a3 binrw enums 2024-07-29 16:36:00 -07:00
5193d0be71 update deps 2024-07-29 16:32:16 -07:00
31725dae0c update deps 2024-07-29 16:29:50 -07:00
6ce2e64961 v0.2.0 breaking changes 2024-07-29 16:28:00 -07:00
5d25400942 there's no way that a max heap is better than just sorting 2024-07-27 10:31:44 -07:00
a00b6a63c9 wow it's wrong again 2024-07-26 17:26:57 -07:00
931cef52b1 serial file access 2024-07-26 16:13:51 -07:00
3e8c5167dc do not include unused features 2024-07-26 15:42:38 -07:00
2262c6feac fixes 2024-07-26 15:24:20 -07:00
fa7e7d58bf load textures and meshes in ascending order 2024-07-26 15:10:49 -07:00
0705e879db fix block_location 2024-07-26 12:19:09 -07:00
1401c7ad13 debug trait 2024-07-25 17:47:32 -07:00
d3e114c7b6 implement error traits 2024-07-25 17:47:00 -07:00
e1cdddc892 write map 2024-07-25 16:09:03 -07:00
4abeefa7e8 todo: header machinery in file (file.add_block) 2024-07-25 16:09:03 -07:00
7b826e11be special method converts Bvh into Bvh with weights 2024-07-25 15:37:55 -07:00
47aef14ff3 newtypes from engine types (boilerplate) 2024-07-25 15:35:51 -07:00
33cc2e1a45 update common 2024-07-25 13:53:45 -07:00
f337c71c5b relax bvh trait bounds using enumerate 2024-07-25 13:53:20 -07:00
ba00fed9b8 accessors 2024-07-25 13:51:32 -07:00
3434cd394a implement map file format 2024-07-25 11:33:41 -07:00
b6935b4f5f file tweaks 2024-07-25 11:33:41 -07:00
f0035bcee9 newtypes (boilerplate) 2024-07-25 11:33:41 -07:00
7e91c85822 directly visit all bvh nodes 2024-07-24 14:41:35 -07:00
33aa8d5d9c convenience functions for integer types 2024-07-24 14:41:13 -07:00
6cd5234c91 constructors for unconstructable types 2024-07-23 19:04:53 -07:00
80fc0e13db disallow arbitrary data gap between header and first block 2024-07-23 18:34:45 -07:00
6ee4c8014a no try_calc 2024-07-23 18:34:45 -07:00
e0e635e083 rename function 2024-07-23 17:19:09 -07:00
0215df9f96 todo: flying style w/o gravity (may help point out fly bugs) 2024-07-22 14:55:03 -07:00
ec5bb74d46 switch to strafesnet registry + update deps 2024-07-22 13:55:53 -07:00
9982a52af5 update deps 2024-07-22 13:52:27 -07:00
24b28f28dd update deps 2024-07-22 13:49:41 -07:00
db992afec5 update deps 2024-07-22 13:44:15 -07:00
582009baed update deps 2024-07-22 13:41:43 -07:00
34939db8ef v0.10.0 style redesign + mesh loader 2024-07-22 13:23:19 -07:00
b61088195a update deps (aggressive) 2024-07-22 13:21:47 -07:00
19ab098be0 wgpu 22.0.0 2024-07-22 13:21:47 -07:00
bf1fad9fc4 use strafesnet registry 2024-07-22 13:21:47 -07:00
62b5ba2b33 pretty polygon fanning from vbsp code 2024-07-22 13:21:47 -07:00
f2a7b44884 print texture load error 2024-07-22 13:21:47 -07:00
c054b6aab3 update deps 2024-07-22 13:21:47 -07:00
7caec210ce include meshes symbolic link 2024-07-22 13:21:47 -07:00
5fdcf9047c implement roblox mesh loading 2024-07-22 13:21:47 -07:00
3756af9638 update strafesnet deps 2024-07-22 13:21:47 -07:00
8424fea634 redesign style data structures + fly 2024-07-22 13:21:47 -07:00
874984fd98 use strafesnet registry 2024-03-29 02:55:49 -07:00
0e4489b360 write crate niceties 2024-03-29 02:55:13 -07:00
324e0eb69b use strafesnet registry 2024-03-29 02:55:13 -07:00
e391e9bc27 use strafesnet registry 2024-03-29 02:54:56 -07:00
77d120597d update rbx_mesh 2024-03-29 02:54:38 -07:00
44b2ae1c10 use strafesnet registry 2024-03-29 02:54:38 -07:00
12b04a97d6 update rbx deps 2024-03-29 01:44:42 -07:00
46c73b80c6 fix missing bsp_loader commit 2024-03-15 19:24:52 -07:00
127534632e use rbx_mesh crate 2024-03-13 13:56:52 -07:00
9aca2575a8 v0.3.0 roblox mesh support 2024-03-13 13:38:52 -07:00
1f2ad779f1 roblox mesh converter + loading 2024-03-13 13:37:31 -07:00
775d1972dc update common 2024-03-13 13:36:38 -07:00
c835183abd add rbx_mesh dep 2024-03-13 13:36:25 -07:00
e2473f0537 update common 2024-03-13 11:29:53 -07:00
acaeaccf68 update common 2024-03-13 11:29:28 -07:00
a9f3e61f2b why is this private 2024-03-13 11:25:02 -07:00
790c72a1b8 implement legacy roblox mesh loader 2024-03-13 10:22:46 -07:00
e37d8540c2 update common 2024-03-12 21:59:36 -07:00
db142d125b add Clone for Mesh 2024-03-12 21:42:19 -07:00
fab60f19ee misc 2024-03-09 10:47:39 -08:00
5ed15e783d update common 2024-03-02 13:10:13 -08:00
a1aafed513 update common 2024-03-02 13:09:53 -08:00
a051f442df use entities & brushes instead of models 2024-03-02 13:08:16 -08:00
4f166e0d5c update common 2024-03-02 13:08:16 -08:00
ef922135e6 update deps 2024-03-02 13:06:04 -08:00
9aec0e1b52 misc 2024-03-02 04:58:39 -08:00
b065f83faf fix jump limit 2024-03-02 04:58:31 -08:00
39b202176f redesign StyleModifiers 2024-03-02 04:58:00 -08:00
3979eec34c why is this split 2024-02-22 00:24:14 -08:00
0a50ee3cbd disable physics 2024-02-21 09:15:14 -08:00
b73da3e552 make use of into 2024-02-21 09:15:05 -08:00
cc7713ca73 jump_limit changes 2024-02-21 02:34:17 -08:00
0ac1c1aa6b adjust clipping planes 2024-02-18 00:23:27 -08:00
0a75e78c90 update deferred_loader 2024-02-17 22:08:06 -08:00
2273f881b2 unneeded path operations 2024-02-17 22:05:03 -08:00
ecc8d2395b update bsp_loader 2024-02-17 20:32:03 -08:00
c0a85cd719 improve texture transform math 2024-02-17 20:31:02 -08:00
3cab9afa32 indices is already a polygon list 2024-02-17 19:59:29 -08:00
e2bd8b4038 v0.9.5 fix graphical bug 2024-02-16 20:03:15 -08:00
4a53040011 use .entry().or_insert_with() pattern everywhere 2024-02-16 06:04:24 -08:00
b1d860edf1 fix invisible walls 2024-02-16 04:11:42 -08:00
db6e1e43c1 file is probably gonna be here a long time 2024-02-16 00:18:16 -08:00
03970edeb8 update bsp_loader 2024-02-15 01:47:18 -08:00
f91de2d669 mutable reference external api is unnecessary 2024-02-15 01:46:30 -08:00
e2da41ec99 update rbx_loader 2024-02-15 00:59:37 -08:00
261e42c33d unused import 2024-02-15 00:46:43 -08:00
e0739fa792 use utf8 patched version 2024-02-15 00:43:55 -08:00
ae4d539ab1 too much spam 2024-02-15 00:22:11 -08:00
9de60a8e19 v0.9.4 valve mesh loading 2024-02-15 00:22:11 -08:00
df8189b874 implement valve mesh loading 2024-02-15 00:22:11 -08:00
45b2af405b new loading api 2024-02-15 00:21:01 -08:00
c03cd0e905 v0.3.0 new loading api 2024-02-15 00:12:42 -08:00
5a0893cbb9 convenience 2024-02-15 00:12:42 -08:00
a2eac57282 new loading api 2024-02-15 00:12:42 -08:00
34017ea72c v0.2.0 new loading function signatures 2024-02-14 23:40:25 -08:00
bcaa28cf6a implement new loading api 2024-02-14 23:38:29 -08:00
b25bcc627d asref path 2024-02-14 23:33:10 -08:00
977069c4eb v0.9.3 bsp legacy texture loader 2024-02-14 23:33:10 -08:00
63655ef931 enable source_legacy style texture loading 2024-02-14 23:33:10 -08:00
39924db94d change PhysicsMesh::from to PhysicsMesh::try_from 2024-02-14 23:33:10 -08:00
093a54c527 impl Clone,Copy for RenderConfig 2024-02-14 23:13:17 -08:00
45dc9e4bd3 no default 2024-02-14 19:31:57 -08:00
f2635be0fb Revert "textures are loaded separately from this temporary structure"
This reverts commit fccb13bc6080ea6db94ef9175affd4aef1d9249d.
2024-02-14 18:42:50 -08:00
f3174cd191 use boxed str 2024-02-14 17:20:10 -08:00
f58cf4ec2a add source_legacy texture loading 2024-02-14 17:20:10 -08:00
6a8f34098d rename files 2024-02-14 17:20:10 -08:00
c1ac2eb1d8 add source 2024-02-14 17:20:10 -08:00
b8283d921f todo 2024-02-14 17:15:54 -08:00
32a28880db does not need to be mutable 2024-02-14 17:15:54 -08:00
38efed0d04 data structure rewrite + refactor loaders 2024-02-14 17:15:54 -08:00
3b3ccefebb fix panic when no modes 2024-02-13 23:16:11 -08:00
ae6e4ee6aa v0.9.2 bsp_loader (no props or textures) 2024-02-13 22:36:12 -08:00
746d3eb7ee bsp_loader 2024-02-13 22:34:13 -08:00
7be93d2114 refactor loaders + file loading 2024-02-13 22:14:26 -08:00
2c7ced7151 refactor api 2024-02-13 21:47:51 -08:00
0b630576d4 wrapped types + implement error trait 2024-02-13 21:28:06 -08:00
1c33646765 pass as ref 2024-02-13 21:28:06 -08:00
3b038687b6 rust master 2024-02-13 06:58:39 -08:00
e7f01eff80 print instead of panic 2024-02-13 06:08:03 -08:00
f58a17adba v0.9.1 data structure rewrite 2024-02-13 06:08:03 -08:00
3be9730b52 allow texture loading failure 2024-02-13 06:08:03 -08:00
93eeb3354f rewrite data structures, implement texture_loader 2024-02-13 06:08:03 -08:00
048e408390 prefer this code 2024-02-13 05:43:37 -08:00
ed0dcdd051 not todo 2024-02-13 05:40:48 -08:00
0f3bd4420e use unreachable instead of panic 2024-02-13 05:38:35 -08:00
93bc4dc0fb data structure rewrite, implement texture_loader 2024-02-13 03:12:07 -08:00
c182e46001 update common 2024-02-13 03:11:18 -08:00
47cdea0c8a data structure rewrite 2024-02-13 03:10:13 -08:00
6043c23c19 couple tools 2024-02-13 01:50:10 -08:00
274cca6568 don't need this rn 2024-02-13 01:50:08 -08:00
8c9af0e205 mega errors 2024-02-13 00:48:30 -08:00
2f70b11abd v1 2024-02-13 00:14:59 -08:00
aba7fbdb8a Initial commit mistake 2024-02-13 00:14:59 -08:00
dbb05bd4ef Initial commit 2024-02-13 00:12:55 -08:00
69bab269db stop clone 2024-02-13 00:07:30 -08:00
856386e9bf notes 2024-02-08 23:14:08 -08:00
3c43b6c6a6 reflect common name changes 2024-02-08 23:14:04 -08:00
99351848b7 update common 2024-02-08 23:13:42 -08:00
0c439bf2e6 use id + new knowledge + don't need u64 2024-02-07 04:13:04 -08:00
f38d990a54 use scale const instead of magic numbers 2024-02-03 16:04:47 -08:00
0532b47fec make it build 2024-02-01 20:27:12 -08:00
40e7717aec stop error 2024-02-01 20:21:56 -08:00
3e737282dc resource query instead of hold all 2024-02-01 04:03:43 -08:00
708c0c48ef update common 2024-02-01 04:03:43 -08:00
20bbb6924e update common 2024-01-30 20:24:52 -08:00
5ee826d948 use an enum for hitbox 2024-01-30 19:37:19 -08:00
03d1550f60 add common modules 2024-01-30 19:37:19 -08:00
79b8120106 rename package 2024-01-30 17:46:34 -08:00
0d2c27f60f rename package 2024-01-30 17:46:23 -08:00
4f56b9b6bd Initial commit 2024-01-30 17:42:41 -08:00
2496f181e3 Initial commit 2024-01-30 17:41:16 -08:00
ce6f8074a9 add common dep 2024-01-29 22:56:15 -08:00
434ca29aef add common modules 2024-01-29 16:15:49 -08:00
dea408daee change the name 2024-01-29 15:18:05 -08:00
7b263ae30e Initial commit 2024-01-25 20:07:49 -08:00
d5af08730b write a bunch of binrw 2024-01-18 19:28:01 -08:00
14e7e4df29 implement some binrw stuff 2024-01-18 17:01:36 -08:00
040b607792 add binrw dep 2024-01-18 16:59:04 -08:00
5ea8a2db5f some code 2024-01-18 16:59:04 -08:00
2d420d7676 good idea 2024-01-18 15:46:18 -08:00
6f22aaeec4 temp code for improved focus 2024-01-18 15:46:18 -08:00
134e3fc79a data normalization 2024-01-18 15:46:18 -08:00
b2673f1732 Streamables 2024-01-18 15:46:18 -08:00
ec60086109 ideas 2024-01-18 15:46:18 -08:00
fc1c9e843f oopsies 2024-01-16 18:50:05 -08:00
a9504a192b License + README 2024-01-15 19:27:30 -08:00
fe2b9921b4 Initial commit 2024-01-15 19:09:34 -08:00