Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Fix particle system regression | 3711cfc1cfb24de67a75c5327b71825cad86f730 | MSE | 2024-12-24 02:08:06 |
Bugfix: clear particles on world unload | 7b324698fce599637dd36c8e2e22056b2102c98f | MSE | 2024-12-20 02:20:25 |
Support vertical billboard particles | 30d41a303b59d60439e30607b3345f5485fb1eb5 | MSE | 2024-12-20 02:12:41 |
Add continuous particle emitters | 60abc606556ec80c0c930a504da4c24e1571fbc5 | MSE | 2024-12-18 06:45:42 |
Add defaultRain field (for later use) | ecb27b40a1f17abdcdfb72f38945d1f98fabc648 | MSE | 2024-12-15 02:42:08 |
Support negative mass particles | 37a0a4bfc78adb26ba4b9ba69688738c6c7467dc | MSE | 2024-12-13 17:35:01 |
Prevent Avatar::blendTo from freezing on same animation | d990a5b32602a879e405c5e527ce3047e346bfba | MSE | 2024-09-25 02:37:26 |
Restructure Avatar::simulate | 9519e901631ea04a1a93e24504d8f37c521164d1 | MSE | 2024-09-24 06:51:15 |
Blend avatar jump animations | 8d26db0ecd4ef6a48546684e4bf2200bfea0f41b | MSE | 2024-09-20 08:19:20 |
Work on animation blending system | eb5cfcf1387131b1ec8449e671d30efd787363b2 | MSE | 2024-09-20 06:40:35 |
Update stb_truetype | 4948f1d29f33a33dc126d842d8d20f732f4cdef0 | MSE | 2024-09-18 17:38:06 |
Allow joystick to override mouse | 6aba7a71ebe0dbd67717ae5a37e1729ebfe9895c | MSE | 2024-09-15 23:13:30 |
Add weapon switching via D-pad | db14ce946f4c65ab6625875f00f82ee1b8052374 | MSE | 2024-09-15 20:10:20 |
Allow crouch to be turned off via playerCrouch flag | 024d43d877ca16d21e0feeb50d70f82acd449335 | MSE | 2024-09-15 03:02:29 |
Add configurable third-person camera pitch constraints | 9e2ebdd325515a5bc83cd49229cb099738fb9e0e | MSE | 2024-09-11 21:02:38 |
Add configurable thirdPersonCameraAutoRotateSpeed | c3104421a4df91fbda573dadcce135f8016fa40e | MSE | 2024-09-11 19:27:17 |
Fix inventory display bug | 8626c06403b025c6423ec249771598375791b6ca | MSE | 2024-09-02 23:38:01 |
Highlight agents and default MSAA to 2 | f51dcb39a8abf3d2800d074dfc9606c1c8d486ec | MSE | 2024-08-27 03:46:04 |
Fix bad math | e0ef61f3961a4d98608fb2c724cb631955ae1d82 | MSE | 2024-08-24 22:04:23 |
Smooth camera auto-rotation | 0ddcd28b59e564e123a4984d26d2ec80a9f57ec7 | MSE | 2024-08-24 21:58:32 |
File | Lines added | Lines deleted |
---|---|---|
src/fdungeon.cpp | 4 | 1 |
File src/fdungeon.cpp changed (mode: 100644) (index 59cd23f..7ca738e) | |||
... | ... | void Dungeon::unloadWorld(){ | |
710 | 710 | // Unload waypoints. | // Unload waypoints. |
711 | 711 | waypoints.clear(); | waypoints.clear(); |
712 | 712 | // Remove particles. | // Remove particles. |
713 | particleServers = {}; | ||
713 | for( auto &ps : particleServers ){ | ||
714 | ps.second.particles.clear(); | ||
715 | } | ||
714 | 716 | // Unload the water texture. | // Unload the water texture. |
715 | 717 | waterTextureName = ""; | waterTextureName = ""; |
716 | 718 | if( waterTexture.success ) | if( waterTexture.success ) |
... | ... | std::pair<bool,Agent*> Dungeon::agentFireWeapon( Agent *a, std::string weapon, s | |
3414 | 3416 | // TODO: Randomly emit weap.particleFire.num particles. | // TODO: Randomly emit weap.particleFire.num particles. |
3415 | 3417 | for(size_t i = 0; i < 1; ++i){ | for(size_t i = 0; i < 1; ++i){ |
3416 | 3418 | Particle part{}; | Particle part{}; |
3419 | part.orientation = weap.particleFire.orientation; | ||
3417 | 3420 | part.tvel = linalg::normalize(ray.second - ray.first) | part.tvel = linalg::normalize(ray.second - ray.first) |
3418 | 3421 | * weap.particleFire.vel + a->lastVel; | * weap.particleFire.vel + a->lastVel; |
3419 | 3422 | part.translation = ray.first; | part.translation = ray.first; |