Subject | Hash | Author | Date (UTC) |
---|---|---|---|
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 |
Allow free look in third-person | a8b209cdd85ae914027ffd6c04990b75e9752578 | MSE | 2024-08-24 21:26:39 |
Auto-rotate third-person camera | b9f034155274b8dc20b9f33d1fc39ce701017b0d | MSE | 2024-08-24 04:25:51 |
Use common math to rotate avatars | 75e98c52899f17d8d511e733c1445f5eb69b738a | MSE | 2024-08-24 02:03:53 |
Correct minimap rotation in third-person | 9bcf201c6b24b80b7eec2bb4b2ad296cd5d296ed | MSE | 2024-08-22 07:07:08 |
Rotate third-person agents independently of camera | d4bcdb8ff8b47d6429117002a71881812c45a3dc | MSE | 2024-08-22 06:43:19 |
Remove browser launch from package-steam | edb75b8fd4499e49f4a7893b0acf23bde9c8e5f9 | MSE | 2024-07-31 23:42:42 |
Work around a minimap regression | acc3a99e8b96af34179824bcef7a11b0d539a499 | MSE | 2024-07-18 23:44:57 |
Check noautosave flag | 185b4817614429cd43e8cdc1237fa5c9e635eff9 | MSE | 2024-07-12 01:04:06 |
Make MSAA a setting (default 0) | e236f9370b87befa80f03118bd269ced22953868 | MSE | 2024-07-12 00:44:19 |
Use maxTurn for AI rotation speed | b43198bfbc9a9cfe88caf6dabb40aaf55fa5e7b6 | MSE | 2024-07-05 17:34:02 |
Add -DNO_OPENGL3, which seems to help with building for Windows | 3fc75eb3ce6186e4fe34a155b138ac6bfaea74e4 | MSE | 2024-07-03 17:32:43 |
Add sheen to water edge | ecb869a7849857e06f83b3e58a7abc118badcf95 | MSE | 2024-07-02 23:33:16 |
Copy globals from multiple convos on new game (enables 3D title screens) | b7af9cf230da946e04edf1e3e2ed6731b9bfcfbc | MSE | 2024-07-02 04:52:46 |
Work around world floor regression | 46115bf455166ca407a8e99babbb0b0ea6f6bf5b | MSE | 2024-06-22 06:38:58 |
Make static models destroyable | 82b787e2bc63b07d67cac610098580e7aafc054f | MSE | 2024-06-22 06:14:32 |
Make static avatars killable | 76f5731a518512057d7868e6c3f4d24825d74005 | MSE | 2024-06-22 03:26:48 |
File | Lines added | Lines deleted |
---|---|---|
src/inventory.cpp | 4 | 1 |
File src/inventory.cpp changed (mode: 100644) (index 4b1b6c9..9414a42) | |||
... | ... | void DrawInventory( | |
89 | 89 | ); | ); |
90 | 90 | // Draw icons and counts. | // Draw icons and counts. |
91 | 91 | float x = start_x, y = start_y; | float x = start_x, y = start_y; |
92 | int i = 0; | ||
92 | 93 | for(auto &instance : inventory){ | for(auto &instance : inventory){ |
93 | 94 | fgl::Texture *icon = nullptr; | fgl::Texture *icon = nullptr; |
94 | 95 | std::map<std::string,std::string> *names, *descriptions; | std::map<std::string,std::string> *names, *descriptions; |
... | ... | void DrawInventory( | |
163 | 164 | } | } |
164 | 165 | glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); | glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); |
165 | 166 | x += item_size * vnScale; | x += item_size * vnScale; |
166 | if(x >= bw){ | ||
167 | i++; | ||
168 | if(i > grid_size){ | ||
169 | i = 0; | ||
167 | 170 | x = start_x; | x = start_x; |
168 | 171 | y += item_size * vnScale; | y += item_size * vnScale; |
169 | 172 | } | } |