Compare commits

...

1575 Commits

Author SHA1 Message Date
justin b979d92db6 Cleanup 2026-06-04 09:58:21 +01:00
justin 03f83fc924 Work on chase crit animations, eating dead bees 2026-05-28 22:55:52 +01:00
justin eb817d34ef Fix slime suck bug 2026-05-18 19:25:07 +01:00
justin 3119f10c2c Use getInventoryPath in useInventoryPath 2026-05-18 15:49:03 +01:00
justin 9fb5a4e0be Tab scrolls through inventory sections 2026-05-18 13:58:00 +01:00
justin d29c2dbd0c Slightly bulge slime when swallowing projectile 2026-05-18 12:18:34 +01:00
justin e8738715e5 Slimes absorb projectiles 2026-05-18 11:45:27 +01:00
justin 6251e43db8 Tweak shift selection 2026-05-18 10:11:25 +01:00
justin b353263b0e Allow close items to be collected using selection sets 2026-05-18 10:02:24 +01:00
justin e8d09f773c Cleanup 2026-05-18 09:32:37 +01:00
justin 42fd6f783f Fix bug pickup up items scrolling down by inventory position 2026-05-18 09:25:55 +01:00
justin 3ee29f30f3 Allow to pick up item under cursor when in inventory 2026-05-18 09:14:56 +01:00
justin 794d733c83 Cleanup item swapping 2026-05-18 08:59:41 +01:00
justin 75734d06af Cleanup 2026-05-17 23:52:17 +01:00
justin 8010335ffe Allow drag selection box sizes to differ from selected box sizes
More tweaking needs to be done, after deciding a max width for selection
items.
2026-05-17 23:09:33 +01:00
justin 70479b6e79 Work on preserving selections when picking up multiple items 2026-05-17 14:25:35 +01:00
justin 580619280a Cleanup 2026-05-17 10:08:51 +01:00
justin 0386683670 Cleanup 2026-05-17 00:01:48 +01:00
justin 16def12959 Cleanup, display more information for floor items 2026-05-16 14:11:16 +01:00
justin ec969c924a Remove _ilIsSelected, _ilIsRoot 2026-05-16 12:45:14 +01:00
justin ef70c85b79 Correction to last commit: remove _ilIsAttached 2026-05-16 12:37:31 +01:00
justin e521a1572a Remove _ilIsSelected 2026-05-16 12:37:04 +01:00
justin 4bcea5e772 Fix item location bug 2026-05-16 12:21:19 +01:00
justin db2ce72076 Highlight dropped items, work towards fixing pickup selection change 2026-05-16 10:04:28 +01:00
justin 569ea1e1ab Work on inventory dragging 2026-05-15 22:52:32 +01:00
justin d5ed27f57c Simplify drag mouse context 2026-05-15 22:17:16 +01:00
justin 3a2e92169b Work on inventory dragging 2026-05-15 22:02:17 +01:00
justin e56a953c9b Cleanup inventory management, tweak dragging start 2026-05-15 10:35:17 +01:00
justin 17f8707f62 Fix bug in manObject update when dropping items 2026-05-14 21:46:08 +01:00
justin c70097f1e1 Remove duplicated selection/manipulation positions
Needs more testing to make sure it all works properly
2026-05-14 20:40:46 +01:00
justin 06b984c2e5 Start collapsing manipulated item code with selection code 2026-05-14 14:24:57 +01:00
justin 59d128f87a Move towards unifying (your) creature manipulation with selection 2026-05-14 13:42:33 +01:00
justin ab393febcb Work on selections when picking up/droping items 2026-05-14 11:40:58 +01:00
justin 44ecaf409e Work on selecting 2026-05-13 16:07:44 +01:00
justin 2d731ae1ba Work on selection sets 2026-05-13 15:33:57 +01:00
justin 9df23c27c2 Cleanup dragging 2026-05-13 11:58:41 +01:00
justin 91480c957d Change selection set to work for multiple sections 2026-05-13 11:18:52 +01:00
justin e4bd971017 Commit before rethinking selection sets 2026-05-12 08:05:39 +01:00
justin b213525c21 Cleanup Action datatypes, clear sel set if scroll different section 2026-05-10 23:32:59 +01:00
justin dfb451c450 Cleanup, change creature height from Maybe Float to Float 2026-05-09 19:50:53 +01:00
justin 72056e5e3e Fix bee slime mounting 2026-05-09 17:46:27 +01:00
justin 437ca007ef Cleanup 2026-05-09 09:05:42 +01:00
justin fada3c73bc Hack to prevent slime split error 2026-05-09 00:13:56 +01:00
justin 12e4a278d0 Smooth out slime splitting
There are probably possible errors from the use of cutPoly
2026-05-08 23:44:28 +01:00
justin 34d8425520 Speed up slime rad change 2026-05-08 10:50:36 +01:00
justin ad998fb622 Remove destroyed creatures rather than setting flag
Sill only set flag for avatar
2026-05-08 10:45:05 +01:00
justin 84e95da2b5 Cleanup 2026-05-08 10:10:06 +01:00
justin 7c1ada4546 Simplify slime compression 2026-05-07 10:04:42 +01:00
justin b76148ae2a Track slime amount using ints 2026-05-06 15:40:31 +01:00
justin e927de6508 Improve bee crit update 2026-05-05 20:41:09 +01:00
justin 62a9f34a26 Simplify bee harvesting 2026-05-05 09:43:17 +01:00
justin 1ec855c2fc Tweak debug/fixed render, depthfunc always 2026-05-04 21:41:16 +01:00
justin 5d5d0a539b Add debug to copy to clipboard any clicked-on creature 2026-05-04 21:17:22 +01:00
justin 6b3d75cbb2 Tweak melee movement 2026-05-03 08:17:42 +01:00
justin aef3671063 Work on bee movement 2026-05-02 22:08:06 +01:00
justin b827827951 Tweak slime wall collisions, all creatures cliff collisions (min 10) 2026-05-02 19:46:12 +01:00
justin b7aea0eb1f Tweak bee speed 2026-05-02 16:01:22 +01:00
justin 31f24283d7 Add bee random movement 2026-05-02 15:55:59 +01:00
justin 199f1b11b5 Commit before simplifying actions 2026-04-29 20:58:13 +01:00
justin cfe34555b3 Add stretch animation to feeding bees 2026-04-29 20:21:20 +01:00
justin 39bc480c03 Cleanup 2026-04-28 22:37:33 +01:00
justin 284ea32333 Allow bees to target chase crits 2026-04-27 22:29:57 +01:00
justin 259325f81f Improve creature turning wrt inertia 2026-04-27 22:23:39 +01:00
justin f4c59612ea Improve bee pheremones 2026-04-26 09:14:55 +01:00
justin 264651d34a Prevent rooted creatures from being pushed by other creatures 2026-04-25 09:04:01 +01:00
justin e0e346aade Add damage origins 2026-04-24 20:34:20 +01:00
justin 011286ccb5 Work on bee aggression 2026-04-23 10:55:24 +01:00
justin d06660fd06 Add bee pheremones 2026-04-23 10:30:43 +01:00
justin f6e257464d Work on bee movement 2026-04-23 09:09:16 +01:00
justin b5bfd365b9 Work on bee/slime pincushion 2026-04-20 22:35:30 +01:00
justin 73798ba07c Commit before modifying slime compression 2026-04-20 20:14:59 +01:00
justin adae6b84f4 Add bee crits 2026-04-20 12:25:39 +01:00
justin 722a25240e Work on creature destruction/damage update 2026-04-16 17:31:53 +01:00
justin 033991ad3f Tweak minigun muzzle pos 2026-04-16 13:01:07 +01:00
justin 5745541e13 Cleanup 2026-04-16 09:41:45 +01:00
justin 1f855e1321 Refactor slime update 2026-04-16 09:38:55 +01:00
justin 9d1ab2cf14 Tweak slime sucking 2026-04-16 09:13:12 +01:00
justin 9e215b474f Slow down slime feeding 2026-04-16 08:43:53 +01:00
justin a0ff15fe61 Add pop sound 2026-04-16 00:19:56 +01:00
justin a060ed817c Fix slime splitting position 2026-04-16 00:02:13 +01:00
justin 7fee343d00 Allow sounds to play after death 2026-04-15 23:52:37 +01:00
justin a8b79a59c7 Allow slime to eat creatures 2026-04-15 23:40:04 +01:00
justin 9710bb5c83 Add slime sounds 2026-04-15 22:24:01 +01:00
justin c3d9a24735 Work on slime crit split/combining 2026-04-15 20:54:26 +01:00
justin 02e26c368c Add compass item 2026-04-14 21:07:46 +01:00
justin ce8ddc6414 Add function for cutting polygons 2026-04-14 16:37:51 +01:00
justin 431e64fbfb Improve bullet hit detection 2026-04-13 20:26:34 +01:00
justin b8bec2c830 Work on slime crits 2026-04-13 19:54:11 +01:00
justin 8a57aa2f2c Slime crit collisions 2026-04-12 19:11:01 +01:00
justin f0da9b5f8c Allow slimes to recombine 2026-04-12 13:44:05 +01:00
justin d075880248 Destruction of slime crits 2026-04-12 09:09:17 +01:00
justin 6f2e862c65 Implement slime splitting 2026-04-11 23:53:54 +01:00
justin 5052ee7a9e Add slime crit, start work on slink crit 2026-04-11 19:09:49 +01:00
justin 95a6c90d01 Change crab footstep sound 2026-04-10 12:40:36 +01:00
justin f19e165571 Fix terminal shape 2026-04-10 11:19:16 +01:00
justin b197e22de7 Make creatures rotate when falling down chasms 2026-04-10 10:25:09 +01:00
justin c861de8981 Cleanup 2026-04-10 09:57:45 +01:00
justin a29cb8565a Work on crab corpse 2026-04-10 09:48:06 +01:00
justin 8faaf54f2c Work on crab crit 2026-04-10 09:07:04 +01:00
justin ea6f4b2054 Work on crab feet 2026-04-09 22:24:38 +01:00
justin c8a06bc084 Add randomness to multiple crab evasions 2026-04-09 13:28:39 +01:00
justin 0a8a2210c0 Work on crab feet 2026-04-09 10:01:11 +01:00
justin 52d389f342 Work on crab crit 2026-04-08 23:47:22 +01:00
justin 77c0680bd5 Tweak corpse cliff interaction 2026-04-08 23:13:19 +01:00
justin 34192777a6 Add randomness to chase crit corpses 2026-04-08 23:11:36 +01:00
justin 68eaf84ec2 Work on crab crit hammers 2026-04-08 23:03:28 +01:00
justin 707ccae971 Work on crab 2026-04-07 23:22:56 +01:00
justin 333f2875cb Work on crab evasion 2026-04-07 17:24:53 +01:00
justin f0e568e694 Add crab crit, rethink Action datatype slightly 2026-04-07 15:29:02 +01:00
justin 35d169b585 Improve drag inventory selection 2026-04-06 19:01:57 +01:00
justin 608de9f2ed Tweak drag pickup/drop 2026-04-06 18:18:41 +01:00
justin 9d7c9f1db2 Tweak inventory manipulation 2026-04-06 18:07:35 +01:00
justin 262463c52d Cleanup 2026-04-06 11:43:18 +01:00
justin 21573d0b05 Cleanup 2026-04-06 11:38:21 +01:00
justin 9e29550a20 Tweak mouse cursor 2026-04-06 10:20:47 +01:00
justin 4723b45ef6 Tweak terminal screen drawing 2026-04-06 10:03:48 +01:00
justin c041a4d174 Improve window dragging 2026-04-06 01:12:25 +01:00
justin 1f52c4b588 Work on boundaries for dragging windows 2026-04-06 00:52:09 +01:00
justin ed28af8d11 Make displayed terminal text screen dragable 2026-04-05 23:45:38 +01:00
justin 017e92470e Cleanup 2026-04-05 15:18:00 +01:00
justin d5c98f7c4e Tweak creature cliff interaction, using updateCarriage 2026-04-05 15:14:50 +01:00
justin 22a1162e14 Work on chase crit corpse 2026-04-05 10:16:20 +01:00
justin 73dfd1f319 Improve falling, hover corpse 2026-04-05 09:31:25 +01:00
justin 3952b2b1b7 Make falling creatures land on cliff corners 2026-04-05 09:07:31 +01:00
justin b3b1fc6d87 Cleanup 2026-04-04 20:55:39 +01:00
justin def204d211 Creature springs checks for heights 2026-04-04 08:33:09 +01:00
justin 615295ca3e Improve falling, remove stride advance while falling 2026-04-03 21:25:05 +01:00
justin 348a1d7537 Stop you from having wasd control while falling 2026-04-03 21:14:59 +01:00
justin 30b0bb55c0 Allow for more variation in death timers 2026-04-03 21:06:53 +01:00
justin 789b94b514 Remove _crZVel 2026-04-03 20:52:57 +01:00
justin dc30f7ca15 Continue tweaking movement, remove _crMvAim 2026-04-03 20:50:41 +01:00
justin 47ecfb7fd3 Test making walking movement slightly more floaty 2026-04-03 19:52:56 +01:00
justin 2b2ac53466 Improve gibs 2026-04-03 16:47:06 +01:00
justin e8069073b5 Hover death sounds 2026-04-03 16:34:15 +01:00
justin 07006ee5b5 Add whine to hover crit 2026-04-03 16:31:17 +01:00
justin 1d8594dff4 Cleanup 2026-04-03 15:45:43 +01:00
justin d15fbc902c Add action to perform on pathing failure 2026-04-03 15:45:16 +01:00
justin 2d1cf4b371 Improve chaseCrit shape 2026-04-03 15:31:11 +01:00
justin 921f860e83 Cleanup your aim posture 2026-04-03 15:11:53 +01:00
justin de7f430c2a Stop pain jitter moving feet 2026-04-03 15:05:11 +01:00
justin c4d65094d8 Fix CloseToMelee bug
The problem was not updating the strategy to WarningCry.
The whole procedure needs more work.
2026-04-03 14:52:27 +01:00
justin 532628c6da Tweak perception. Bug: CloseToMelee is not getting applied 2026-04-03 14:38:37 +01:00
justin 4e415a41ed Unify some perception updates 2026-04-03 12:13:29 +01:00
justin b7b42f50a5 Move stride/footforward datatypes 2026-04-03 11:21:09 +01:00
justin d65a4529be Work on Falling carriage type 2026-04-03 11:03:05 +01:00
justin 43a5817ef3 Work on Falling carriage state 2026-04-03 10:32:54 +01:00
justin 18dc469408 Tweak corpse/chasm interaction 2026-04-03 09:14:18 +01:00
justin b4d7c43307 Add placeholder sound for hover crit alert 2026-04-03 00:37:54 +01:00
justin 8037c69d16 Tweak hover crit height 2026-04-03 00:10:59 +01:00
justin 06c7e89dee Work on flying creature inertia 2026-04-02 22:04:58 +01:00
justin ff903bfb3b Generalise pathing, usable with flying creatures 2026-04-02 19:30:44 +01:00
justin c2de804fa9 Simplify creature stride length 2026-04-01 20:46:48 +01:00
justin 735cc8d92d Simplify vocalization 2026-04-01 20:30:31 +01:00
justin b77170c4bc Add HoverCrit 2026-04-01 19:19:14 +01:00
justin cf912279d6 Remove unused datatype 2026-04-01 19:06:56 +01:00
justin a7ff096d30 Cleanup 2026-04-01 19:02:26 +01:00
justin 7a921b8967 Automatically inherit tile positioning 2026-04-01 18:27:53 +01:00
justin e50fdb8807 Fix inherited tile positioning 2026-04-01 18:01:11 +01:00
justin c504d3c511 Tweak tutorial 2026-04-01 17:15:01 +01:00
justin ac32ebba2b Improve debris 2026-04-01 17:01:25 +01:00
justin 97134e2652 Add movement on chaseCrit vocalization 2026-04-01 16:45:35 +01:00
justin c1bddbae20 Work on chase crit shape 2026-04-01 16:21:19 +01:00
justin 6d1cdcc9f3 Work on chase crit shape 2026-04-01 13:46:27 +01:00
justin 5f886106e2 Add smoothing to feet, start new chase crit picture 2026-04-01 12:12:17 +01:00
justin 579d5296b1 Tweaks 2026-04-01 11:45:25 +01:00
justin 09fc2bb48e Tweak posture 2026-04-01 11:02:24 +01:00
justin ff4fa52206 Smooth hand movement 2026-04-01 10:45:58 +01:00
justin aea7e6434e Work on weapon positioning 2026-04-01 10:04:22 +01:00
justin ecdc19fb5e Tweak posture 2026-03-31 22:50:53 +01:00
justin 074d354970 Improve debris slightly 2026-03-31 21:57:15 +01:00
justin 5701261ace Make machines have footprint like doors 2026-03-31 20:29:30 +01:00
justin dea4c0dffe Commit before trying to add machine footprint 2026-03-31 13:57:48 +01:00
justin 6bcf03b30d Work on weapon positioning, analyser terminal positioning 2026-03-31 13:16:24 +01:00
justin ab04516279 Fix creature collision bug 2026-03-30 23:42:14 +01:00
justin c66b2fb299 Tweak muzzle push out 2026-03-30 21:14:57 +01:00
justin 633bf479b2 Make weapon position relative to hand positions, wonky for now 2026-03-30 21:10:20 +01:00
justin d00b4d1c6f Muzzle pushback direction depends only on wall line 2026-03-30 20:30:18 +01:00
justin c7866cf668 Move hands to touch walls 2026-03-30 15:50:25 +01:00
justin 4598deb70f Hlint, cleanup 2026-03-30 09:29:50 +01:00
justin 1919757fca Add alcoves for switches in push room 2026-03-29 19:48:31 +01:00
justin 00999f5921 Add lenses for SPic and MountedObject positions 2026-03-29 16:38:48 +01:00
justin d278083947 Check whether tests compile in ghcid 2026-03-29 15:50:58 +01:00
justin 7b9635fe53 Improve hand positioning 2026-03-29 12:03:12 +01:00
justin 38e2bd222e Cleanup creature shape 2026-03-29 11:20:57 +01:00
justin a791c44854 Improve creature stride 2026-03-29 10:46:05 +01:00
justin 08fcc4baab Improve wall crushing 2026-03-28 21:43:06 +00:00
justin 2db4e9bc6e Add variations to slowCrushRoom 2026-03-27 11:55:52 +00:00
justin da87e1bccd Work on crush rooms 2026-03-27 10:36:48 +00:00
justin ac09ed6629 Improve carriage/stride when falling down pit 2026-03-27 00:33:19 +00:00
justin fed607681b Cleanup 2026-03-26 23:35:12 +00:00
justin 8b088425a9 Stop gibbed/pitted creatures from pushing other creatures 2026-03-26 23:09:23 +00:00
justin 9e42bb4117 Cleanup 2026-03-26 20:32:52 +00:00
justin 0ddedf7fd6 Improve wall squashing further 2026-03-26 20:25:59 +00:00
justin 62a37388e7 Remove recursive WdWd 2026-03-26 19:33:02 +00:00
justin 01b765300e Improve door crushing 2026-03-26 19:21:10 +00:00
justin 31d7a00ecf Crush run-past room 2026-03-26 18:24:42 +00:00
justin 9081bdc97f Tweak lasers 2026-03-26 16:17:34 +00:00
justin 80ef7ec909 Beamsplitter attachment for lasers 2026-03-26 15:51:16 +00:00
justin c53e60b956 Improve pulse laser/ball hit detection 2026-03-26 15:07:33 +00:00
justin 40f5d22d88 Cleanup 2026-03-26 13:03:58 +00:00
justin 5a6479faa8 Cleanup 2026-03-26 12:53:56 +00:00
justin 7999373b69 Sometimes crush creatures when doors close on them 2026-03-26 12:39:54 +00:00
justin e01029d06d Improve scroll selection 2026-03-24 19:51:32 +00:00
justin 8ff2f37af5 Improve scroll selection/inventory modification 2026-03-24 19:21:04 +00:00
justin 5b297643db Improve mouse click rotation 2026-03-24 11:46:36 +00:00
justin 32f1740577 Cleanup, improve auto wall rotate 2026-03-24 11:28:11 +00:00
justin be2f7160ba Cleanup 2026-03-24 09:38:32 +00:00
justin 832bebb597 Improve doors 2026-03-24 00:35:15 +00:00
justin 7917192b77 Stop gibbed/pitted creatures from opening doors 2026-03-23 22:59:35 +00:00
justin daba012e83 Improve chasm falls, add ear clipping 2026-03-23 19:35:07 +00:00
justin 505ced95bb Work towards convex partition of polygons 2026-03-22 13:41:45 +00:00
justin 1a3d54e3b5 Add decorations to chasmspit room 2026-03-21 23:58:12 +00:00
justin 5394450800 Work on rooms 2026-03-21 18:48:44 +00:00
justin b52964f606 Work on rect sensor rooms 2026-03-19 12:07:31 +00:00
justin 4984ce95c3 Work on rectangular sensor room 2026-03-19 12:00:19 +00:00
justin 508b848204 Function for adding random lights to roomNGon 2026-03-19 11:40:49 +00:00
justin d1c2870d63 Automatically order placements 2026-03-17 23:38:14 +00:00
justin 3b4cf68a15 Work on room generation/laser run past 2026-03-17 21:50:28 +00:00
justin 13b12f01a8 Delete location double trees 2026-03-17 15:37:15 +00:00
justin 96c2fb00e1 Comment out LDTs 2026-03-17 15:31:24 +00:00
justin 4cacb45252 Allow for pump attachment to flamethrower 2026-03-17 15:16:24 +00:00
justin 902d8e0c00 Add PlasmaBalls 2026-03-17 10:45:58 +00:00
justin 0ca3bf33c9 Tweak turret health 2026-03-16 13:08:24 +00:00
justin 8d4efb1f8e Add sweep to laser turret 2026-03-16 12:13:37 +00:00
justin 1af6148615 Work on lasRun rooms 2026-03-15 17:11:06 +00:00
justin d333d48ccf Work on laser run past rooms 2026-03-14 19:08:23 +00:00
justin 74e6be2f95 Anothing laser run past room 2026-03-13 14:17:34 +00:00
justin 0044698a5a Circular laser run past room 2026-03-13 11:59:26 +00:00
justin f28a59e7a3 Add laser run past rooms 2026-03-13 10:02:29 +00:00
justin be72daf6d5 Add machine direction to turret direction 2026-03-12 17:58:54 +00:00
justin 24af6a731b Improve segment intersection test, tweak room bounding 2026-03-12 15:23:37 +00:00
justin 65383e2303 Stop intersectSegSegTest returning True for collinear line pairs 2026-03-12 13:37:56 +00:00
justin cdc21c9fb1 Tweak tutorial room 2026-02-28 18:34:40 +00:00
justin 92891e291a Hack fix bug when generating world with no chasms
Bug occured because we try to create an empty glNamedBufferStorage,
instead just create a dummy storage with space for one element.
2026-02-25 20:07:19 +00:00
justin c2c139c8aa Work on tutorial rooms with laser turret 2026-02-25 20:00:37 +00:00
justin 8ae58823f8 Stun turrets with electrical damage directly 2026-02-15 17:15:08 +00:00
justin a9e80809e8 Damage sense through immediate damage to machines 2026-02-15 11:01:20 +00:00
justin af8f803404 Handle machine damage/destruction during wall damage 2026-02-11 17:59:08 +00:00
justin 38eef8fd54 Tweak corpses 2026-02-11 09:57:01 +00:00
justin e608664f11 Gut sounds when gibbing 2026-02-10 23:40:04 +00:00
justin ed86d310d5 Corpses fall down cliff edges 2026-02-10 23:19:44 +00:00
justin 1d85ee6330 Rotate camera on chasm edges 2026-02-08 14:32:30 +00:00
justin db24b0ffa6 Use circles instead of points for zome wall zones 2026-02-03 13:48:15 +00:00
justin be6acfa58b Update tutorial rooms 2026-02-02 22:45:29 +00:00
justin 68609c9d54 Tweak bullet hit sound 2026-02-02 22:28:06 +00:00
justin 3b7e33cab8 Tweak ledge room, rename roomRectAutoLinks 2026-02-02 10:44:27 +00:00
justin f3aaf8ba57 Room with doors and central ledge terminal 2026-02-01 22:23:06 +00:00
justin a6976eae8d Non-convex chasms 2026-01-26 10:59:51 +00:00
justin 962df63e62 Remove mtl dependency 2026-01-23 09:59:18 +00:00
justin a464d4dc38 Improve wrist forcefield positioning
Not perfect for left wrist when aiming two handed twist weapons
2026-01-22 21:19:40 +00:00
justin f1c63abdc3 Simplify some attachment use types 2026-01-02 21:45:12 +00:00
justin 3cc439b877 Cleanup defaults 2026-01-02 21:33:00 +00:00
justin 02da762f2f Orient alteRifle ammo 2026-01-02 21:14:19 +00:00
justin c02a1fd212 Orient volleygun ammo attachments 2026-01-02 20:25:56 +00:00
justin 736d0494c4 Improve minigun spinning shape 2026-01-02 20:03:25 +00:00
justin 030a021aa1 Tweak inventory display 2026-01-02 19:33:28 +00:00
justin d68cb97f6b Tweak rmb cursor display 2026-01-02 18:55:40 +00:00
justin 376ce4462c Improve drawRBOptions positioning 2026-01-02 18:36:35 +00:00
justin 71f56c0638 Allow for creature death sounds 2026-01-02 15:06:02 +00:00
justin b414da7dab Fix flatshield wall creation and remove muzzle 2026-01-02 12:34:17 +00:00
justin f6f63c9a14 Remove graphviz dependency 2026-01-02 11:40:14 +00:00
justin 3b4e24b74f Disable face culling on fixed layer, for aim sweep reverse winding 2026-01-02 11:34:45 +00:00
justin 804e4eb1e2 Cleanup 2026-01-02 11:07:47 +00:00
justin 119234af89 Fix picture vertex buffering bug 2026-01-02 10:58:28 +00:00
justin 2c978b4de1 Move towards resolving picture rendering bug
The bug concerns a mutable vector storing the amount of data that has
been poked.
2026-01-01 23:44:18 +00:00
justin 0a8725f68d Implement (broken) push away from walls according to muzzle pos 2026-01-01 11:10:00 +00:00
justin 5b5a12be6e Simplify and improve distributer 2025-12-31 13:31:08 +00:00
justin fa07f989c2 Add sound for distributer 2025-12-31 13:06:46 +00:00
justin 6db7efece1 Cleanup 2025-12-30 20:52:04 +00:00
justin 579b82b4ed Cleanup 2025-12-30 19:55:39 +00:00
justin 91aac70edf Cleanup 2025-12-30 19:39:30 +00:00
justin 26b4b77ff6 Fix terminal scrolling 2025-12-30 19:28:05 +00:00
justin 4390a82d64 Work on terminal tab completion/scrolling 2025-12-28 18:16:24 +00:00
justin bb376b0a56 Work on tab completion 2025-12-26 21:49:39 +00:00
justin 2fd4a3d2e3 Add sounds 2025-12-26 20:45:24 +00:00
justin 60a69d0092 Improve handle position for one handed at ease carry 2025-12-26 16:58:25 +00:00
justin b446ff2366 Add sound, cleanup 2025-12-26 16:53:10 +00:00
justin 50e9a65404 Cleanup 2025-12-26 16:04:45 +00:00
justin 157d63a714 Add sound, cleanup 2025-12-26 16:01:07 +00:00
justin 3f7eeb871c Cleanup 2025-12-26 15:43:21 +00:00
justin 3c07069adc Introduce destructible switches 2025-12-26 15:10:37 +00:00
justin 29394e86a3 Unify background machine sounds 2025-12-26 12:49:49 +00:00
justin 337e786f33 Add some background sounds to machines 2025-12-26 12:30:05 +00:00
justin 2575ccc0f4 Limit terminal display to 13 lines, terminal displays with padding 2025-12-26 11:53:36 +00:00
justin 589cfd6d79 Remove heading from terminal display 2025-12-26 11:48:41 +00:00
justin 98c411c581 Cleanup 2025-12-26 11:43:13 +00:00
justin de5a5854bf Make distribution terminal handle its own sound 2025-12-26 11:42:18 +00:00
justin ada80fb925 Add sounds when distributing ammo 2025-12-26 11:35:14 +00:00
justin 2f935a0d41 Tweak inventory display 2025-12-26 11:05:34 +00:00
justin 2cb9fb153a Add hacky block shadow to inventory items 2025-12-26 10:41:21 +00:00
justin b9a6bd5f67 Make Nearby Items subheading disappear if none nearby/not filtering 2025-12-24 22:14:13 +00:00
justin 27cb05b8f7 Only update stride amount when actually moving 2025-12-24 22:02:43 +00:00
justin 8e484e37a9 Fix distributer not to take ammo from overfilled magazines 2025-12-24 21:01:49 +00:00
justin 225ee310ad Tweak drawRBOptions, still not completely correct 2025-12-24 20:54:36 +00:00
justin faa40bdd9f Clicking on button in inventory list activates button 2025-12-24 20:25:06 +00:00
justin de6bbe7697 Fix terminal mouse over positioning 2025-12-24 20:10:03 +00:00
justin 3cdab08184 Limit terminal input to 42 characters 2025-12-24 17:00:36 +00:00
justin c96c18b9aa Cleanup 2025-12-24 16:49:51 +00:00
justin a1c20c56ce Cleanup 2025-12-24 16:43:36 +00:00
justin 8cd2625548 Cleanup, hide item selection cursor when in terminal 2025-12-24 13:45:38 +00:00
justin 6becda01d5 Add connector between terminal button and temrinal display 2025-12-23 22:54:56 +00:00
justin 34c86c6a1b Draw cursor over close button of displayed terminal 2025-12-23 22:33:19 +00:00
justin 9e8b847940 Work on terminal text display 2025-12-23 22:02:38 +00:00
justin 238d6b8799 Add border to terminal display 2025-12-23 15:43:56 +00:00
justin 183bb16fca Add custom hlint rules 2025-12-21 22:05:26 +00:00
justin 51c52ace7d More hlinting 2025-12-21 19:27:49 +00:00
justin 2fbaa47c0b First commit on new machine, some hlinting 2025-12-21 18:43:52 +00:00
justin eac80d2b43 Tweak ammo distribution 2025-12-09 23:51:33 +00:00
justin f6e0514408 First implementation of ammo distribution via machine 2025-12-09 23:35:02 +00:00
justin 851b26262a Allow for inventory item bolding 2025-12-09 22:46:57 +00:00
justin bf8c538491 Draw all bloom layers 2025-12-09 10:37:20 +00:00
justin 2b923cd4b6 Simplify analyser machine 2025-12-09 10:10:50 +00:00
justin 23949b02af Simplify analysers 2025-12-09 10:04:45 +00:00
justin 928eab3fd7 Add (cosmetic, indestructible) pipe connecting storage/distributer 2025-12-08 23:09:17 +00:00
justin 8b028c7f94 Start adding machines for storing/distributing items 2025-12-08 22:37:43 +00:00
justin 9e98cdc34b Simplify facade shape coloring 2025-12-07 20:19:27 +00:00
justin 79f86a3158 Simplify tank decorations 2025-12-07 20:11:54 +00:00
justin 6e5d2f147a Remove explicit external terminal color record 2025-12-07 14:24:11 +00:00
justin 1d53ff4277 Tweak charmap; tweak zoom 2025-12-07 12:16:46 +00:00
justin b18ccf12bf Change camera auto zoom to use ratios 2025-12-07 11:57:18 +00:00
justin 126fe4d4e7 Tweak zooming speed 2025-12-06 00:28:41 +00:00
justin 189c3da84f Zoom in when spawning 2025-12-06 00:04:00 +00:00
justin f9ce58b409 Add sound on spawn, allow for filtering of to play sounds 2025-12-05 23:19:06 +00:00
justin a4f8369420 Simplify explosions 2025-12-05 12:05:30 +00:00
justin 4777b94dfc Tweak projectile wall collision position 2025-12-05 10:33:20 +00:00
justin 0a34db312f Add text messages on loading screens 2025-12-05 10:29:16 +00:00
justin 14d50c4242 Cleanup 2025-12-02 22:40:17 +00:00
justin fd401db97f Simplify dust update 2025-12-02 22:25:14 +00:00
justin 22646d1702 Simplify cloud/dust update 2025-12-02 22:20:41 +00:00
justin b2cb8cfe11 Split gasses and clouds 2025-12-02 21:47:17 +00:00
justin 984a114310 Simplify clouds 2025-12-02 21:28:10 +00:00
justin 5dbb67349b Revert "Simplify clouds"
This reverts commit bd50262ca4.
2025-12-02 21:26:28 +00:00
justin 5d0fc10372 Revert "Tweak clouds, bad flicker when fading out with lower clouds beneath"
This reverts commit 8f208189cc.
2025-12-02 21:26:06 +00:00
justin 8f208189cc Tweak clouds, bad flicker when fading out with lower clouds beneath 2025-12-02 21:14:26 +00:00
justin bd50262ca4 Simplify clouds 2025-12-02 21:02:07 +00:00
justin c89d5af6a3 Make clouds use specific upscale filter, break cloud render over walls 2025-12-02 12:43:56 +00:00
justin 25efce7a89 Graphic tweaks/cleanup 2025-12-01 12:37:54 +00:00
justin 1635ce0176 Use downscaling to sixteenth res for bloom 2025-11-30 11:47:14 +00:00
justin 6ebf3f4ef7 Try to set glScissor more sensibly
Not sure what this should be yet though
2025-11-29 15:28:51 +00:00
justin 974f3e96c9 Play with upscaling filters 2025-11-29 09:44:12 +00:00
justin c5c494522c Play with upscaling shaders 2025-11-27 21:59:52 +00:00
justin 2a4fc97125 Tweak cloud lighting 2025-11-25 22:45:48 +00:00
justin a613870d77 Tone down pixel upscaling, removes artifacts 2025-11-25 22:39:09 +00:00
justin 331d0cce73 Play around with upscaling pixel filtering 2025-11-25 21:59:49 +00:00
justin 4cc8f05407 Cleanup 2025-11-25 11:52:04 +00:00
justin 1d177a7e16 Use mipmaps when downscaling bloom 2025-11-25 11:28:37 +00:00
justin c0cfadbdd3 Move towards pixel upscaling filter 2025-11-25 11:04:06 +00:00
justin f5a972d9e2 Bind dummy vao once during preloadRender; fix texture shader normals 2025-11-24 12:54:57 +00:00
justin 65d7b93a32 Draw to fullscreen using one triangle 2025-11-23 22:26:06 +00:00
justin 5f29c20d39 Add marimba sounds for crystal hits 2025-11-23 19:39:07 +00:00
justin 92e4552f66 Work on windows 2025-11-23 19:08:22 +00:00
justin 581d832569 Add a base to blocks 2025-11-23 14:14:37 +00:00
justin 2cffe81b75 Slightly restrict texture sizes 2025-11-23 11:00:47 +00:00
justin 74c02291c1 Quick hack to make window rendering passable
Before windows drew even on black backgrounds
2025-11-23 00:24:14 +00:00
justin 229350120a Cleanup 2025-11-22 11:53:18 +00:00
justin 4e6876c983 Cleanup 2025-11-22 11:47:35 +00:00
justin b1bd52b09e Hlint 2025-11-22 11:31:06 +00:00
justin a381633dc8 Fix resetting of immutable chasm/floor data storage on new world load 2025-11-22 11:27:41 +00:00
justin 54ca961496 Cleanup 2025-11-21 20:57:10 +00:00
justin 4d245fe232 Fix facing of cursor backdrop 2025-11-21 17:56:10 +00:00
justin 9796ec576f Test 2025-11-21 17:34:42 +00:00
justin 3e86b6e20a Fix chasm draw bug 2025-11-21 17:31:21 +00:00
justin 94dce64f29 Tweak crystal airlock 2025-11-21 13:27:31 +00:00
justin dc1dca8aa0 Make laser fire above corpses 2025-11-21 12:02:14 +00:00
justin 8bc2d6961f Cleanup 2025-11-21 11:34:06 +00:00
justin 71e7b51c88 Remove distortion framebuffer/graphic resolution option 2025-11-21 11:32:30 +00:00
justin 2500a01cb3 Cleanup 2025-11-21 11:13:29 +00:00
justin f9f4fc02ea Cleanup 2025-11-21 11:02:37 +00:00
justin 9c94e1b3f3 Remove BloomNoZWrite layer 2025-11-21 09:36:56 +00:00
justin 3ceff22f36 Cleanup 2025-11-21 00:25:50 +00:00
justin ed6ebc930e Move shaders 2025-11-20 22:33:37 +00:00
justin f63b47d6c4 Remove VAOs 2025-11-20 22:33:23 +00:00
justin 86794d1da9 Move towards removing VAOs 2025-11-20 22:20:53 +00:00
justin 80957d5470 Fix another layered circle rendering bug 2025-11-20 21:58:41 +00:00
justin 8f65a652ce Fix circle layer offset bug, all shaders working without geom 2025-11-20 21:36:18 +00:00
justin 4e7bd4831d Draw circles without using a geometry shader, layer offset broken 2025-11-20 21:29:21 +00:00
justin 5c5d9ef0e3 Move closer to removing all geom shaders 2025-11-20 17:45:15 +00:00
justin d28e3bef6c Make picture shader inputs multiples of 4 2025-11-20 17:09:54 +00:00
justin d0aef5cf39 Tweak picture shader verxs 2025-11-20 17:02:05 +00:00
justin cb64be4eeb Commit before removing geometry shader from ellipses 2025-11-20 16:30:41 +00:00
justin bbb682242d Cleanup 2025-11-20 16:05:02 +00:00
justin 602b162d41 Separate cloud & surface lighting 2025-11-20 14:01:54 +00:00
justin 1f1fa36b72 Cleanup 2025-11-20 12:45:45 +00:00
justin 0491a71da1 Improve window drawing 2025-11-20 12:34:36 +00:00
justin 6563d87247 Work on transparency of windows/clouds 2025-11-20 12:02:05 +00:00
justin 10dbb238c8 Clarify number of distortions, play with distorting bullets 2025-11-19 21:49:20 +00:00
justin 610936a5fa Allow independent distortion of rgb channels 2025-11-19 10:38:30 +00:00
justin 8759431fec Limit number of distortions to 10 2025-11-18 23:10:36 +00:00
justin b633b9d55f Allow for multiple distortions at once 2025-11-18 22:49:51 +00:00
justin 8428f08ebd Work on distortions 2025-11-18 10:55:46 +00:00
justin 1205823ddb Work on distortion shader 2025-11-15 23:17:44 +00:00
justin d436b853eb Work on distortion shader 2025-11-15 13:21:11 +00:00
justin 5dfc97a683 Work on distortion shaders 2025-11-14 22:28:22 +00:00
justin 60a2054cd5 Add linear filtering for distortion texture mipmaps 2025-11-14 12:48:45 +00:00
justin a24ee66f51 Clamp framebuffer textures to edges 2025-11-14 12:41:44 +00:00
justin 9fc36ec54c Cleanup 2025-11-14 11:48:00 +00:00
justin 91917dbddd Remove unused shader code 2025-11-14 11:27:16 +00:00
justin 836fefb9a5 Allow more control over cloud shadows 2025-11-14 11:19:34 +00:00
justin 0eb2fe50a6 Don't draw shadowed walls 2025-11-14 11:06:39 +00:00
justin db62de75d8 Tweak 2025-11-14 10:53:53 +00:00
justin 16eb356e31 Tweak 2025-11-14 10:18:46 +00:00
justin 21c6e3afb4 Make cloud position only record the central point of the cloud 2025-11-14 09:29:26 +00:00
justin bfd7aa619e Move pair to V2 2025-11-14 02:13:03 +00:00
justin 292a1c3f42 Add scissor test when creating lightmap 2025-11-14 02:06:51 +00:00
justin c79e5df683 Cleanup 2025-11-14 01:32:09 +00:00
justin 295a5f7e1d Cleanup, overpower bloom 2025-11-13 23:31:16 +00:00
justin cffa75c014 Draw floors using vertex pulling 2025-11-13 22:22:19 +00:00
justin 836c0ba772 Draw chasms using vertex pulling 2025-11-13 21:58:40 +00:00
justin ec1216e7eb General cleanup 2025-11-13 21:13:13 +00:00
justin 227f09eeda Cleanup 2025-11-13 18:23:45 +00:00
justin 71ae82ee4d Reduce poked cloud verx size 2025-11-13 18:09:12 +00:00
justin b6ab281842 Increase base buffer texture format size 2025-11-13 17:54:36 +00:00
justin a7a11ccc03 Cleanup shaders 2025-11-13 17:52:01 +00:00
justin 0ea7af4bdd Simplify shader records 2025-11-13 14:57:46 +00:00
justin 56aa8c6697 Shaders: work on fullscreen, cleanup creation 2025-11-13 11:18:28 +00:00
justin 8dee93991a Vertex pull fullscreen lighting texture shader 2025-11-13 10:28:34 +00:00
justin b012d3c41e Cleanup, correcly filter unimportant shadow silhouettes 2025-11-12 23:10:33 +00:00
justin 5e9d337288 Cleanup shadows 2025-11-12 22:54:43 +00:00
justin cdf998a1e2 Start cleanup of shader records 2025-11-12 21:37:28 +00:00
justin be64e786f9 Cleanup 2025-11-12 21:23:03 +00:00
justin 383beeae82 Readd dust cloud rendering 2025-11-12 20:53:37 +00:00
justin 409180959c Use vertex pulling for clouds 2025-11-12 19:57:07 +00:00
justin ce1937c78e Improve normal packing and unpacking 2025-11-11 21:47:39 +00:00
justin 4121bfb468 Reduce shape vertex size to 8 floats
It is not at all clear whether this is an improvement or not
2025-11-11 21:12:50 +00:00
justin ce438b7ecd Pack shape normals into a word8 2025-11-11 21:03:02 +00:00
justin 7f6e7d2741 Get shape shader working using vertex pulling
Seems slow, will try to improve
2025-11-11 18:54:48 +00:00
justin f136d0cd19 Cleanup window buffers 2025-11-11 18:08:55 +00:00
justin ceba6fd533 Cleanup some silhouette edge buffers 2025-11-11 17:45:30 +00:00
justin 4d59d521ac Cleanup 2025-11-11 17:22:55 +00:00
justin c5034b3c4c Use ssbos for edge shadows
Seems quite slow as is
2025-11-11 16:23:39 +00:00
justin 219c574931 Use ssbo/vertex pulling for lighting cap shader
Not yet sure whether the colour vector is correctly input into the ssbo
2025-11-11 14:15:42 +00:00
justin a65a1cab93 Work towards using vertex pulling for lighting caps, alignment issues 2025-11-11 12:33:33 +00:00
justin 36d5edc0a6 Use vertex pulling for wall shadows 2025-11-10 21:33:56 +00:00
justin 1a85d9d562 Use vertex pulling for ceiling stencil 2025-11-10 19:15:07 +00:00
justin 1f01147821 Draw walls using vertex pulling 2025-11-10 19:05:54 +00:00
justin 1546caa6a3 Cleanup 2025-11-10 14:55:46 +00:00
justin df435819eb Window render bugfix 2025-11-10 14:08:34 +00:00
justin 5e93c7631d First implementation of SSBO, vertex pulling 2025-11-10 11:58:11 +00:00
justin 187751ec26 Move from glNamedBufferData to glNamedBufferStorage 2025-11-09 21:11:55 +00:00
justin 7ae50adb55 Cleanup 2025-11-09 16:42:55 +00:00
justin 658da193b7 Cleanup 2025-11-09 16:12:17 +00:00
justin cd7a5dcbb5 Simplify block/wall destruction
This uses a right fold, so might be slower than a strict left fold
2025-11-09 16:00:46 +00:00
justin 6f3632d495 Cleanup 2025-11-09 15:41:19 +00:00
justin 5a40eac4e2 Move wall destruction 2025-11-09 14:37:45 +00:00
justin 09f7cc309b Cleanup 2025-11-09 12:06:34 +00:00
justin 397980a83f Simplify props (should they be removed?) 2025-11-09 11:59:59 +00:00
justin dd4ac80159 Remove old Prop update 2025-11-09 11:38:17 +00:00
justin e20cc593fc Cleanup 2025-11-09 11:31:29 +00:00
justin e9ffeeaea7 Work on cloud/window transparency 2025-11-09 11:00:12 +00:00
justin 7c62479f30 Tweak clouds 2025-11-06 22:01:24 +00:00
justin 05c530eeb1 Play around with alpha blending 2025-11-04 10:42:18 +00:00
justin 833d4562e2 Fix rendering without shadows 2025-11-02 22:58:06 +00:00
justin 55252bfe22 Add files 2025-11-02 22:09:07 +00:00
justin 8d79e96798 Add files 2025-11-02 22:07:15 +00:00
justin cf6cd3cd83 Add shader files 2025-11-02 22:06:59 +00:00
justin 2f0487a424 Simplify ceiling oclusions 2025-11-02 19:20:57 +00:00
justin 0d0c1a72e0 Stencil out windows over ceilings 2025-11-01 11:41:08 +00:00
justin d35a41944c Start implementing ceiling stencil shader 2025-11-01 11:24:08 +00:00
justin 71006e24fd Simplify wall lighting shader 2025-10-30 11:17:06 +00:00
justin c2e5aaa7a0 Broken implementation of window colours, move towards stencil ceilings 2025-10-29 21:48:09 +00:00
justin 40c1907689 Cleanup 2025-10-29 12:18:55 +00:00
justin c9ec962575 Cleanup 2025-10-29 12:09:05 +00:00
justin a3b343dfab Unify dust and cloud poking 2025-10-29 11:59:18 +00:00
justin e8d2407367 Fix dust rendering 2025-10-29 11:37:57 +00:00
justin 5f0ab2223d Start simplifying cloud shader 2025-10-29 11:14:08 +00:00
justin 042bd6bc01 Replace glDrawBuffers with glNamedFramebufferDrawBuffers 2025-10-28 13:34:11 +00:00
justin 10503da955 Improve window drawing 2025-10-28 09:58:44 +00:00
justin d6c4d3d609 Fix shockwave damage radius for walls 2025-10-28 08:09:44 +00:00
justin 20042fcf8d Simplify laser reflection/refraction 2025-10-27 19:41:52 +00:00
justin 7c40db7153 Fix pathing for zChasm 2025-10-27 19:07:04 +00:00
justin 323a50ed31 Get out external function for grid room positions 2025-10-27 17:22:55 +00:00
justin 329fcc237b Work on grid for room placements 2025-10-27 17:08:16 +00:00
justin 0946ee1310 Try to simplify link code in roomRect 2025-10-27 15:10:19 +00:00
justin c88fc1c729 Simplify grid/lattice creation 2025-10-27 12:21:18 +00:00
justin 437f5d44d8 Work on grid point creation 2025-10-27 11:50:18 +00:00
justin c676005219 Cleanup 2025-10-27 00:09:11 +00:00
justin aa82519e05 Fix bugs in zones near segments 2025-10-27 00:03:57 +00:00
justin c641cbaa69 Commit before adding more debugging control 2025-10-26 16:55:22 +00:00
justin 0adf3f57b4 Add destruction to mounted lights 2025-10-26 14:39:33 +00:00
justin c55c3e874d Hack solution to path graph space leak: evaluate all edge obstacles 2025-10-26 11:38:22 +00:00
justin b8536e2929 Commit before trying IntMap instead of vector for incidence graph 2025-10-26 08:31:54 +00:00
justin 61910785c4 Cleanup door mounts, noticed space leak when no debug-display paths 2025-10-25 22:49:37 +01:00
justin cbf0f47b9b Allow for easier mounted objects on doors 2025-10-25 18:44:34 +01:00
justin 7585531dd1 Simplify Prop drawing 2025-10-25 13:54:40 +01:00
justin ff03efc41f Simplify Foreground 2025-10-25 13:12:00 +01:00
justin 5fce0772f8 Start simplifying Prop 2025-10-25 13:05:14 +01:00
justin 0da3816664 Cleanup 2025-10-25 10:17:59 +01:00
justin c2cc38a642 Implement different door speeds 2025-10-25 09:57:13 +01:00
justin 3f5f5d2c6b Cleanup 2025-10-24 23:22:16 +01:00
justin b4012af312 Unify PutDoor PSType 2025-10-24 22:31:08 +01:00
justin b6736e2735 Start unifying door placement types 2025-10-24 22:13:30 +01:00
justin 6457f00ba7 Automatically determine automatic doors 2025-10-24 21:08:41 +01:00
justin f94b914ceb Cleanup door placement/auto path generation 2025-10-24 20:51:38 +01:00
justin b0d519c69d Improve some door placement 2025-10-24 20:30:36 +01:00
justin 95b4105f52 Simplify block drawing further, store shape of block 2025-10-24 19:39:44 +01:00
justin ffea3a1694 Simplify block drawing 2025-10-24 19:09:23 +01:00
justin ccb809a090 Cleanup 2025-10-24 18:50:09 +01:00
justin 488428b1ef Single source of truth for wall pathing 2025-10-24 14:25:19 +01:00
justin 0eeae7e6bc Work on wall materials etc 2025-10-24 13:30:46 +01:00
justin 9eed2706b0 Work on autodoor pathing 2025-10-24 13:19:21 +01:00
justin 7b622c8e31 Cleanup 2025-10-24 13:08:44 +01:00
justin 27569ed8f3 Cleanup 2025-10-24 11:16:30 +01:00
justin 18ab89d3f2 Cleanup 2025-10-24 10:58:01 +01:00
justin c39f99e146 Update pathing on block destruction without relying on _blObstructs 2025-10-24 10:34:27 +01:00
justin 9a3c642684 Apply different damage amounts to different materials 2025-10-24 10:08:36 +01:00
justin b2265297b5 Commit before apply different damage amounts to different materials 2025-10-24 09:28:09 +01:00
justin 8f17582889 Fix low block drawing bug 2025-10-23 22:48:06 +01:00
justin cba0f36ac5 Simplify machine placement 2025-10-23 22:34:50 +01:00
justin 3c6d269d00 Remove separate wall color, should be handled by material type 2025-10-23 21:27:14 +01:00
justin 819f0d37ea Start simplifying/removing Wall records 2025-10-23 18:11:01 +01:00
justin fc7c4d6468 Start to make wall flags/pathing interaction more sensible 2025-10-23 11:35:24 +01:00
justin 9e6534b8f4 Simplify doors somewhat, unsure what to do about edge obstacles 2025-10-22 23:09:09 +01:00
justin 0fd7ba46b5 Door destruction happens during door update, updates pathing 2025-10-22 22:47:10 +01:00
justin 151c037763 Fix path updating when doors move 2025-10-22 22:27:09 +01:00
justin 59472b16d2 Improve xIntercepts (still not perfect) 2025-10-22 22:07:45 +01:00
justin d5f985f3ab Start to clean up Prop datatype 2025-10-22 12:07:06 +01:00
justin af245fb5bf Partially working mounts on lerp doors 2025-10-22 11:03:46 +01:00
justin f8073381ee Correctly update wall zoning when door moves 2025-10-22 10:08:23 +01:00
justin 30da635990 Cleanup 2025-10-22 09:30:19 +01:00
justin 2f06c56185 Migrate more doors to lerp 2025-10-22 09:22:10 +01:00
justin fdee74ff0c First implementation of doors that lerp position/float pairs 2025-10-21 23:39:57 +01:00
justin 39677c3a02 Move towards unifying door movement 2025-10-21 23:13:36 +01:00
justin 2f3a00a971 Commit before potential Door refactor 2025-10-21 19:56:48 +01:00
justin fcffbd5f43 Update path zoning on reading a save 2025-10-21 15:50:49 +01:00
justin 1918fc8c56 Comment out FGL 2025-10-21 15:43:23 +01:00
justin 6742241e5d Continue to work on pathfinding 2025-10-21 15:35:37 +01:00
justin 0b997579ad Initial replacement of FGL with incidence representation, use A* 2025-10-21 11:47:49 +01:00
justin c250448d57 Work on perhaps replacing FGL with incidence vectors 2025-10-20 13:07:52 +01:00
justin b2fd0543dd Cleanup, remove DeriveGeneric language extensions 2025-10-20 12:10:11 +01:00
justin 2056d8ba0e Comment out DeriveAnyClass extensions 2025-10-19 21:50:43 +01:00
justin b8f6a29e28 Cleanup actions/impulses 2025-10-18 18:01:14 +01:00
justin 4542a6cea6 Simplify creature action/impulse code 2025-10-18 17:32:23 +01:00
justin 11c7b25fe9 Cleanup impulses/actions 2025-10-18 16:00:08 +01:00
justin 4ee389efb1 Remove reified impulses from creature record 2025-10-18 15:42:35 +01:00
justin b43168ae33 Simplify creature impulse chain 2025-10-18 14:34:05 +01:00
justin ebc4b9d715 Simplify creature update 2025-10-18 10:46:27 +01:00
justin f3fafc6bf2 Fix enemy stride/footsteps 2025-10-17 22:32:40 +01:00
justin f969056912 Commit before attempting to simplify creature update 2025-10-17 10:36:19 +01:00
justin c533e88d24 Cleanup 2025-10-17 09:58:37 +01:00
justin 5ba642c20a Allow creatures to path around chasms 2025-10-16 23:52:25 +01:00
justin 0481f6e6f2 Cleanup 2025-10-16 23:04:17 +01:00
justin 0f43e1ad8f Increase zone searching size for initial/end node in pathing 2025-10-16 12:26:43 +01:00
justin 3bfe6f5dfd Fix reversed impulse pathfinding bug 2025-10-16 12:07:10 +01:00
justin df85624a49 Allow more debug interaction 2025-10-16 10:45:37 +01:00
justin 315e6b1c04 Cleanup, fix debug drawing 2025-10-15 23:04:23 +01:00
justin b8006b44cf Cleanup 2025-10-15 20:40:16 +01:00
justin fe95bf381b Delete some reified action/impulse stuff 2025-10-15 20:37:22 +01:00
justin 4d12d6cf2b Cleanup 2025-10-15 20:29:43 +01:00
justin 5e6ed1d793 Make _targetCr an Int id rather than a full creature 2025-10-15 20:09:17 +01:00
justin 57ca53638a Remove a usage of StrategyActions 2025-10-15 19:41:26 +01:00
justin f9bcac915f Commit before trying to remove reified impulses 2025-10-15 14:19:38 +01:00
justin a0c4d62018 Use System.Hclip instead of System.Clipboard 2025-10-15 13:19:34 +01:00
justin e139499ed2 Tweak debug display 2025-10-15 12:17:44 +01:00
justin 365821e969 Add selection box on left click drag 2025-10-14 12:41:53 +01:00
justin 7a431f6eec Move debug pictures out of data 2025-10-14 11:23:39 +01:00
justin cadaf00797 Tweak debug display 2025-10-14 10:14:30 +01:00
justin 3d602b4f57 Commit before working on debugging 2025-10-13 23:43:29 +01:00
justin c3a0cb0527 Remove fusePairs, replaces with snapToGrid 2025-10-13 11:33:59 +01:00
justin 6b5090e697 Start work on pathfinding 2025-10-13 06:30:55 +01:00
justin 9e7b7a3f76 Make bouncing grenades stop spinning quicker 2025-10-12 21:35:13 +01:00
justin 8b44538048 Cleanup 2025-10-12 21:13:06 +01:00
justin 408b39f160 Commit before removing pressplates 2025-10-12 20:59:57 +01:00
justin 5e5b24cad0 Cleanup 2025-10-12 20:40:40 +01:00
justin 3206cdebf6 Cleanup projectile update 2025-10-12 18:47:10 +01:00
justin 675f8ade59 Cleanup 2025-10-12 15:08:15 +01:00
justin f312cc41ff Refactor muzzle location when item used, remove saveSlot/seed 2025-10-12 14:54:03 +01:00
justin bbda28cbc1 Cleanup projectile firing 2025-10-12 10:46:27 +01:00
justin 33de1f79b6 Add check to cylinder segment collision, break rocket projectiles 2025-10-12 00:26:48 +01:00
justin 8245115763 Commit before maybe changing bullets to be in 3d space 2025-10-11 12:57:22 +01:00
justin d598d28652 Remove old code 2025-10-11 11:47:45 +01:00
justin 75e93dfcd5 Cleanup 2025-10-11 11:46:39 +01:00
justin 4949d98789 Clarify circle segment intersection 2025-10-11 11:13:35 +01:00
justin 49fb982877 Refactor crPos to be a V3 2025-10-10 13:47:31 +01:00
justin 98ece551c7 cleanup 2025-10-10 11:30:05 +01:00
justin e00bb0b26e Add intersection with cylinders 2025-10-10 11:21:40 +01:00
justin 3ea14a4646 Use some Linear library functions 2025-10-08 18:20:26 +01:00
justin f1ddcaa497 Update default config, general cleanup 2025-10-08 13:48:53 +01:00
justin 031f07f14c Allow bullets to fire above corspes 2025-10-08 10:00:29 +01:00
justin 1e73565900 Add files 2025-10-08 09:20:41 +01:00
justin 4e651fcded Cleanup 2025-10-08 09:20:19 +01:00
justin 77fcf8353a LED tweak 2025-10-08 00:29:00 +01:00
justin 477bb8b4b2 Tweak led attachment orientation 2025-10-07 14:21:40 +01:00
justin 709195ed6a Add led/battery to tutorial 2025-10-07 11:30:59 +01:00
justin e9178f9643 Make chasms remove RoomPos within their boundaries 2025-10-07 10:43:15 +01:00
justin 4cc5477f07 Somewhat simplify RoomPos types 2025-10-05 20:47:28 +01:00
justin 43db5a2ebc Commit before attempting to allow for non-convex chasm shapes 2025-10-05 15:06:19 +01:00
justin b3924fb8b8 Cleanup 2025-10-04 12:30:03 +01:00
justin 993f00ada1 Move generating item combinations graph from load to menu log 2025-10-04 11:22:15 +01:00
justin b519c835fa Move generated graphs to be ignored by git 2025-10-04 10:05:13 +01:00
justin 6eac8fbcf1 Move logs to be ignored by git 2025-10-04 10:02:18 +01:00
justin 861d749665 Remove old save files 2025-10-04 09:54:22 +01:00
justin 31f659e3aa Move saves to generated folder 2025-10-04 09:53:33 +01:00
justin 39fb1963c8 Change config serialisation folder, cleanup unused files 2025-10-04 09:20:44 +01:00
justin 731552fe08 Fix room shift for mounted lights 2025-10-04 01:01:00 +01:00
justin aba855e0a6 Commit before checking where mounted lights became misplaced 2025-10-04 00:34:45 +01:00
justin a642198bfc Add pathing to roomNgon 2025-10-04 00:19:33 +01:00
justin cba3ca784a Cleanup 2025-10-03 20:14:41 +01:00
justin 2d44809900 Simplify room link functions 2025-10-03 18:55:18 +01:00
justin a8348a3515 Tweak bullet magazines 2025-10-03 12:33:28 +01:00
justin 4d1d2f36bc Change bullet magazine shape 2025-10-03 12:19:40 +01:00
justin 5c22ca6662 Continue work on chasm rooms 2025-10-03 11:52:49 +01:00
justin 7e3614c9c8 Work on chasm rooms 2025-10-02 16:58:38 +01:00
justin 013f50f0bc Add file 2025-10-01 17:26:56 +01:00
justin 2973ad6eed Increase default mounted lamp range 2025-10-01 17:26:08 +01:00
justin a2eb0e026b Allow to log position of placement spot 2025-09-29 22:34:44 +01:00
justin bf9a2250da Commit before changing logging of placement spots 2025-09-29 21:58:02 +01:00
justin 9ed6d75853 Pass room id rather than room during placement 2025-09-25 22:31:09 +01:00
justin f5a3486f72 Work on placements 2025-09-25 17:32:02 +01:00
justin 23f61081cf Remove external corpses, handle them as creatures 2025-09-25 09:31:58 +01:00
justin fcb02850d0 Move toward not removing creatures on death 2025-09-25 08:48:20 +01:00
justin 1f14f3d0c3 Correct in placement ordering (was using room id) 2025-09-24 23:09:28 +01:00
justin f51868c84c Allow for ordering of in placements, not fully tested yet 2025-09-24 23:01:22 +01:00
justin eab27fea8b Start updating rooms "in place" during placement 2025-09-24 22:30:15 +01:00
justin 91e67e37dc Work on placements 2025-09-24 22:16:38 +01:00
justin da8230fe00 Cleanup 2025-09-24 12:28:24 +01:00
justin eb068f5335 Remove Annotation datatype 2025-09-24 10:39:34 +01:00
justin 96b95907f2 Move towards removing Annotation 2025-09-24 10:17:18 +01:00
justin a83186e6dd Commit before attempting to remove Annotation datatype 2025-09-24 10:05:44 +01:00
justin 87f1444f5c Cleanup 2025-09-23 21:02:27 +01:00
justin 398b3a1342 Cleanup 2025-09-23 17:34:39 +01:00
justin 6984a34c19 Simplify placements 2025-09-23 17:22:31 +01:00
justin 4074c40083 Small cleanup 2025-09-23 17:17:27 +01:00
justin 60fdd138e3 Remove outplacements 2025-09-23 17:14:30 +01:00
justin a6ca90d7d8 Start to remove explicit "outplacements" 2025-09-23 17:11:07 +01:00
justin ef90e5702b Work on placements 2025-09-23 12:59:28 +01:00
justin a9ecd7de2e Allow for placements to use/update the full GenWorld 2025-09-23 10:41:09 +01:00
justin 5ee78ceffc Simplify room out/in placements 2025-09-23 10:14:19 +01:00
justin d1bb8a985b Commit before tweaking placementn/room generation 2025-09-23 09:52:52 +01:00
justin 4179115023 Tweak tutorial messages 2025-09-20 01:56:34 +01:00
justin b270e18556 Play around with terminal messages 2025-09-20 01:07:23 +01:00
justin b837e6a798 Cleanup 2025-09-19 20:39:17 +01:00
justin d4f2cdd3fd Cleanup 2025-09-19 19:56:12 +01:00
justin 2d856ddf9e Slightly rethink display of inventories and terminals 2025-09-18 19:56:12 +01:00
justin e017a92892 Implement working no-item-airlock zone 2025-09-18 15:23:51 +01:00
justin 4494e47b43 Improve sensor terminal messages 2025-09-18 10:18:53 +01:00
justin 1564b1c721 Cleanup, merge modules 2025-09-18 08:28:09 +01:00
justin f12ae3533c Remove redundant placement generation 2025-09-17 17:36:45 +01:00
justin 8721b31811 Remove parameters from machine damage sensors 2025-09-17 17:33:26 +01:00
justin 103f1e7e99 First implementation of no-item-zone sensor 2025-09-16 22:35:53 +01:00
justin 81d6727d8e Simplify analyser machines somewhat 2025-09-16 21:41:26 +01:00
justin 203919933c Work on detecting floor items near analyser 2025-09-08 11:37:08 +01:00
justin f278af0f30 Make Placement into a product type 2025-09-02 12:31:55 +01:00
justin dc13c61dca Remove after placements/genWorldPlacements 2025-09-02 12:03:41 +01:00
justin 7b28ec15d1 Remove PickOnePlacements 2025-09-02 12:02:44 +01:00
justin f279494a02 Make autodoor placements use "ordinary" coordinate placements 2025-09-02 11:53:40 +01:00
justin 380c0f6938 Commit before attempting to simplify auto door placement 2025-09-02 11:09:07 +01:00
justin 2261556c16 Add spinning cursor to terminal line read 2025-09-02 10:24:43 +01:00
justin 7fcaac2a01 Allow movement when viewing terminals 2025-09-01 23:51:16 +01:00
justin a478ee0a2a Fix sensor fail tline 2025-09-01 23:29:10 +01:00
justin 8398f0b852 Simplify analyser terminal 2025-09-01 23:24:11 +01:00
justin cbcc7e4fd6 Fix autorifle muzzle flash 2025-09-01 20:24:52 +01:00
justin 89c9337822 Allow for more sounds to be playing at once 2025-09-01 20:12:50 +01:00
justin 85591424fd Add debug test 2025-09-01 17:27:58 +01:00
justin 01228ed2f1 Unify debug pictures 2025-09-01 17:22:16 +01:00
justin 6c3c023ed9 Sum attached held items to determine strength effect 2025-09-01 10:26:43 +01:00
justin 291a35f538 Cleanup, add a slight border to ideal camera zoom 2025-08-31 11:47:45 +01:00
justin 2a0e6d1e6e Cleanup 2025-08-27 22:35:33 +01:00
justin 3c2369d979 Cleanup 2025-08-27 22:06:10 +01:00
justin 871d695574 Cleanup 2025-08-27 19:28:56 +01:00
justin dda0526180 Cleanup 2025-08-27 19:22:01 +01:00
justin 40d2d316cb Cleanup 2025-08-27 18:55:25 +01:00
justin 86696deb56 Continue to refactor body/equipment positionings 2025-08-27 14:40:13 +01:00
justin 9d2a2e6730 Work on refactoring positioning relative to creature body 2025-08-27 12:11:01 +01:00
justin 2e6b7a1b41 Add AimStance to creature posture when Aiming 2025-08-27 11:46:41 +01:00
justin 5cb8be1363 Cleanup equipment item function 2025-08-27 11:33:09 +01:00
justin 5280d428a9 Commit before adding AimStance to Aiming Posture
AMEND: AimStance is also used when AtEase, so this is not a good solution
2025-08-27 11:26:52 +01:00
justin 5880bd8b8c Cleanup 2025-08-27 11:04:50 +01:00
justin 1ef5534bc2 Cleanup 2025-08-27 01:06:04 +01:00
justin 7581c86d93 Cleanup various equipment/right button code 2025-08-27 00:45:58 +01:00
justin 79a0137d54 Cleanup 2025-08-27 00:34:24 +01:00
justin 06d50ac752 Make equipment indices point to item indices 2025-08-26 23:57:02 +01:00
justin 49efe62910 Commit before modifying crEquipment for item locations 2025-08-26 22:13:40 +01:00
justin e5473d1028 Cleanup 2025-08-26 19:35:19 +01:00
justin 1ebdbdd8ae Cleanup 2025-08-26 18:51:14 +01:00
justin b87c3380b8 Refactor triplet to Selection datatype 2025-08-26 18:13:27 +01:00
justin 9034c409e1 Flatten HUDElement 2025-08-26 16:46:02 +01:00
justin 596880f76a Cleanup 2025-08-26 16:19:49 +01:00
justin f7fd747a7c Allow drag selecting outside of the selection section
Does not yet work outside of any selection section.
Need to think about what widths are acceptable to allow for selection.
2025-08-26 12:42:48 +01:00
justin 004c4d1950 Commit before removing "above/below" checks on inventory dragging
I don't think these actually do anything
EDIT: they are actually necessary
2025-08-26 11:38:46 +01:00
justin 5b95bcbf3b Add XInfinity datatype 2025-08-26 10:02:43 +01:00
justin 58c645041f Allow more drag selection to work 2025-08-25 13:30:04 +01:00
justin a2c32907f0 Fix bugs in drag pickup when releasing mouse outside of inventory list 2025-08-25 12:59:12 +01:00
justin 65803c11c9 Cleanup 2025-08-25 11:01:07 +01:00
justin ee884899ef Make game auto-start (no splash menu) 2025-08-25 10:41:26 +01:00
justin 79abdfb33a Fix drag pickup bug 2025-08-25 10:33:05 +01:00
justin 3f6f1b4019 Use NewIntMap InvInt for crInv 2025-08-25 10:21:59 +01:00
justin 25e64d5378 Implement custom at and ix for NewInt types 2025-08-25 00:50:41 +01:00
justin d776c91cfd Fix more item bugs 2025-08-24 23:50:16 +01:00
justin c2daa86463 Fix at least one bug from item refactor, more remain 2025-08-24 21:01:02 +01:00
justin 94f6d5c630 Major item refactor, still broken 2025-08-24 19:34:09 +01:00
justin 22b4be440a Refactor floor items to use centralised items intmap 2025-08-24 13:14:49 +01:00
justin c38d03165f Start refactor storing items in single intmap, done turrets
More checks required
2025-08-24 11:53:21 +01:00
justin 7336177edf Fix close floor item bug 2025-08-23 23:00:19 +01:00
justin fcccd63844 Refactor floor items, removing ids (not fully checked) 2025-08-23 22:10:33 +01:00
justin 32d7120177 Work on airlocks 2025-08-23 17:42:36 +01:00
justin f641805845 Work on placements/room generation 2025-08-22 13:42:51 +01:00
justin e7b52f4487 Simplify layout Annotations 2025-08-21 17:57:02 +01:00
justin befe24e038 Start creating explicit tutorial map 2025-08-21 16:31:04 +01:00
justin 21460ceaa8 Try to autocomplete before doing terminal return 2025-08-20 17:53:39 +01:00
justin 3936e1a386 Improve tab completion, cleanup 2025-08-20 17:15:34 +01:00
justin 9de2a22001 Work on toggle terminals 2025-08-20 17:06:30 +01:00
justin 8557724fb5 Cleanup 2025-08-20 16:50:47 +01:00
justin 4bf9ce59d5 Cleanup, fix damage code terminal bug 2025-08-20 15:59:22 +01:00
justin 9daa27ee8b Cleanup 2025-08-19 21:49:41 +01:00
justin 68cd362aa4 Cleanup 2025-08-19 20:43:35 +01:00
justin 084210ea7d Cleanup close items code 2025-08-19 20:17:27 +01:00
justin a373b31152 Improve terminal update/display 2025-08-19 19:37:36 +01:00
justin 1cfb581e15 Cleanup unused datatypes 2025-08-19 18:11:31 +01:00
justin e1cfe7e163 Hlint pass 2025-08-19 18:05:05 +01:00
justin 5ccbfa1f91 Cancel terminal display if destroyed while displaying 2025-08-19 18:01:23 +01:00
justin b07280e50c Cleanup 2025-08-19 17:29:36 +01:00
justin 2f9cea1b69 Allow for terminals to be deactivated 2025-08-19 13:58:57 +01:00
justin b8581a7862 Work on terminals, add deactive data type status 2025-08-19 13:48:54 +01:00
justin 2f4fcb42e5 Work on press-continue terminal prompts 2025-08-19 11:08:54 +01:00
justin e7b66b4fa4 Continue work on terminals 2025-08-18 20:38:01 +01:00
justin 1c9d58c716 Reinstate damagecode terminal commands 2025-08-18 14:39:30 +01:00
justin 33b90d637a Tweak terminal tab completion 2025-08-17 09:46:41 +01:00
justin 24027367dc Implement "tab" button in terminal 2025-08-17 00:12:05 +01:00
justin 76b6cda19b Move towards implementing terminal autocomplete 2025-08-16 23:13:24 +01:00
justin f7759b1f31 Add external Trie library before using Tries for terminal commands 2025-08-16 01:58:21 +01:00
justin 73cdf42e4a Simplify terminals, move towards using tries for commands 2025-08-16 01:11:29 +01:00
justin e04d4fea31 Remove terminal line code 2025-08-15 12:01:17 +01:00
justin 09bd5f1029 Add file 2025-08-15 11:56:24 +01:00
justin 56f4670493 Move towards simplifying terminal lines/effects 2025-08-15 11:55:56 +01:00
justin 91d19e7c42 Partial rethink of terminal text input 2025-08-14 21:48:02 +01:00
justin 5b720cb82c Simplify terminal boot program 2025-08-14 19:46:07 +01:00
justin 198b7acc78 Start work simplifying terminals, aim towards respawn terminals 2025-08-14 19:26:52 +01:00
justin 04c60151e1 Constinue work on respawn 2025-08-14 19:22:26 +01:00
justin dd1f3b2ef5 Start to add respawn points, re-fix semi-auto triggers 2025-08-11 00:00:32 +01:00
justin 38e8f91346 Remove Machine Pistol update when fail firing 2025-08-10 19:17:38 +01:00
justin 71c269667d Cleanup item muzzle loading/usage
Have introduced quite a few unsafe functions
2025-08-10 09:05:23 +01:00
justin aa412f1911 Allow for no-ammo muzzles 2025-08-10 08:09:03 +01:00
justin 9d973b2570 Cleanup 2025-08-09 10:09:20 +01:00
justin 7f9d837bf0 Add quaternions to body positions 2025-08-09 10:07:55 +01:00
justin 1063a2314d Start simplifying creature body parts/attachment positioning 2025-08-09 09:47:05 +01:00
justin 9fb7440776 Tweak creature update 2025-08-06 13:10:37 +01:00
justin af5bdf59b9 Pitted creatures lose all items 2025-08-05 21:47:32 +01:00
justin f69956750a Work on what happens when creatures fall down chasms 2025-08-05 21:39:44 +01:00
justin df443744db Use stencil test to not draw floors where there are chasms 2025-08-05 19:57:49 +01:00
justin 83124703c5 Tweak explosion flamelets 2025-08-05 09:38:04 +01:00
justin d64e785818 Tweak cloud zvel 2025-08-05 09:23:45 +01:00
justin b433c1de43 Simplify projectile wall bounce 2025-08-05 09:15:10 +01:00
justin 298238d594 Simplify flamelet balls 2025-08-05 08:47:47 +01:00
justin 22dafda9bd Add z levels to shockwaves 2025-08-05 08:30:57 +01:00
justin 09428f2707 Add z level to energy balls 2025-08-04 22:49:36 +01:00
justin bde0fa2a5c Cleanup, move towards explosions at different z positions 2025-08-04 22:13:45 +01:00
justin 7714e2e298 Make projectile use 3d position/velocity records 2025-08-04 12:15:42 +01:00
justin 80d6133fd6 Continue work on projectiles 2025-08-04 11:54:07 +01:00
justin a68013b934 Partially implement grenades down chasms 2025-08-04 09:39:04 +01:00
justin 2a93b7f733 Start implementing wider grenade movement 2025-08-03 23:23:55 +01:00
justin ea2e67c9ab Remove list of projectile updates 2025-08-03 14:05:34 +01:00
justin c3b2bb30f5 Start simplifying projectile update 2025-08-03 13:46:20 +01:00
justin 5f158cc87a Cleanup 2025-08-02 22:53:39 +01:00
justin ae24720762 Allow chunk debris to fall down chasms 2025-08-02 22:49:10 +01:00
justin 5722ca8204 Work on bouncing debris 2025-08-02 22:14:25 +01:00
justin eeb7c8ac88 Work on gibs and chasms 2025-08-01 09:39:13 +01:00
justin 7110ddb7a6 Add sound queue when on chasm edge 2025-07-30 14:01:56 +01:00
justin d1346b855f Cleanup 2025-07-30 09:25:29 +01:00
justin 18770480e7 Cleanup 2025-07-30 09:20:41 +01:00
justin 210171fbc9 Move toward implementing chasms 2025-07-30 00:01:07 +01:00
justin fa377171a4 Reinstate HammerTrigger (no weapons use it currently) 2025-07-29 10:47:09 +01:00
justin 3ced7e4034 Change hammer trigger behaviour to make it easier to repeat fire 2025-07-29 10:19:57 +01:00
justin 15077be769 Cleanup 2025-07-29 10:10:25 +01:00
justin 81f88c32e9 Unify key press and mouse button press timings
Both now use Ints for presses.
Still no release timer for keyboard events.
2025-07-28 23:16:05 +01:00
justin ea35753744 Fix various attachment issues involving pulse laser 2025-07-28 18:30:02 +01:00
justin fc9596e0a1 Add sounds 2025-07-27 17:22:08 +01:00
justin 82678a6afe Allow multiple pulseBalls to be destroyed by one pulse laser shot 2025-07-27 17:21:37 +01:00
justin f1fb0ee768 Implement pulse rifle with explodable pulse balls 2025-07-27 11:10:30 +01:00
justin 68a4bc7aab Partially refactor ammo extraction, work on pulse rifle 2025-07-26 23:17:14 +01:00
justin 190068737d Move towards adding in pulse laser "rifle" (like UT shock rifle) 2025-07-25 09:12:04 +01:00
justin ff3699e6cb First implementation of pulse lasers 2025-07-23 23:22:26 +01:00
justin 8b17ec56ad Start adding pulseLasers 2025-07-19 22:05:46 +01:00
justin 27ce087e33 Cleanup, split itemToBreakLists 2025-07-13 22:24:54 +01:00
justin d861be8acf Cleanup 2025-07-13 21:13:31 +01:00
justin f1d4f530d9 Cleanup 2025-07-12 22:04:50 +01:00
justin 6df7f657bc Cleanup 2025-07-12 22:03:21 +01:00
justin a054d433b3 Cleanup 2025-07-12 21:52:12 +01:00
justin 026dbf9d15 Cleanup 2025-07-12 21:47:08 +01:00
justin 06cf55aa73 Hlint pass 2025-07-12 21:45:51 +01:00
justin cab125a1e9 Remove ItemLink 2025-07-12 21:41:49 +01:00
justin dc631263da Cleanup, hlints 2025-07-12 21:35:35 +01:00
justin 5544e891c5 Remove LDTs from item attachment 2025-07-12 21:21:37 +01:00
justin 264d83971f Tweak checks of item attachment to not use ItemLinks 2025-07-12 21:11:41 +01:00
justin 3dc70c483a Continue LDT -> DT 2025-07-12 14:08:17 +01:00
justin f47f99eac4 Continue removing LDTs 2025-07-12 14:01:44 +01:00
justin 8ff607675b Remove more LDTs 2025-07-11 00:49:36 +01:00
justin 05ff4651bd Remove most instances of LDTs from item use 2025-07-11 00:45:51 +01:00
justin e5eff32ce3 Continue removal of LDTs 2025-07-11 00:24:38 +01:00
justin 8597f2bcc0 Remove more LDTs 2025-07-11 00:02:26 +01:00
justin ba352e7191 Remove external duplicated ItemLinks 2025-07-10 23:57:27 +01:00
justin 918f970ca8 Move towards removing functionality associated with ItemLinks 2025-07-10 23:08:59 +01:00
justin f8595d353b Remove LDTs from orientations + item shapes 2025-07-10 22:24:09 +01:00
justin cd46f34787 Migrate LDTs to DTs 2025-07-10 22:13:47 +01:00
justin 9543c2c789 Start adding DT versions of LDT functions 2025-07-10 21:36:52 +01:00
justin fd5f5105aa Remove ItemLink from item orientation code 2025-07-10 21:17:01 +01:00
justin a9d730a5c1 DoubleTree -> DTree 2025-07-10 11:28:55 +01:00
justin e013bd57f7 Commit before attempting to remove ItemLinks, move LDT -> DT 2025-07-10 11:20:27 +01:00
justin 8a8623d30b Tweak laser weapon orientation 2025-07-10 10:52:04 +01:00
justin e3c6ef1398 Allow for laser to be attached to transformer to create weapon 2025-07-10 10:31:04 +01:00
justin f557d5b954 Eta reduction 2025-07-10 00:13:57 +01:00
justin 15db129633 Cleanup 2025-07-08 23:47:13 +01:00
justin 57be90fea2 Cleanup, remove chainLinkOrientation/updateItemWithOrientation etc 2025-07-08 23:22:33 +01:00
justin 15187db999 Unify some item updates 2025-07-08 23:20:25 +01:00
justin c2f234b842 Cleanup 2025-07-08 09:59:12 +01:00
justin b6cd988c82 Cleanup, remove old item orientation code 2025-07-06 13:08:13 +01:00
justin 76cb03b07b Cleanup 2025-07-05 23:41:28 +01:00
justin d6bdd0098b Fix angled recoil 2025-07-05 23:18:37 +01:00
justin 7b9c1678f1 Cleanup, move bullet spawn random offset to muzzle 2025-07-05 20:55:24 +01:00
justin 164499fe4e Move towards unifying some orientation code 2025-07-05 18:35:18 +01:00
justin 07c6298743 Hand/handle position refactor 2025-07-05 15:01:21 +01:00
justin 5ddfc83f09 Start refactoring hand/item handle orientation 2025-07-05 11:50:25 +01:00
justin d8e811c050 Extend trigger type to apply to full item location 2025-07-03 23:08:28 +01:00
justin 978823c87c Cleanup 2025-07-03 22:36:57 +01:00
justin a207073846 Fold together useDelay and itemTriggerType 2025-07-03 22:25:32 +01:00
justin 8a00450e3f Tweak use location 2025-06-30 01:02:27 +01:00
justin d88aed10c7 Hack together correct positioning of grenades from attached items 2025-06-28 22:32:12 +01:00
justin 6af2a8cc36 Add code for determining item orientation 2025-06-28 21:21:50 +01:00
justin 4f0dc64e72 Hack together general held item orientation 2025-06-27 21:29:57 +01:00
justin be6ea59d1e Use function on location to determine laser orientation 2025-06-27 10:42:23 +01:00
justin dd5a747559 Cleanup LabelDoubleTree -> LDTree 2025-06-27 08:55:00 +01:00
justin 73c708a325 Implement break list attachments without internal item updates 2025-06-26 23:42:54 +01:00
justin 4710dd7631 Move towards externalizing item attachment updates 2025-06-26 23:36:59 +01:00
justin 377900662a Simplify item composition structure 2025-06-26 21:07:11 +01:00
justin 758c0aeec8 Globally assign attachment orientations 2025-06-26 20:59:38 +01:00
justin 494c7a4f89 Commit before messing with item tree orientation etc 2025-06-26 20:29:48 +01:00
justin ab82bcbe20 Cleanup 2025-06-26 12:17:08 +01:00
justin d0f20da9f1 Randomise volleyGun bursts 2025-06-26 12:04:05 +01:00
justin 2f0e039d39 Fix volleyGun 2025-06-26 11:41:24 +01:00
justin cccb4f38db Reset warmup/cooldown when dropping machine pistol
Ideally items should be updateable when not equipped,
then this reset would not be necessary.
2025-06-26 09:34:51 +01:00
justin 731bd5276a Hack machine pistol whir down when no ammo 2025-06-26 09:31:40 +01:00
justin 193bc481d2 Add whirdown for machine pistol 2025-06-26 02:09:22 +01:00
justin 7830b0e2c1 Work on machine pistol 2025-06-26 01:09:09 +01:00
justin 5b35b4c6c8 Fix burst rifle rate delay bug, various cleanups 2025-06-25 23:47:41 +01:00
justin 1bdf426c42 Cleanup 2025-06-25 22:13:24 +01:00
justin a25fa34461 Cleanup buttons 2025-06-25 22:10:38 +01:00
justin 2f130c5bed Fix switch detection, cleanup 2025-06-25 21:49:11 +01:00
justin a9cae4d409 Simplify buttons 2025-06-25 21:37:32 +01:00
justin 6e9d4918a1 Simplify button drawing 2025-06-25 15:40:12 +01:00
justin bf0bc22720 Start simplifying buttons 2025-06-25 15:16:11 +01:00
justin ab1b939e3d Tweak dust 2025-06-25 15:01:20 +01:00
justin d4b2f23c9d Separate Clouds and Dust 2025-06-25 14:51:15 +01:00
justin d61ea304ad Tweak doc 2025-06-25 12:03:01 +01:00
justin b285e44dee Hack interaction between clouds and bloom 2025-06-25 12:01:46 +01:00
justin 04e046ea82 Tweak clouds + bloom 2025-06-24 16:55:08 +01:00
justin 35a3f005c4 Tweak clouds 2025-06-24 16:40:00 +01:00
justin 03bc733de9 Tweak clouds 2025-06-24 13:54:14 +01:00
justin 444be7b49c Refactor clouds 2025-06-24 13:28:17 +01:00
justin b1041d1eb0 Simplify clouds 2025-06-24 09:42:51 +01:00
justin 366b998989 Cleanup 2025-06-24 08:48:08 +01:00
justin 5537efe584 Increase explosive damage to walls (still problems with hitboxes) 2025-06-24 08:28:22 +01:00
justin 18470d700d Add sounds 2025-06-23 18:15:47 +01:00
justin 54eab6dd9e Simplify shockwave damages 2025-06-23 18:15:28 +01:00
justin 4e008366f4 Work on damage sounds 2025-06-22 16:00:53 +01:00
justin 291f77e13d Add sounds 2025-06-22 14:33:21 +01:00
justin 2553239882 Continue tweaking sounds 2025-06-22 14:32:53 +01:00
justin a109d54d96 Shorten sounds 2025-06-22 09:27:42 +01:00
justin 91b30ecdbf Add sounds 2025-06-22 09:19:58 +01:00
justin 2db3342532 Add sound on creature piercing damage 2025-06-22 09:19:37 +01:00
justin 4e9739afa5 Add sounds 2025-06-22 08:31:38 +01:00
justin 9fa3e060d7 Refactor damages to materials 2025-06-22 08:31:18 +01:00
justin df3fde5d3e Cleanup 2025-06-20 23:11:40 +01:00
justin b45d6817f5 Cleanup 2025-06-20 22:30:01 +01:00
justin 7e84dcf173 Unify some damage applications 2025-06-20 22:23:14 +01:00
justin 3019d95520 Fix crsHitRadial, unify some radial damages 2025-06-20 22:17:10 +01:00
justin 67d77fcb2b Add sound 2025-06-20 21:57:25 +01:00
justin 0dfae3e5a9 Cleanup 2025-06-20 21:57:07 +01:00
justin b2d64ce698 Refactor damages in circles 2025-06-20 21:52:42 +01:00
justin edcd947c90 Use external strict pair package (use strict-tuple-lens also?) 2025-06-20 19:54:56 +01:00
justin d7354f7bc9 Cleanup 2025-06-20 19:40:07 +01:00
justin 86b10d02c8 Cleanup 2025-06-20 18:02:33 +01:00
justin 4a84b70801 Cleanup 2025-06-20 17:50:49 +01:00
justin b920a2ec72 Unify item inventory effects somewhat 2025-06-20 17:41:32 +01:00
justin fe1ac8f5a4 Cleanup 2025-06-19 22:55:46 +01:00
justin 4f0fa95e13 Further simplify walk cycle 2025-06-19 14:01:59 +01:00
justin c035f82b0e Cleanup (remove momentum code) 2025-06-19 13:51:57 +01:00
justin add192741c Simplify walk cycle (may decrease frame rate?) 2025-06-19 13:48:53 +01:00
justin e6bb6fb1f3 Simplify walk cycle 2025-06-19 12:46:54 +01:00
justin f84ae98aa9 Cleanup creature drawing 2025-06-19 12:29:21 +01:00
justin 5a6144dbbd Simplify creature drawing positioning 2025-06-19 12:15:24 +01:00
justin 3f9b76b8d0 Draw barrels properly 2025-06-14 23:38:46 +01:00
justin 078a3cc7ea Cleanup 2025-06-14 23:16:29 +01:00
justin 02498e5abb Cleanup barrels 2025-06-14 23:08:11 +01:00
justin 5286485d62 Separate incendiary ebs and flamelets 2025-06-09 11:41:11 +01:00
justin 5d8b493636 Tweak energyballs 2025-06-09 08:40:47 +01:00
justin 3dce133f30 Work on energy balls 2025-06-08 23:31:44 +01:00
justin 7e8eaaa34e Randomize spark movement 2025-06-08 21:15:05 +01:00
justin feb9ce08cc Add file 2025-06-08 20:57:19 +01:00
justin 1b769ad504 Redo maxDamageType 2025-06-08 20:56:56 +01:00
justin 70c78824f3 Cleanup, redo damage direction 2025-06-08 20:40:58 +01:00
justin 5b1e4fba4e Fix bug in flame wall damages, cleanup 2025-06-08 14:16:59 +01:00
justin 4c3a3d83da Add file 2025-06-08 12:13:13 +01:00
justin 54937fd159 Simplify flames 2025-06-08 12:12:58 +01:00
justin ba9e9278c4 Remove record 2025-06-07 19:21:49 +01:00
justin faa3c4cde4 Get rid of warnings 2025-06-07 19:14:56 +01:00
justin 81a7dcd962 Refactor damages 2025-06-07 14:26:00 +01:00
justin 7a192e7631 Add file (non-compiling commit) 2025-06-07 12:22:31 +01:00
justin e914555728 Partial (not working) refactor of damages, energyballs 2025-06-07 12:22:06 +01:00
justin 2b39152060 Remove DamageEffect 2025-06-07 10:28:17 +01:00
justin 500772f2f9 Add exports 2025-06-07 10:08:20 +01:00
justin 7d90db6c4c Add file 2025-06-07 10:07:31 +01:00
justin b4bdfbf2c3 Simplify sparks 2025-06-07 10:07:16 +01:00
justin 7bee1549bf Start work on clouds, damage, sensors 2025-06-06 22:53:41 +01:00
justin d2d4642380 Cleanup, remove records, stop unecessary Aeson compile 2025-06-06 20:43:49 +01:00
justin d3de40d432 Add file 2025-06-06 15:32:36 +01:00
justin 7292bc9012 Remove creature move type record 2025-06-06 15:32:19 +01:00
justin e9b69be7de Remove some creature vocalization records 2025-06-06 15:01:20 +01:00
justin 467f241d7a Remove creature records 2025-06-06 14:52:52 +01:00
justin 05f250f928 Add file 2025-06-06 13:36:38 +01:00
justin 0f55257bff Remove creature records 2025-06-06 13:36:18 +01:00
justin 73c79f2f4d Move creature mass out of record 2025-06-06 09:10:03 +01:00
justin aa219acf8d Add file 2025-06-06 08:46:52 +01:00
justin 4ae7c6ebd6 Start moving creature properties out of records 2025-06-06 08:46:27 +01:00
justin bae75a1e60 Cleanup 2025-06-05 22:19:20 +01:00
justin 9a699e70ed Move background item effects out of records 2025-06-05 22:08:39 +01:00
justin 10ca82c4d5 Remove consumable records 2025-06-05 21:15:20 +01:00
justin 816ab4222f Move UseCondition out of record 2025-06-05 19:41:33 +01:00
justin 16f5c05f19 Vleanup 2025-06-05 16:21:30 +01:00
justin 4b326433ab Remove equipment records 2025-06-05 15:54:33 +01:00
justin 5f3b932338 Add file 2025-06-05 15:39:55 +01:00
justin 0710427aa2 Remove record concerning removing equipment effects 2025-06-05 15:39:33 +01:00
justin 6300a90257 Move equip effect on remove out of record 2025-06-05 15:35:11 +01:00
justin 924f236b94 Cleanup 2025-06-05 15:19:42 +01:00
justin 619ad4edc8 Remove equipment records 2025-06-05 15:18:59 +01:00
justin 482ed6514c Remove eeAttachPos record 2025-06-05 14:03:14 +01:00
justin cf7a5b2362 Add file 2025-06-05 13:52:59 +01:00
justin c8d44fea79 Move equipType out of record 2025-06-05 13:52:36 +01:00
justin 1293aa0fdf Remove some Aeson processing 2025-06-05 13:24:43 +01:00
justin 7f1b790688 Move AmmoType, going towards no need for Aeson 2025-06-05 13:16:57 +01:00
justin cff32e50f3 Add file 2025-06-05 11:11:34 +01:00
justin 1a0e115c7d Cleanup UseDelay 2025-06-05 11:11:14 +01:00
justin c8a04b8b1e Move UseDelay out of records 2025-06-05 11:00:17 +01:00
justin 289bbcc8a9 Add file 2025-06-05 10:34:02 +01:00
justin f3c56a6b5f Start removing heldDelay records 2025-06-05 10:33:41 +01:00
justin 324a64814e Move muzzles out of records 2025-06-05 10:04:35 +01:00
justin 83a41e0204 Move nozzle walk into item params, cleanup 2025-06-05 08:23:11 +01:00
justin b2a971d8c3 Move towards moving muzzles out of records 2025-06-05 08:16:20 +01:00
justin e05061a268 Continue work on burst fire 2025-06-04 22:08:05 +01:00
justin 37fafa9123 Cleanup 2025-06-04 21:53:50 +01:00
justin 62cac29a59 Rethink weapon repetitions 2025-06-04 21:03:25 +01:00
justin 9797f610aa Remove heldParams record 2025-06-04 13:33:44 +01:00
justin 0cb7b54180 Move weapon repetitions into trigger type 2025-06-04 13:23:40 +01:00
justin e77721fe7d Move sidepush out of records 2025-06-04 11:43:35 +01:00
justin a8aab75739 Move randomOffset out of records 2025-06-04 11:33:14 +01:00
justin 636a13b678 Move weapon torque out of records 2025-06-04 11:21:15 +01:00
justin 9f884b5aa7 Continue record refactor 2025-06-04 09:50:18 +01:00
justin e1ec4e1a89 Move weapon muzzles up a record 2025-06-04 09:29:09 +01:00
justin a71e237789 Remove aimParam records 2025-06-04 09:22:01 +01:00
justin a1a35745d6 Move TriggerType out of item record 2025-06-04 08:18:05 +01:00
justin e6bb7ac753 Add file 2025-06-03 22:21:01 +01:00
justin 33ebdcb0de Continue reorganising records into functions 2025-06-03 22:20:42 +01:00
justin a5554f24e4 Make item handle position slightly more sensible 2025-06-03 15:52:55 +01:00
justin a17961eac7 Make aimStance record into function 2025-06-03 15:19:35 +01:00
justin 589603e474 Start moving item records out into functions 2025-06-03 11:46:56 +01:00
justin 6e187c7548 Add sounds 2025-06-03 10:23:40 +01:00
justin 560694c644 Cleanup 2025-06-03 10:23:24 +01:00
justin f4cce1cb38 Set mouse position on unpause 2025-06-03 10:07:56 +01:00
justin 77f2517f2c Warp mouse after unpausing, with (undesired) one frame gap 2025-06-03 10:00:53 +01:00
justin a73db304d0 Record aim position in LWorld 2025-06-03 09:34:18 +01:00
justin 1de90a97f0 Move towards recording aim position in LWorld 2025-06-03 09:18:46 +01:00
justin 8da3e75ac5 Cleanup (remove) _soundData, _musicData 2025-06-03 09:08:13 +01:00
justin e952f2abea Enable sounds in menus 2025-06-03 08:51:34 +01:00
justin 695cf3c5fd Stop camera movement when pausing 2025-06-02 12:55:27 +01:00
justin 1851dcc5d6 Pause and resume sounds when pausing game 2025-06-02 12:43:37 +01:00
justin 6706ac494a Reduce positional effect on sounds 2025-06-02 11:13:19 +01:00
justin b442001246 Move laser sound to where it is created 2025-06-01 21:07:56 +01:00
justin c291c7e3da Cleanup 2025-06-01 10:23:14 +01:00
justin 61e85ffd5c Improve rotate drag mouse context 2025-06-01 10:06:51 +01:00
justin 59e1207b46 Improve jump to hotkey 2025-06-01 09:44:03 +01:00
justin 39753755af Cleanup 2025-06-01 09:31:29 +01:00
justin b7cd91b56e Cleanup, add unpause clock 2025-06-01 09:12:18 +01:00
justin c56e3e96ee Fix aim sweep 2025-05-31 22:11:26 +01:00
justin 8b07fffa7c Cleanup, improve aiming code 2025-05-31 15:28:30 +01:00
justin 3553ee5bbf Cleanup 2025-05-31 13:34:41 +01:00
justin b1c3cf5045 Cleanup 2025-05-31 08:56:20 +01:00
justin ceb7a4f04c Cleanup 2025-05-31 08:17:26 +01:00
justin cdf300b824 Stop tracking aim twist amount, use fixed number 2025-05-30 10:31:21 +01:00
justin 0bcf263db7 Remove _crTwist 2025-05-30 10:23:37 +01:00
justin 3efa01bf09 Cleanup 2025-05-21 22:48:18 +01:00
justin 612ae236df Add exports 2025-04-30 21:13:38 +01:00
justin c43aa91f1c Fix winding of corner points for line blocks 2025-04-02 18:13:45 +01:00
justin 836a3d9dd3 Commit on return after gap 2025-03-27 18:22:57 +00:00
justin 4932952ed4 Cleanup 2025-01-16 12:38:56 +00:00
justin 6eacce30fe Fix camera rotation double click bug 2025-01-16 12:26:52 +00:00
justin 881b866ed2 Play around with tesla arcs 2025-01-16 12:18:25 +00:00
justin 5fb71cec39 Start simplifying tesla arcs 2025-01-09 11:01:17 +00:00
justin c355fe4f5f Tweak shell spin 2025-01-08 22:07:04 +00:00
justin d952bd48cc Cleanup 2025-01-08 20:30:21 +00:00
justin 01ed3ce045 Cleanup 2025-01-08 20:28:26 +00:00
justin 97317a621b Simplify bullet movement code 2025-01-08 20:27:04 +00:00
justin bd42f44278 Simplify bullet movement 2025-01-08 19:05:48 +00:00
justin ef751cbd21 Implement/improve null/un/binary logic gates 2025-01-08 18:13:20 +00:00
justin d436db2847 Fix bug updating wrong item on drop 2025-01-08 16:24:49 +00:00
justin 91f11e43c8 Handle warmdown of minigun with inventory effect 2025-01-08 16:18:44 +00:00
justin a843a1c9c0 Add file 2025-01-08 14:30:02 +00:00
justin 21b7b863c7 Implement copier, an item that copies the value displayed by other items 2025-01-08 14:29:25 +00:00
justin 47aa8655b1 Slightly tweak number displays 2025-01-08 00:21:17 +00:00
justin 5fa5bdf21e Tweak display, scrolling of item values 2025-01-07 21:10:29 +00:00
justin b3cf10bd26 Simplify lasers 2025-01-07 01:36:23 +00:00
justin 4a9c1cd6b3 Simplify menu screens (no choice of display parameters) 2025-01-07 01:03:12 +00:00
justin fe3e0b1373 Simplify menu display 2025-01-07 00:58:23 +00:00
justin 1e7611ab81 Cleanup 2025-01-07 00:39:59 +00:00
justin beaf65f3f7 Allow sticky grenades to move after killing creature stuck to 2025-01-06 13:22:46 +00:00
justin 04ba9fcce2 Tweak ordering of projectile movement 2025-01-06 12:57:20 +00:00
justin 6ba16b06fb Cleanup 2025-01-06 12:23:59 +00:00
justin ffe5198e46 Cleanup 2025-01-06 12:21:34 +00:00
justin f9cf3c2ea6 Refactor 2025-01-06 12:10:25 +00:00
justin faded4a3c5 Cleanup 2025-01-06 12:06:51 +00:00
justin f3f365bbe9 Refactor 2025-01-06 12:06:37 +00:00
justin bcc36901aa Improve inventory display
Extant bugs: can get to INVENTORY heading section when deleting nearby
filter if inventory is empty
2025-01-06 11:08:09 +00:00
justin b59ebaf57d Reuse combine inventory code 2025-01-06 10:54:24 +00:00
justin ecc9171bb6 Cleanup 2025-01-06 01:32:00 +00:00
justin ab448770dd Cleanup 2025-01-06 01:17:59 +00:00
justin c20486fc34 Cleanup 2025-01-06 01:05:56 +00:00
justin e5cbac480e Display equipment as well, may want to move this into number display 2025-01-06 00:58:38 +00:00
justin 76fc8d968d Fix space leak in inventory display.
This is done by wrapping values in what seems to be an unnecessary list.
I do not know exactly why this works, lazyness/compiler optimisations?
2025-01-06 00:30:31 +00:00
justin 2dd0d14b8c Move item display around.
Changing these functions can cause space leaks for what are probably
unknowable reasons.
2025-01-05 22:45:42 +00:00
justin 2837f0d0af Stop displaying hotkeys and equip positions, fixes space leak 2025-01-05 22:33:05 +00:00
justin 9769480d0b Work towards fixing inventory space leak 2025-01-05 20:54:07 +00:00
justin 7175a96249 Simplify inventory display 2025-01-05 17:40:50 +00:00
justin 57d36855d8 Replace length . _siPictures with _siHeight 2025-01-05 17:31:37 +00:00
justin 27ffeb3a5a Remove one use of ssItems 2025-01-05 16:05:49 +00:00
justin 12e5cba62b Start trying to remove _ssItems as much as possible 2025-01-05 16:00:23 +00:00
justin ba5c6178c6 Tweak inventory display 2025-01-05 15:55:34 +00:00
justin 2f30163c2f Tweak main inventory display, have not solved space leak 2025-01-05 15:48:30 +00:00
justin 51297d0cb2 Cleanup 2025-01-04 21:25:11 +00:00
justin 02f5bdae31 Remove non-existent import 2025-01-04 21:12:15 +00:00
justin 86173f9f6a Cleanup 2025-01-04 21:08:46 +00:00
justin 698bb081dd Change weapon fixed rate delay not to require update every tick 2025-01-04 21:06:07 +00:00
justin 39e3e4ae00 Refactor in lens direction 2025-01-04 19:14:18 +00:00
justin 31a74b9ac0 Add strict tuples 2025-01-04 15:56:40 +00:00
justin b5ffeae538 Cleanup 2025-01-04 15:43:35 +00:00
justin da641e0f47 Cleanup 2025-01-04 15:37:17 +00:00
justin ad8052bc5c Cleanup 2025-01-04 15:31:06 +00:00
justin f9eca28b80 Cleanup 2025-01-04 15:11:37 +00:00
justin 649fc35e32 Cleanup 2025-01-04 15:09:20 +00:00
justin 89eed0d059 Commit before trying to deal with leak in main inventory display 2025-01-04 12:58:36 +00:00
justin 3b452b9002 Add clicker items that use other items with a one frame delay 2025-01-03 14:50:09 +00:00
justin 386d6f47b0 Mapper, ARHUD, radar sweeps update. Add dropper items 2025-01-03 10:43:06 +00:00
justin e9f5a39ed7 Start implementing mapper item 2025-01-02 16:26:26 +00:00
justin 8bfaa12ea7 Add files 2025-01-02 11:16:57 +00:00
justin 9a8645c2be Add sounds 2025-01-02 11:16:48 +00:00
justin 725a59b9d0 Work on mapper item, simpler generation of items from console 2025-01-02 11:16:04 +00:00
justin 03b25565f1 Allow mouse click interaction for nearby objects 2025-01-02 00:32:45 +00:00
justin 3b60ad6023 Cleanup. Probable leak when inventory is large enough for scrolling 2025-01-01 23:35:36 +00:00
justin adc0878a28 Allow use of items while examine subinventory shows
Still not sure what to do with right click scrolling, item swapping
2025-01-01 21:58:07 +00:00
justin ff5c4db3ae Cleanup 2025-01-01 21:16:47 +00:00
justin 5b978d9f1c Make examine inventory controlled by item, perhaps still buggy 2025-01-01 21:14:38 +00:00
justin 86aba6d115 Improve sticky grenades 2025-01-01 18:03:29 +00:00
justin 511e765e3a Allow grenades to stick to creatures 2025-01-01 17:44:00 +00:00
justin e8fe4c2d72 Start implementing sticky grenades 2025-01-01 17:03:10 +00:00
justin 356301fb61 Remove separate status from selection list 2025-01-01 15:33:59 +00:00
justin dda6cb2ad6 Make display colour for introscan white 2025-01-01 15:28:19 +00:00
justin 08685909be Implement introspection items 2025-01-01 15:20:46 +00:00
justin dae0e0591c Fix bugs in equipment allocation using hotkeys
The behaviour is still not perfect, should be able to cycle through all
options by pressing one key. There is unnecessary memory of past state
going on here
2025-01-01 14:48:17 +00:00
justin 7dd379d4bc Cleanup, delete hotkeys when deleting item from inventory 2025-01-01 14:04:25 +00:00
justin 0915e04b56 Allow jumping to hotkey selection 2025-01-01 12:04:39 +00:00
justin 91111fc89c Add attached/aiming checks on item usage 2025-01-01 11:36:33 +00:00
justin 99114c7351 Refactor hotkey assignation 2024-12-31 13:24:10 +00:00
justin 17da9e00f8 Remove data Hammers 2024-12-31 12:42:03 +00:00
justin 9e2dc995e9 Continue item use refactor 2024-12-31 11:25:56 +00:00
justin 6aa3c701bc Move towards removing item hammers, unifying item use 2024-12-31 11:15:03 +00:00
justin 2fc960321e Remove creature hammer, may have broken equipment/combining 2024-12-31 10:17:31 +00:00
justin ede08ff1db Tweak camera movement 2024-12-31 09:54:57 +00:00
justin e12e4777b2 Make hotkeys assignable to any item, use item id 2024-12-31 09:20:53 +00:00
justin 1e7dcbfded Commit before making hotkeys attach to item ids, not inv ids 2024-12-31 00:34:47 +00:00
justin 87f068f01a Add gimbal and gyroscope, allowing more fine tuned projectile control 2024-12-30 11:41:20 +00:00
justin 4c9632b3f3 Allow to determine new substructural function based on ldt 2024-12-29 21:21:54 +00:00
justin 48ddb94623 Allow item structure to determine if subtree is attachable 2024-12-29 11:52:15 +00:00
justin 2037891cc9 Commit before perhaps rethinking item structure 2024-12-29 10:40:21 +00:00
justin ef7aee82e5 Allow grenades to bounce 2024-12-29 00:33:55 +00:00
justin ad7be9152a Cleanup projectile update 2024-12-28 22:07:05 +00:00
justin 30be7b0983 Continue projectile udpate refactor 2024-12-28 21:58:45 +00:00
justin 2fdc6ae557 Start making projectile update function rather than folded list 2024-12-28 21:31:33 +00:00
justin e028c54948 Cleanup 2024-12-28 10:31:58 +00:00
justin 39a76f758a Remove unnecessary projectile code 2024-12-28 10:20:17 +00:00
justin 2e67924339 Lint 2024-12-28 10:12:01 +00:00
justin 2abb70334f Tweak rockets, smoke 2024-12-28 10:08:14 +00:00
justin 1507b8d3ed Tweak explosions 2024-12-27 23:44:39 +00:00
justin ed5c5d7b8a Refactor projectiles, fix shell drawing 2024-12-27 23:27:53 +00:00
justin 233fe5995c Refactor shells 2024-12-27 23:04:59 +00:00
justin 9168acf12e Cleanup 2024-12-27 22:32:56 +00:00
justin 3b19e7e530 Commit before attempting to remove _prjAcc 2024-12-27 22:09:08 +00:00
justin b6ece953c8 Unify launcher projectile creation 2024-12-27 21:52:18 +00:00
justin 5c749bff63 Work on rocket/grenade launcher 2024-12-27 21:46:46 +00:00
justin 0ef28c132e Replace buggy circle seg intersection with a simpler test 2024-12-26 21:53:18 +00:00
justin 91ba6ee148 Typo fix 2024-12-26 10:17:26 +00:00
justin 53c981718c Start allowing for more granular control of remote projectiles, cleanup 2024-12-26 10:16:18 +00:00
justin ae557f3fd4 Add remote detonator, stop remote screen attaching to nonlauncher ammo 2024-12-25 21:52:09 +00:00
justin c788af47bd Allow more general detection of item use focus 2024-12-25 21:26:25 +00:00
justin aec56f4977 Fix more edge cases in circle collision 2024-12-25 10:14:13 +00:00
justin 1a3ccbaead Add file 2024-12-25 00:11:28 +00:00
justin 04a83ed031 Fix error in circle wall collision detection
The wall zoning did not take into account the radius of the circle
2024-12-25 00:10:26 +00:00
justin 18b569ac89 Cleanup 2024-12-24 21:25:23 +00:00
justin 81fd2131e0 Implement modules changing shell payloads 2024-12-24 21:13:58 +00:00
justin e82ef26b3e Tweak explosions 2024-12-24 15:25:39 +00:00
justin 957f233629 Simplify energyBalls (no z component) 2024-12-24 15:05:36 +00:00
justin c4b9142d0f Tweak explosions 2024-12-24 14:54:32 +00:00
justin a79dfa1bb3 Allow bullets to spawn bullets 2024-12-24 14:17:36 +00:00
justin dc96424de9 Comment out bullet ammo targeting modules 2024-12-24 14:04:18 +00:00
justin d58fdb0b52 Comment out unused code 2024-12-24 14:01:40 +00:00
justin 37da73bf6d Simplify bullets 2024-12-24 13:59:06 +00:00
justin 15317882e6 Cleanup, allow more general magShield deflection 2024-12-24 12:54:28 +00:00
justin 75958c1e2c Remove instantBullets 2024-12-24 12:50:00 +00:00
justin a28ec07ffb Add more bullet deflection types 2024-12-24 12:32:09 +00:00
justin d739a95197 Allow turrets to fire bullets, only good for testing for now 2024-12-24 12:24:27 +00:00
justin fb1553bf3c Tweak "magnets" that affect bullet movement 2024-12-24 10:48:28 +00:00
justin 02b2f9831f Cleanup, fix bug in floating camera zoom 2024-12-23 16:59:55 +00:00
justin 90ec2a3738 Allow a spring and hardware to make weapons automatic 2024-12-23 16:29:10 +00:00
justin 205c0a5c19 Stop instant creature death, allow for more overkill 2024-12-23 15:54:01 +00:00
justin ca61ae0c64 Allow for scrolling alteRifle 2024-12-23 13:16:38 +00:00
justin cae02d8008 Move optic zoom scrolling to item scrolling function
Zoom scrolling behaviour has slightly changed, I'm not sure how I want
it to work yet though
2024-12-23 13:02:56 +00:00
justin a4e1fcf384 Add alteRifle 2024-12-23 10:53:35 +00:00
justin 34c7186aa1 Tweak flares 2024-12-23 10:28:46 +00:00
justin bb5ed215e4 Cleanup 2024-12-22 23:57:54 +00:00
justin e56a467111 Add muzzle flash to bangCone 2024-12-22 23:54:06 +00:00
justin 69458182d9 Add file 2024-12-22 15:36:45 +00:00
justin e2e1e23881 Cleanup tesla arcs 2024-12-22 15:36:28 +00:00
justin 632deb7486 Cleanup tesla arcs 2024-12-22 14:50:08 +00:00
justin acba8de359 Add more wall reflection/randomisation 2024-12-22 10:42:10 +00:00
justin 84821a1531 Randomise volleygun muzzle order 2024-12-21 19:10:34 +00:00
justin 17cb1d8ff8 Add shapes for craft items 2024-12-21 17:16:40 +00:00
justin 978bf864cc Cleanup, remove old cylinder cap poke code 2024-12-21 16:44:05 +00:00
justin 67fa50e2f8 Make cylinders have flat ends 2024-12-21 16:38:16 +00:00
justin 98d4276fd6 Commit before making large changes to cylinder shape 2024-12-21 16:10:22 +00:00
justin a79dbf3b0e Add shapes for some craft items 2024-12-21 13:30:28 +00:00
justin d3a74912d1 Always draw item in hand/equipped 2024-12-21 12:26:39 +00:00
justin 5b6699767a Cleanup 2024-12-21 12:10:21 +00:00
justin e35e056fcb Remove CreatureTargeting, start making shapes for crafts 2024-12-21 12:08:45 +00:00
justin 1e77b45230 Improve volleyGun 2024-12-21 11:47:29 +00:00
justin 8f65fa6bc5 Allow firing of different muzzles on different frames after use 2024-12-21 11:37:52 +00:00
justin e9006addd0 Cleanup 2024-12-20 18:14:27 +00:00
justin 92b190aba8 Cleanup 2024-12-20 18:06:54 +00:00
justin 1e23c9bd1e Add your speed to launched projectile, based on old position 2024-12-20 17:49:46 +00:00
justin 056b8be534 Cleanup 2024-12-20 17:35:02 +00:00
justin e34a17a027 Cleanup, use pattern guards 2024-12-20 17:28:42 +00:00
justin 58635466ae Cleanup 2024-12-20 17:09:17 +00:00
justin d9aaa8cc05 Allow for item use when not root 2024-12-20 16:07:58 +00:00
justin 3a72bd366f Commit before changing ItemUse into single product type 2024-12-20 14:49:18 +00:00
justin e1989eaa1e Cleanup 2024-12-19 23:40:04 +00:00
justin f3cfe8cb5f Fix imports 2024-12-19 22:57:53 +00:00
justin 0a0db28e6d Cleanup 2024-12-19 22:56:25 +00:00
justin 83e65fb1b0 Restrict hotkey firing to initialpress 2024-12-19 22:45:49 +00:00
justin 2b5a81fd11 Cleanup 2024-12-19 22:10:18 +00:00
justin 3da9490dd4 Remove left click/hotkey item data types 2024-12-19 21:55:18 +00:00
justin 910c683eac Move hotkeys out of Creature into LWorld 2024-12-19 15:29:20 +00:00
justin 4526119fcd Start moving hotkeys out from creatures into world 2024-12-19 15:16:47 +00:00
justin 11b5ef74c5 Remove _crInvEquipped 2024-12-19 12:44:34 +00:00
justin 80b03e6544 Move further towards removing _crInvEquipped 2024-12-19 12:29:17 +00:00
justin 7e0184a54d Remove _crCamouflage/wrist invisibility on equip/unequip
Invisibility no longer works
2024-12-19 12:12:54 +00:00
justin a669632226 Make equipment effects use item locations
Move towards removing on/off equipment effects
2024-12-19 11:15:21 +00:00
justin 3ffe61e6db Move equipment effects into "zipper" item update 2024-12-19 10:00:39 +00:00
justin 19e5927934 Move towards removing crInvEquipped 2024-12-19 01:49:13 +00:00
justin 8c04a3f968 Cleanup 2024-12-19 01:36:32 +00:00
justin b0f0f5577c Continue work on refactoring equipment position 2024-12-19 01:29:40 +00:00
justin 331a9a2f9b Start keeping track of item equip status internally (partially done) 2024-12-19 00:55:14 +00:00
justin 5600b29714 Split item consumables from item use 2024-12-18 19:35:39 +00:00
justin db8e26b99d Commit before rethinking item ammo containers 2024-12-18 19:20:37 +00:00
justin 9bc9dd2a08 Cleanup code, speed up radar sweeps 2024-12-18 15:57:37 +00:00
justin 86d884ba01 Cleanup 2024-12-18 15:50:22 +00:00
justin 694bc2b060 Allow triggering items using an ECG 2024-12-18 15:39:04 +00:00
justin c4e8046332 Improve click detectors
Introduce "gadgets" as a structural function, for items that can be used
when held and when not held. Click detectors are such an item. Make
click detectors correctly attach and use up batteries when used.
2024-12-18 13:34:05 +00:00
justin 4d6d255893 Add file 2024-12-18 11:39:52 +00:00
justin d405747bd5 Tweaks concerning item types 2024-12-18 11:39:12 +00:00
justin d0ef2628ce Start more sensibly separating avatar from ai creatures 2024-12-17 19:55:07 +00:00
justin 234b10df40 Remove bullet delay 2024-11-29 21:15:12 +00:00
justin d09e715653 Select item under mouse after releasing drag selection 2024-11-29 21:01:04 +00:00
justin 126f328198 Fix multiple left click explosions of remote rockets 2024-11-29 20:55:51 +00:00
justin 59c65b059a Remove invTrees function 2024-11-29 20:47:16 +00:00
justin de4a955206 Remove reduntant left click item use code 2024-11-29 20:40:14 +00:00
justin 1b99b73f44 Complete PartiallyComposedItem -> ComposedItem 2024-11-29 10:43:08 +00:00
justin 7148051b31 Remove ComposedItem, to be replaced with PartiallyComposedItem 2024-11-29 10:39:39 +00:00
justin a9edab0e31 Cleanup 2024-11-29 10:06:59 +00:00
justin 8d6b44e9f4 Cleanup 2024-11-29 01:37:45 +00:00
justin 61c0ba9251 Cleanup, remove spawngun 2024-11-28 21:48:25 +00:00
justin ba66008c65 Cleanup 2024-11-28 21:27:29 +00:00
justin 7db700042a Cleanup old muzzle position code 2024-11-28 21:26:55 +00:00
justin 3763ff2c8a Partial implementation of more sensible muzzle position determination 2024-11-28 21:15:22 +00:00
justin 0d5e578f07 Implement bullet synth 2024-11-27 20:37:40 +00:00
justin b21513c4dd Move item inv size and item dimensions from records to external function 2024-11-26 23:36:08 +00:00
justin 9534698a24 Cleanup 2024-11-26 23:01:17 +00:00
justin f64dc86a30 Cleanup 2024-11-26 22:55:55 +00:00
justin 2b969f6530 Make selection cursors use selection item width 2024-11-26 22:49:54 +00:00
justin f12c390778 Add selection item width 2024-11-26 21:53:49 +00:00
justin 9e0ef2ed1d Cleanup 2024-11-26 21:27:09 +00:00
justin 199cd73fa9 Make dragging items instantaneous (up to 30 items away, at least) 2024-11-26 21:18:28 +00:00
justin d4c50ede65 Cleanup 2024-11-26 17:47:35 +00:00
justin 3b8c12347d Size multi-item cursor better 2024-11-26 17:46:59 +00:00
justin 94acc5566c Unify backspace in regex code 2024-11-26 17:33:08 +00:00
justin dc5c62e8ff Simplify check if inventory selection exists 2024-11-26 17:20:07 +00:00
justin e1f5049e0f Correctly display held root item 2024-11-26 17:05:13 +00:00
justin 7d0f44a041 Remove default light sources 2024-11-26 13:27:58 +00:00
justin 029c61efc8 Cleanup 2024-11-26 13:19:03 +00:00
justin cc302a6846 Remove temporary light sources as separate entity 2024-11-26 13:12:55 +00:00
justin e93a804559 Allow for lights to be stored in a one-frame list 2024-11-26 12:50:39 +00:00
justin 851fdc2410 Commit before unifying light sources 2024-11-26 12:21:00 +00:00
justin e33fed2239 Click on combine filter jumps to combination 2024-11-26 12:05:19 +00:00
justin a4d95c5bd5 Change behaviour when clicking on filter 2024-11-26 11:59:26 +00:00
justin 145ab77859 Cleanup 2024-11-25 23:17:54 +00:00
justin f91a5cebb5 Cleanup 2024-11-25 23:13:54 +00:00
justin 6aea049b80 Unify terminal size determination 2024-11-25 22:59:54 +00:00
justin 21aae232fc Cleanup 2024-11-25 22:55:28 +00:00
justin d8d30e0192 Cleanup (somewhat) mouseClickOptionsList 2024-11-25 22:54:45 +00:00
justin 0fb6c3ec26 Improve mouse cursor on pickup 2024-11-25 22:41:39 +00:00
justin 6658aa7a0a Stop group selection on unsuitable sections 2024-11-25 22:26:28 +00:00
justin 9da80a0429 Partial fix on selecting unselectable items using mouse 2024-11-25 22:21:36 +00:00
justin bf6e02bd98 Cleanup 2024-11-25 22:16:54 +00:00
justin a4998716e9 Tweak mouse over alpha 2024-11-25 22:04:23 +00:00
justin f36f4b8536 Hide group selection in combine inventory, mempty on combine 2024-11-25 21:55:10 +00:00
justin 445ca84358 Fix bug when dragging items 2024-11-25 21:42:00 +00:00
justin 3ec6be2830 Git is not helpful, asking for a commit 2024-11-25 21:30:00 +00:00
justin 172429bc79 Cleanup 2024-11-25 20:43:27 +00:00
justin 00d8190ffc Fix bug not allowing dragging at extreme bottom edge 2024-11-25 20:41:30 +00:00
justin 3c75b78803 Fix bug when dragging filtered items 2024-11-25 20:04:03 +00:00
justin 8ad91c7bac Cleanup 2024-11-25 19:49:16 +00:00
justin 51caf936f4 Prevent bug on shift selecting from outside selection lists 2024-11-25 18:53:27 +00:00
justin 79bc3b2ddf Update single selection to be under mouse while dragging 2024-11-25 18:29:01 +00:00
justin 887ae2477c Allow selection of noncontiguous items using shift 2024-11-25 18:18:34 +00:00
justin 669f9667f1 Allow scrolling within a larger selection to not remove larger selection 2024-11-25 17:20:09 +00:00
justin 83bcf3c0f7 Cleanup 2024-11-25 16:30:38 +00:00
justin 32f0d287e8 Space only picks up filtered close items 2024-11-25 15:47:32 +00:00
justin bbf95c91d8 Tweak item dropping 2024-11-25 15:22:42 +00:00
justin 4e4cc92939 Improve item pickup by dragging 2024-11-25 15:01:16 +00:00
justin 951d1191cc Can pick up items by dragging 2024-11-25 14:03:42 +00:00
justin 691ed23eb4 Allow dragging after single click 2024-11-25 12:40:45 +00:00
justin 348da9e6b6 Cleanup 2024-11-25 11:23:01 +00:00
justin cd3efa9124 Make dragging behaviour consistent when dragging up and down
This causes a slight gap when dragging backwards and forwards over
large items
2024-11-25 11:19:51 +00:00
justin 2c6037d852 Fix dragging over items larger than the selection group
There is still a further choice/improvement to be made here,
but at least dragging shouldn't glitch out as it currently stands
2024-11-25 11:09:58 +00:00
justin 905be15a33 Tweak bounds for x over selection items 2024-11-25 10:06:13 +00:00
justin 2299ec374c Improve x position check over selection items 2024-11-25 10:03:19 +00:00
justin 9e0f0536e2 Readd space action on buttons 2024-11-24 23:34:03 +00:00
justin 7d2a4bf439 Cleanup 2024-11-24 22:36:00 +00:00
justin 82c53fc8e3 Continue inventory refactor 2024-11-24 22:08:36 +00:00
justin 81fcfea1be Refactor close objects hud display 2024-11-24 16:12:35 +00:00
justin e6c2b659fd Fix indentation display of indented sections 2024-11-24 14:07:54 +00:00
justin 5bea148556 Add section heads to selection sections 2024-11-24 13:24:46 +00:00
justin b2de834bb7 Move status to list on left of screen 2024-11-24 12:51:20 +00:00
justin 1427efedb2 Move towards removing some default display sections 2024-11-24 12:25:21 +00:00
justin 426b81abb9 Reintroduce section-wide indentation 2024-11-24 10:57:09 +00:00
justin 9529185319 Remove section-wide indentation 2024-11-24 10:52:20 +00:00
justin aca7ebd808 Cleanup 2024-11-24 09:47:32 +00:00
justin 896b452539 Refactor section sizing 2024-11-24 09:42:46 +00:00
justin 1e4fd1690f Commit before separating close objects/items 2024-11-23 09:50:30 +00:00
justin 13f5dd09c8 Separate selected item from extra selected items 2024-11-22 15:34:14 +00:00
justin bc2c9c9369 Continue mouse/inventory refactor 2024-11-22 10:33:49 +00:00
justin 1250e2442a Continue improving mouse|inventory interface 2024-11-21 21:04:07 +00:00
justin efef41c9e1 Inventory: allow selection and dropping by dragging while filtering 2024-11-20 19:58:24 +00:00
justin b750fe4186 Cleanup 2024-11-20 17:24:05 +00:00
justin a05511f6d8 Use IntSet for extra selection items 2024-11-20 16:52:03 +00:00
justin 1f5d034c5f Continue selection refactor 2024-11-20 16:15:51 +00:00
justin 3ecf137801 Incomplete work on mouse interaction with filtered inventory 2024-11-20 08:45:51 +00:00
justin 2dc5d35744 Allow dropping items by dragging off inventory 2024-11-19 22:24:03 +00:00
justin 13339c9a12 Tweak mouse over display 2024-11-19 12:51:50 +00:00
justin e31f6dfd4b Continue mouse refactor, add explicit release event/timer 2024-11-19 12:00:31 +00:00
justin 5b709cd7ba Continue mouse context refactor 2024-11-18 22:21:12 +00:00
justin 69fe28afe7 Cleanup 2024-11-18 11:02:12 +00:00
justin 3c5e5b92b1 Refactor code for initial mouse click in game 2024-11-18 11:00:41 +00:00
justin afddcae6d1 Add depth clear/check to fixed layer pictures 2024-11-17 20:01:17 +00:00
justin d5be125a3b Cleanup 2024-11-17 13:03:46 +00:00
justin 5b6c356bab Handle menu selection with mouse context, remove wheel scroll control 2024-11-17 12:32:05 +00:00
justin 53d8ca2861 Move towards moving menu selection list position to mouse context 2024-11-17 12:18:34 +00:00
justin e7ea5d7fa9 Allow for more changable terminal screen colors 2024-11-17 10:18:04 +00:00
justin a0431ff9a3 Remove possiblity of displayed but non-focussed terminal 2024-11-16 20:25:49 +00:00
justin 86f185c71e Determine mouse position over terminal display 2024-11-16 16:45:12 +00:00
justin 5efc9220e0 Continue hud/mouse refactor 2024-11-16 15:06:05 +00:00
justin 0621709f7b Tweak mouse context/cursors 2024-11-15 22:53:33 +00:00
justin 4434093d81 Cleanup 2024-11-10 23:20:48 +00:00
justin 713d3e3265 Centralise mouse context data 2024-11-10 18:26:30 +00:00
justin f35dfc66bd Commit before using central mouse context type 2024-11-10 17:56:50 +00:00
justin b48e949577 Allow use of esc and function keys when in terminal/other subinventories 2024-11-07 19:53:53 +00:00
justin 216d55865f Cleanup 2024-11-07 19:45:53 +00:00
justin efcd3bd84a Add terminal temporary screen light 2024-11-07 19:17:38 +00:00
justin cbc21dbca7 Add new sounds for combining/connecting items 2024-11-07 18:51:59 +00:00
justin ccc966d652 Improve terminal color possibilities 2024-11-07 18:51:18 +00:00
justin bfd4649e1b Refactor terminal prompt/maxlines into terminaltype 2024-11-06 11:16:35 +00:00
justin 6168bf282e Fix import 2024-11-05 21:15:44 +00:00
justin 7e1b5f0921 Start to refactor terminals 2024-11-05 21:14:53 +00:00
justin 79b03ef6ec Fix connecting sounds 2024-11-05 19:48:55 +00:00
justin ecbd51135b Add sounds when connecting/disconnecting items 2024-11-05 19:14:09 +00:00
justin 9b3518e4eb Correctly update root status of item in _ilIsRoot 2024-11-05 18:25:30 +00:00
justin 38ab6a35da Fix equipment equipping/moving with right click 2024-11-04 20:41:20 +00:00
justin 489ff21e12 Remove inventory selection on item drop/pickup 2024-11-04 19:45:12 +00:00
justin 3f9b31a838 Cleanup 2024-11-04 19:30:15 +00:00
justin 0237e655b5 Cleanup 2024-11-04 10:28:21 +00:00
justin 2a314d22e3 Fix combinations display 2024-11-04 10:19:53 +00:00
justin 0b43541080 Tweak combine inventory display/click events 2024-11-04 10:00:10 +00:00
justin df08dc8ab5 Tweak mouse pointer display 2024-11-04 09:32:36 +00:00
justin 1ed09fa8de Allow selecting using mouse click in combine inventory 2024-11-04 00:53:19 +00:00
justin c1b1611279 Record mouse over combination selections 2024-11-04 00:40:24 +00:00
justin fafef1275b Allow filtering of combinations with mouse click on inventory 2024-11-04 00:07:37 +00:00
justin adca54c1ef Tweak mouseover display to (partially) work during filtering 2024-11-03 20:52:00 +00:00
justin feec061aa6 Add separate function checking when inventory is filtered 2024-11-03 09:50:18 +00:00
justin 7bafb1e9e6 Add cursor at end of input filters 2024-11-02 21:56:28 +00:00
justin a25b62d77f Add more ascii characters
Will also add more characters from code page 437
2024-11-02 02:34:06 +00:00
justin 723dfafc18 Make inventory cursor change when dropping items sensible 2024-11-01 11:23:39 +00:00
justin de12f0ef34 Cleanup 2024-10-31 09:55:57 +00:00
justin a2dd10323c Remove _ssCursor 2024-10-31 09:55:12 +00:00
justin 79b0af228e Cleanup 2024-10-31 09:50:21 +00:00
justin 97c3f1262b Display root+tree selection when aiming 2024-10-28 14:26:09 +00:00
justin 53557965d0 Remove Either construct over invAdj 2024-10-26 15:03:45 +01:00
justin 6402ab11da Continue tweaking inventory display 2024-10-26 14:50:35 +01:00
justin e2f3d6a378 Improve inventory display 2024-10-26 10:53:36 +01:00
justin ae0f2fad0f Remove _decorations 2024-10-26 09:18:11 +01:00
justin f11dfe53db Cleanup 2024-10-26 09:15:56 +01:00
justin dc34172691 Unify regex/filtering code 2024-10-26 00:01:12 +01:00
justin 46ee29f646 Remove intmap over filters 2024-10-25 22:42:23 +01:00
justin d93c548d3c Remove SelectionSections 2024-10-25 22:19:04 +01:00
justin a20fc48eaa Move SSSExtra out of SelectionSections 2024-10-25 21:55:09 +01:00
justin 069392bd33 Commit before reorganising/removing SSSExtra 2024-10-25 21:35:43 +01:00
justin f6c136cfd6 Cleanup 2024-10-25 21:05:32 +01:00
justin 6424899afd Remove cursor type from ListDisplayParams 2024-10-25 17:41:37 +01:00
justin bd505b072a Make scrolling reduce selected items to 1 2024-10-25 12:50:36 +01:00
justin 90862b0c69 Cleanup 2024-10-25 12:43:18 +01:00
justin ec07e6b1a2 Prevent dragging items down from cycling to top 2024-10-25 12:31:05 +01:00
justin 4da5bfa497 Implement downwards inventory drag, buggy 2024-10-25 10:40:22 +01:00
justin 0c5a21765a Reimplement dragging upwards with mouse 2024-10-25 10:29:27 +01:00
justin 388064895f Decouple selection section inventory position 2024-10-24 14:55:51 +01:00
justin 81f4f38166 Move towards separating selection sections cursor position storage 2024-10-24 13:42:49 +01:00
justin 5ca440ca67 Start simplifying mouse inventory selection 2024-10-24 11:47:51 +01:00
justin 9e3d8ae6b0 Cleanup 2024-10-22 11:22:38 +01:00
justin 65f05b93f8 Cleanup compiler warnings 2024-10-22 10:48:44 +01:00
justin c0b1092fb6 Cleanup some compiler warnings 2024-10-22 10:33:14 +01:00
justin e2330618f2 Update stack lts 2024-10-22 10:07:13 +01:00
justin f6e32ff6ef Allow dragging of selected items in inventory 2024-10-20 11:32:37 +01:00
justin 8b6f5529ff Add 8-way cardinal/intercardinal datatype 2024-10-18 12:39:46 +01:00
justin d256bc0443 Highlight moused-over inventory items 2024-10-16 22:14:11 +01:00
justin cf0873d73b Start adding mouse control of inventory 2024-10-15 23:26:08 +01:00
justin e745238b8f Make weapon fail sound distinct 2024-10-08 20:55:59 +01:00
justin d1ee0f997a Fix attachment of augmented hud to laser 2024-10-08 17:36:00 +01:00
justin c0879393cd Remove non-laser item TARGETLASER 2024-10-08 17:07:31 +01:00
justin 72346093c7 Use item function in determining attachments 2024-10-08 16:46:09 +01:00
justin 685eaa3a04 Update inventory every tick (for close objects) 2024-10-08 16:05:37 +01:00
justin 9679f32618 Use constructed laser as targeting scope 2024-10-08 15:53:03 +01:00
justin da5a895f24 Cleanup 2024-10-08 10:47:31 +01:00
justin 30aa3aaaa1 Use fromDistinctAscList rather than fromAscList 2024-10-08 10:22:14 +01:00
justin 2d536a31c9 Cleanup 2024-10-08 10:17:50 +01:00
justin 7783108515 Make updateInventoryPositioning fire less often 2024-10-08 10:05:03 +01:00
justin 507c8e9819 Cleanup, remove inventory display update code on dropping item 2024-10-06 22:32:10 +01:00
justin 650854d13e Remove shrink gun 2024-10-06 22:09:55 +01:00
justin 597e8dd89d Rewrite of item color in inventory, runs slowly 2024-10-06 12:55:18 +01:00
justin 9860a88c0c Make lasGun have multiple functions when attached differently 2024-10-06 11:19:19 +01:00
justin 3b54f00cc7 Move towards using item structural function when using items 2024-10-05 20:53:50 +01:00
justin 7c324a03f6 Commit before using item structural function more prominently 2024-10-05 16:38:14 +01:00
justin 164beeea6d Implement zipper for attachment trees 2024-10-05 14:39:34 +01:00
justin 71d4802a4a Remove explicit muzzle flares for picture updated every frame 2024-10-04 01:31:04 +01:00
justin 075429088b Make anti-clockwise what were clockwise shapes, cleanup flash module-ing 2024-10-04 00:59:08 +01:00
justin ac550bc6a4 Add battery shape/picture 2024-10-04 00:25:44 +01:00
justin 127d85e7ce Cleanup constructors FooUse -> UseFoo 2024-10-03 20:39:41 +01:00
justin 6b4cf596b1 Cleanup triggertype 2024-10-03 11:43:14 +01:00
justin ce2f13ade3 Cleanup/remove trigger types code 2024-10-03 11:39:12 +01:00
justin 3c9941923d Fix bug in creature death drop/destruction ordering 2024-10-03 11:19:53 +01:00
justin 1953fb2d0c Cleanup, fix broken records in LeftUse 2024-10-03 10:34:17 +01:00
justin e88b3c7443 Cleanup 2024-10-03 10:25:08 +01:00
justin 91bf1bc62a Cleanup UseEquip constructor 2024-10-03 10:15:17 +01:00
justin 3b75ab73aa Cleanup code for your control 2024-10-03 10:08:13 +01:00
justin 844bb486e6 Make torch use battery power 2024-10-02 23:53:38 +01:00
justin 49ffbfafc2 Fix bug in attached item position orienting 2024-10-02 22:57:10 +01:00
justin 6bcd5bc591 Cleanup 2024-10-02 18:54:31 +01:00
justin effd89dc78 Cleanup, remove jetpack 2024-10-02 18:23:49 +01:00
justin bac57a702d Allow determination of attach item relative positions 2024-10-02 10:24:10 +01:00
justin 7ce5225491 Work on orienting positions for attachment items 2024-10-02 00:30:52 +01:00
justin 8df6b31062 Move towards being able to orient positions on attached items 2024-10-01 20:13:08 +01:00
justin fa4e117f93 Attempt to simplify attachment process 2024-10-01 15:34:53 +01:00
justin cb461963f0 Add file with function for making generic attachables 2024-10-01 14:29:53 +01:00
justin 15262c4817 Fix bug in remote screen 2024-10-01 14:29:39 +01:00
justin f90bbc1cd0 Work on AttachUse -> UseAttach 2024-10-01 14:21:40 +01:00
justin 36238669f5 Cleanup invLDT 2024-10-01 13:28:25 +01:00
justin ea353f8bcc Fully remove forcefieldgun 2024-10-01 13:20:55 +01:00
justin d357d5a03c Some cleanup of rendering/poking, remove forcefield gun 2024-10-01 13:19:34 +01:00
justin 6438da0037 Commit AFTER playing around with poking/vector sizing a little 2024-10-01 12:32:23 +01:00
justin 8348c1234c Cleanup 2024-10-01 10:33:15 +01:00
justin 87cbaf911f Cleanup combining code, flatten modules 2024-10-01 10:01:21 +01:00
justin f69d150e00 Cleanup 2024-10-01 02:46:18 +01:00
justin c4f3961672 Cleanup 2024-10-01 02:25:04 +01:00
justin dc44d20baf Cleanup 2024-10-01 01:50:15 +01:00
justin 5091709f70 Cleanup launcher code 2024-10-01 01:43:51 +01:00
justin 5a4f2711c8 Use strict tuples for SPics 2024-10-01 01:20:29 +01:00
justin a98ec80f59 Remove bottom and mid layer pictures 2024-10-01 00:37:31 +01:00
justin c3d112e52e Commit before attempting to remove bottom and mid picture layers 2024-10-01 00:16:46 +01:00
justin c2214dae60 Reenable mid layer rendering, may remove bottom layer rendering 2024-09-30 23:32:01 +01:00
justin 752b568a86 Work on orienting and drawing attachments 2024-09-30 23:02:22 +01:00
justin 48b8cfe7ef Cleanup 2024-09-30 21:32:51 +01:00
justin 74b518e10b Add file 2024-09-30 21:12:20 +01:00
justin b7d949c035 Draw cursor when targeting with HUD 2024-09-30 21:11:56 +01:00
justin d8d3a01f06 Allow for assigning attach items orientations 2024-09-30 16:09:56 +01:00
justin fd8adcea92 Cleanup, prepare ground to allow for drawing attached items 2024-09-30 15:09:21 +01:00
justin 18219d0bff Cleanup 2024-09-30 14:27:50 +01:00
justin 53e959e6cc Cleanup 2024-09-30 14:21:19 +01:00
justin 06cca549d9 Start removing tweakables 2024-09-30 14:07:20 +01:00
justin ad76359dcf Cleanup invSelectionItem 2024-09-30 13:17:10 +01:00
justin fc5539cb38 Cleanup 2024-09-30 12:54:31 +01:00
justin 65564c993b Cleanup 2024-09-30 12:03:23 +01:00
justin 9ad1b8cc5b Add file 2024-09-30 11:42:46 +01:00
justin 0701c4043e Remove (by commenting out) module item-type system 2024-09-30 11:42:10 +01:00
justin 4545caa7e6 Implement bullet trajectories using attachable items 2024-09-29 21:51:14 +01:00
justin 88c3e02459 Implement targeting launcher shells using separate item 2024-09-29 16:24:26 +01:00
justin 7d72fa3c5d Add newtype for item id int 2024-09-28 23:34:32 +01:00
justin 241191ee1b Move towards external targeting items 2024-09-28 23:01:50 +01:00
justin d1690ed3ac Cleanup 2024-09-27 23:10:01 +01:00
justin 6c3d0d5def Cleanup 2024-09-27 21:55:17 +01:00
justin dd6cbc0bfb Cleanup projectile creation 2024-09-27 14:14:58 +01:00
justin 21e49ddefc Unify launcher projectiles 2024-09-27 13:55:34 +01:00
justin 5f9fb183a9 Implement remote screen for launcher projectiles 2024-09-27 10:39:21 +01:00
justin fb6fcff61c Cleanup 2024-09-26 16:32:07 +01:00
justin 772886c8c6 Allow for more complex item composition 2024-09-26 00:00:46 +01:00
justin 61f07be08b Add prospective data types for more complex item attachments 2024-09-25 22:09:19 +01:00
justin 600b8cd309 Commit before changes to item grammar 2024-09-25 11:13:01 +01:00
justin f765b02f2c Fix bug in item item location 2024-09-24 22:29:25 +01:00
justin df80e87427 Cleanup, slight improvements to item location references 2024-09-24 22:05:20 +01:00
justin 25cec10313 Flatten values in creature manipulation data types 2024-09-24 21:50:21 +01:00
justin fe00af0e73 Extend inv item location information to include "attached" items 2024-09-24 21:26:26 +01:00
justin fbb60bf358 Delete redundant weapon chain effect code 2024-09-24 18:25:24 +01:00
justin 34c244a332 Fix bug in item loc when combining items, rethink centralizing item locs 2024-09-24 18:07:25 +01:00
justin a6eb5cf982 Commit before only putting item locations in single itemLocations intmap 2024-09-24 09:31:20 +01:00
justin 77e5f684aa Add file 2024-09-23 22:42:23 +01:00
justin 265da89791 Add newtype to floor item ids 2024-09-23 22:42:09 +01:00
justin 43b365185d Improve item location code, including some error detection 2024-09-23 14:33:14 +01:00
justin 3a08cf93f5 Add files 2024-09-23 13:12:25 +01:00
justin 5262355368 Fix bugs in item locations 2024-09-23 13:12:09 +01:00
justin 4f6431968c Improve item location code 2024-09-22 14:29:02 +01:00
justin 236f7c7750 Commit before tweaking item id/locations 2024-09-22 13:58:00 +01:00
justin efd3e17cbf Cleanup, think about removing creature "hammer" 2024-09-22 10:47:47 +01:00
justin 80e5c69489 Add file 2024-09-21 22:00:31 +01:00
justin 31b5db6e9e Distinguish between selected item and root-selected item 2024-09-21 21:59:53 +01:00
justin 2154abfb1d Add roots and parents to adjacency function from Double Trees 2024-09-21 20:30:29 +01:00
justin 86d8e3a98a (Re)Implement nozzle walking 2024-09-21 19:42:28 +01:00
justin 241f6fdf10 Cleanup 2024-09-21 19:06:43 +01:00
justin cb3288db45 Cleanup. Only update draw distance every 5 frames 2024-09-21 18:46:16 +01:00
justin 9df60d62ab Cleanup, only commented out char sequence scrolling code 2024-09-21 16:59:56 +01:00
justin 27e07a10c4 Make optical scope relative to camera rotation 2024-09-21 16:52:04 +01:00
justin 9dff2fcd7a Commit before partial cleanup, continue weapon effect refactor 2024-09-21 16:04:23 +01:00
justin bb18831393 Continue weapon refactor, gas combinations 2024-09-19 09:49:56 +01:00
justin 6f972bb316 Implement launcher using attachment weapon chain effects 2024-09-18 22:12:14 +01:00
justin 765e08117a Add more weapons to attachment chain effects 2024-09-18 19:06:57 +01:00
justin 2c96a514ea Continue weapon effect chain work
Start work on using muzzles to determine the effect of the ammo when
loaded
2024-09-18 00:36:28 +01:00
justin 791003ebb9 Implement burstRifle using attachment weapon chain 2024-09-17 11:05:34 +01:00
justin ecc63a70cc Fix bullet randomness (from eg bangCone) 2024-09-17 09:20:37 +01:00
justin e8c4c8eba4 Add file 2024-09-16 23:35:45 +01:00
justin e23c7a0154 Continue refactor of bullet gun effect chain 2024-09-16 23:34:54 +01:00
justin 40378d3de4 Add file 2024-09-16 19:27:49 +01:00
justin 1d1d1527e7 Continue weapon effect chain refactor 2024-09-16 19:27:21 +01:00
justin abc0dd1106 Partial refactor of bullet weapon effect chain 2024-09-16 13:05:59 +01:00
justin 6f372109d9 Start unifying heldUse and heldMods 2024-09-15 10:54:24 +01:00
justin cde7bc9aef Move towards working implementation of attachment tree ammo 2024-09-14 10:44:35 +01:00
justin 51e133ebc1 Commit before changes to item usage using attachment tree 2024-09-13 22:50:00 +01:00
justin 338d9e8422 Auto create tree structure for held item ammo, add derive instances 2024-09-13 17:34:29 +01:00
justin fb104a1719 Display basic tree of attachments in inventory 2024-09-13 16:19:17 +01:00
justin bd681a577c Move towards displaying tree links in inventory 2024-09-13 12:02:28 +01:00
justin c81fd5490d Cleanup 2024-09-13 09:43:56 +01:00
justin d2e1b054d0 Cleanup 2024-09-12 18:30:38 +01:00
justin e69abf1715 Implement simple indenting in selection menu 2024-09-12 18:14:52 +01:00
justin 4dedba8d30 Add file 2024-09-12 10:21:56 +01:00
justin 891fd0079c Allow for indentation of individual selection items 2024-09-12 10:21:35 +01:00
justin eddb313ea1 Simplify selection menu, remove overlapping 2024-09-11 16:39:56 +01:00
justin c72278f728 Commit before working on displaying composed items in inventory 2024-09-11 16:04:33 +01:00
justin 60c399935e Add link types to attachment tree 2024-09-11 11:33:08 +01:00
justin c80217a970 Child items set to be above xor below 2024-09-10 16:52:44 +01:00
justin 26f3610f82 Continue tree based inventory update 2024-09-10 16:35:44 +01:00
justin 854fc96ac7 Work on converting inventory list to tree 2024-09-10 14:31:36 +01:00
justin 52d0008441 Add files, move towards joining items in inventory 2024-09-09 23:13:00 +01:00
justin db4a6a10de Only display combinations for first items in list 2024-09-08 21:00:16 +01:00
justin 4de15d2c21 Allow item combination to use non-stacking items 2024-09-08 20:33:18 +01:00
justin 3dcf8de3c3 Move towards a non-stacking inventory 2024-09-08 20:13:43 +01:00
justin 86795f1a10 Commit before removing stackable items 2024-09-08 15:17:59 +01:00
justin 1006bb5529 Continue reload removal 2024-09-08 10:33:16 +01:00
justin e03c8dd830 Partial removal of reloading 2024-09-08 10:21:35 +01:00
justin 581d2494dc Commit before removing reloading
Reloading as a concept should be handled by positioning
magazines/tanks/ammo-stores next to items that consume ammo. Magazines
themselves could have various methods for refilling or recreating:
crafting, auto-refill over time (synthesis explanation), refill based on
external world objects, and perhaps other ideas.
2024-09-07 10:13:18 +01:00
justin 32cb2b2e80 Make launcherX use multiple ammo sources 2024-06-28 22:40:24 +01:00
justin 009a6cd30f Pass ammo magazine items to held item use chain 2024-06-25 15:50:22 +01:00
justin c723d1b1e1 Move around ammo source checks 2024-06-22 16:23:34 +01:00
justin 25cecb8ea6 Move shells to external magazines 2024-06-22 15:36:58 +01:00
justin e977673aa2 Remove old datatypes, change ammomag inv text colour 2024-06-22 12:15:10 +01:00
justin 8e127f0603 Make ammo magazines into own item type 2024-06-22 12:03:32 +01:00
justin 35a56eef56 Fix minigun inter-frame bullet speed 2024-06-22 11:42:33 +01:00
justin a9ac974a2c Move bullet modifications from weapons to magazines 2024-06-22 10:40:11 +01:00
justin a3eca3a674 Start moving bullet ammo parameters to more sensible places 2024-06-22 00:08:42 +01:00
justin 944b40cb56 Remove old ammo code, add magazines to some test loadouts 2024-06-21 23:24:26 +01:00
justin ecefba21d6 Implement reloading of single external magazines 2024-06-21 14:50:08 +01:00
justin 872e60438e Add loading cycles to magazines 2024-06-21 13:37:51 +01:00
justin 0a1b0386b9 Remove internal ammo 2024-06-21 12:48:41 +01:00
justin d41604fcde Mid implementation of external ammo sources 2024-06-20 22:58:52 +01:00
justin 7162893c4f Tweak lighting shaders, add commented versions without normal mapping 2024-06-20 16:33:23 +01:00
justin 935f09f08e Fix console item creation, fix tank object clockwise orientation 2024-06-11 14:19:31 +01:00
justin c862c862df Return to project, unsure about changes 2024-05-25 13:10:50 +01:00
justin 08716e8ade Add rotate to scope for (hopefully) all torque functions 2023-12-26 23:39:22 +00:00
justin 105de0d120 Add rotation to scope in two torque functions 2023-12-26 23:34:55 +00:00
justin 6ee1249b6d Add comment 2023-12-26 23:11:12 +00:00
justin 12c509a8b0 Split up your control functions 2023-12-26 23:08:44 +00:00
justin 9dafdb99f0 Make movement always directly responsive to WASD 2023-12-26 21:51:23 +00:00
justin 26c55ee7f5 Fix aiming with scope 2023-12-26 21:45:59 +00:00
justin 3b4bef944d Cleanup 2023-12-24 14:20:30 +00:00
justin 494db47945 Partially working attachable scope 2023-12-24 13:16:43 +00:00
justin 210787d2dc Broken commit 2023-12-23 15:14:02 +00:00
justin f26d380c1b Start implementing attachable scroll items 2023-11-08 18:39:38 +00:00
justin 8f0dd8cd1b Add files 2023-09-25 13:39:06 +01:00
justin 0a7f5079ad Work on weapon attachments 2023-09-25 13:38:47 +01:00
justin f9c6769262 Remove _itInvColor 2023-09-25 10:51:24 +01:00
justin 9ee925f13a Commit on returning to work 2023-09-21 09:17:49 +01:00
justin b8f03f7d8c Commit before moving to external weapon magazines 2023-05-30 11:07:30 +01:00
justin 02c34f99f1 Fix muzzle flare 2023-05-29 16:52:29 +01:00
justin 9283ae187f Fix scope rotation after torque 2023-05-28 16:22:54 +01:00
justin 24939094c6 Cleanup 2023-05-28 15:09:42 +01:00
justin 29017e6b06 Move handle positions 2023-05-28 15:02:23 +01:00
justin 7fc36ab028 Improve weapon handle offsets 2023-05-28 13:59:58 +01:00
justin 4b35a683af Tweak muzzle flare 2023-05-28 11:14:05 +01:00
justin 10c9e2261f Held item rclick use, tweak reload on lclick 2023-05-28 10:17:32 +01:00
justin ec8317c14e Work on held item usage 2023-05-27 12:32:09 +01:00
justin 4cfb7d431a Explicitly store list of barrels for weapons 2023-05-20 17:48:51 +01:00
justin 03611c6b95 Move towards unifying weapon barrels 2023-05-20 15:29:46 +01:00
justin f2183e9954 Cleanup 2023-05-20 15:06:05 +01:00
justin 6c71e1d5bb Cleanup 2023-05-20 00:44:54 +01:00
justin 938809a3a1 Continue to work on targeting inventory items 2023-05-20 00:34:23 +01:00
justin 6053bb059b Move targeting strings, broke targeting usage 2023-05-20 00:02:50 +01:00
justin 2d3b76dfd4 Move towards positional item targeting 2023-05-19 23:03:52 +01:00
justin 7cb17034f8 Add weapon fail fire sound 2023-05-19 21:18:50 +01:00
justin 297b4e0b3c Simplify and correct hammer check for held weapons 2023-05-19 20:00:11 +01:00
justin 17c79e7cee Cleanup and fix selection section cursor position bug 2023-05-19 19:29:37 +01:00
justin 03b793802f Cleanup, stop drawing space characters 2023-05-19 18:24:53 +01:00
justin 448669cd83 Fix cursor positioning in selection sections 2023-05-19 16:07:11 +01:00
justin 5604d7f1e3 Enable overlapping text in selection sections 2023-05-19 13:47:36 +01:00
justin ac87621640 Commit before extending selection sections: overlapping elements 2023-05-19 13:38:21 +01:00
justin 2f0bb5115b Commit before implementing positional inventory 2023-05-18 09:52:46 +01:00
justin 7df81559d9 Work towards adding external ammo sources 2023-05-17 11:01:52 +01:00
justin 63c71c852d Refresh mouse over in menu instantly 2023-05-15 15:08:25 +01:00
justin 05bc7c6655 Allow for equip/unequip with single left click 2023-05-15 12:11:15 +01:00
justin ddb72690b1 Cleanup 2023-05-15 11:57:54 +01:00
justin c4ec84c0f9 Further simplify right button options 2023-05-15 11:39:43 +01:00
justin 0e450f7bc7 Add file 2023-05-15 11:06:28 +01:00
justin a67e8667bc Simplify right button options 2023-05-15 11:06:13 +01:00
justin 0735b46266 Stop equip after combining 2023-05-15 06:46:09 +01:00
justin 1cec50c5ab Work on inventory ui 2023-05-14 22:22:21 +01:00
justin 3499384d38 Add file 2023-05-12 00:48:41 +01:00
justin 2d32eeb266 Tweak display when equiping 2023-05-12 00:48:07 +01:00
justin 6081f90f90 Cleanup rendering 2023-05-10 21:26:17 +01:00
justin 5f238a65d0 Cleanup 2023-05-10 20:32:26 +01:00
justin 312f342e09 Color scroll lines in inventory display 2023-05-10 18:01:14 +01:00
justin 69fbf5926a Fix mouse selection in menus 2023-05-10 12:37:36 +01:00
justin cc42a5e124 Work on mouse selection in options menu 2023-05-10 10:02:37 +01:00
justin ab714d63db Cleanup 2023-05-10 02:47:22 +01:00
justin 12aa1361eb Make parameters for display of list pictures more sensible 2023-05-10 02:25:38 +01:00
justin f569f3f173 Add file 2023-05-10 01:45:29 +01:00
justin cd42e29012 Work on cursor for lists 2023-05-10 01:44:42 +01:00
justin 93519345de Attempt to globally translate drawn lists 2023-05-09 00:58:03 +01:00
justin 865706df3b List rendering work 2023-05-05 10:22:46 +01:00
justin 988bb7591d Work on rendering lists 2023-05-05 09:58:12 +01:00
justin be37de18cb Add file 2023-05-05 02:37:36 +01:00
justin 03c3d34ea1 Attempt to simplify text positioning 2023-05-05 02:37:18 +01:00
justin 031af611cd Cleanup, stop assigning hotkeys to unequipped items 2023-05-05 01:59:40 +01:00
justin aeefbd4c40 Start move towards using assignable hotkeys for active equipment 2023-05-03 22:37:57 +01:00
justin 487280a475 Fix bug concerning effects when dropping items 2023-05-03 22:12:19 +01:00
justin d99d612e68 Reorganise 2023-05-03 20:03:05 +01:00
justin ff512348e0 Cleanup 2023-05-03 20:02:56 +01:00
justin 748e24137f Cleanup 2023-05-03 19:24:29 +01:00
justin 2a39497805 Implement more scrolling arguments in terminal 2023-05-03 19:06:29 +01:00
justin 727e5af2a6 Fix left clicks in terminals 2023-05-03 16:45:39 +01:00
justin 1d5f982fcc Add file 2023-05-03 11:19:59 +01:00
justin ed8d8f0e93 Work on terminals 2023-05-03 11:19:47 +01:00
justin 61f88aeb4a Cleanup 2023-05-01 22:35:33 +01:00
justin 7b8b8750a9 Fix zoom bug 2023-05-01 14:27:49 +01:00
justin 60e5e6ecae Add extra warning cries to chaseCrits 2023-05-01 14:01:27 +01:00
justin b34a9f5b09 Cleanup 2023-05-01 10:30:33 +01:00
justin 1a746adad2 Add file 2023-05-01 10:27:16 +01:00
justin d0534e6fa3 Remove push damage types, push and torque done through dam effects 2023-05-01 10:26:48 +01:00
justin 06608c60bf Tweak chaseCrit melee striking 2023-05-01 10:21:03 +01:00
justin ba12a73842 Tweak chase crit perception 2023-04-30 23:29:31 +01:00
justin 5180e9a995 Chase crit suspicion increases more when you are closer 2023-04-30 18:12:54 +01:00
justin 08e71e5451 Add more debug info for selected creatures 2023-04-30 13:55:54 +01:00
justin 5b1212e4f6 Count mouse button press time up from 0 2023-04-27 11:39:42 +01:00
justin 9972e0fdea Work on debugging 2023-04-27 11:35:48 +01:00
justin 35990c53bf Add file 2023-04-25 15:46:03 +01:00
justin d217fe7375 Allow for time rewind with floating camera 2023-04-25 15:45:45 +01:00
justin 734d74af52 Tweak pause camera movement 2023-04-25 10:23:43 +01:00
justin a2ad7c23ff Remove old instancing framebuffer 2023-04-23 15:18:48 +01:00
justin 9c11a8ff66 Remove instancing shaders 2023-04-23 12:48:55 +01:00
justin 4bb9841be8 Remove compute shaders 2023-04-23 12:39:35 +01:00
justin 20eef80568 Add file 2023-04-23 12:30:51 +01:00
854 changed files with 289228 additions and 25300 deletions
+2
View File
@@ -0,0 +1,2 @@
:set prompt ">"
:load test/Spec.hs
+1
View File
@@ -0,0 +1 @@
--command "stack ghci --test --main-is loop:test:loop-test --ghci-options=-fobject-code"
+6
View File
@@ -4,3 +4,9 @@
loop.cabal
*.lock
keys.json
log/*
generated/*
UntrackedMisc/*
tags
ghcidOutput
.ghcid.bak
+71
View File
@@ -0,0 +1,71 @@
# HLint configuration file
# https://github.com/ndmitchell/hlint
##########################
# This file contains a template configuration file, which is typically
# placed as .hlint.yaml in the root of your project
# Specify additional command line arguments
#
# - arguments: [--color, --cpp-simple, -XQuasiQuotes]
# Control which extensions/flags/modules/functions can be used
#
# - extensions:
# - default: false # all extension are banned by default
# - name: [PatternGuards, ViewPatterns] # only these listed extensions can be used
# - {name: CPP, within: CrossPlatform} # CPP can only be used in a given module
#
# - flags:
# - {name: -w, within: []} # -w is allowed nowhere
#
# - modules:
# - {name: [Data.Set, Data.HashSet], as: Set} # if you import Data.Set qualified, it must be as 'Set'
# - {name: Control.Arrow, within: []} # Certain modules are banned entirely
#
# - functions:
# - {name: unsafePerformIO, within: []} # unsafePerformIO can only appear in no modules
# Add custom hints for this project
#
# Will suggest replacing "wibbleMany [myvar]" with "wibbleOne myvar"
# - error: {lhs: "wibbleMany [x]", rhs: wibbleOne x}
# The hints are named by the string they display in warning messages.
# For example, if you see a warning starting like
#
# Main.hs:116:51: Warning: Redundant ==
#
# You can refer to that hint with `{name: Redundant ==}` (see below).
# Turn on hints that are off by default
#
# Ban "module X(module X) where", to require a real export list
#- warn: {name: Use explicit module export list} # TODO uncomment
#
# Replace a $ b $ c with a . b $ c
#- group: {name: dollar, enabled: true} # TODO uncomment
#
# Generalise map to fmap, ++ to <>
#- group: {name: generalise, enabled: true} # TODO uncomment
#
# Warn on use of partial functions
# - group: {name: partial, enabled: true} # possibly uncomment
- group: {name: use-lens, enabled: true}
# Ignore some builtin hints
# - ignore: {name: Use let}
# - ignore: {name: Use const, within: SpecialModule} # Only within certain modules
- ignore: {name: Functor law}
# Define some custom infix operators
# - fixity: infixr 3 ~^#^~
# To generate a suitable file for HLint do:
# $ hlint --default > .hlint.yaml
-3
View File
@@ -1,3 +0,0 @@
# Changelog for loop
## Unreleased changes
-1
View File
@@ -1 +0,0 @@
# loop
+26 -22
View File
@@ -1,36 +1,27 @@
module Main (
main,
) where
module Main (main) where
import Dodge.SoundSelection
import Control.Lens
import Control.Monad
import Control.Parallel
import qualified Data.Map.Strict as M
--import Data.Preload.Render
import qualified Data.Text as T
import Dodge.Concurrent
import Dodge.Config.Load
import Dodge.Config.Update
import Dodge.Config
import Dodge.Data
import Dodge.Event
import Dodge.Initialisation
import Dodge.LoadSeed
import Dodge.Menu
import Dodge.Render
import Dodge.SoundLogic.LoadSound
import Dodge.StartNewGame
import Dodge.TestString
import Dodge.Update
--import qualified IntMapHelp as IM
import Loop
import Music
--import Picture
import Preload
import Preload.Render
--import Render
import SDL (($=))
import qualified SDL
--import qualified SDL.Mixer as Mix
import Sound
import System.Directory
@@ -74,7 +65,7 @@ winConfig x y winpos =
theCleanup :: Universe -> IO ()
theCleanup uv = SDL.cursorVisible $= True >> cleanUpPreload (_preloadData uv)
firstWorldLoad :: Configuration -> IO Universe
firstWorldLoad :: Config -> IO Universe
firstWorldLoad theConfig = do
SDL.cursorVisible $= False
pdata <- doPreload >>= applyWorldConfig theConfig
@@ -95,20 +86,31 @@ firstWorldLoad theConfig = do
, _uvFrameTicks = 0
, _uvRAMSave = Nothing
, _uvDebug = mempty
, _uvDebugFloat1 = 10
, _uvDebugFloat2 = 0
, _uvDebugV2_1 = 0
, _uvDebugV2_2 = 1
, _uvDebugPut = mempty
, _uvDebugMessageOffset = 0
, _uvSoundQueue = mempty
, _uvDebugPathShowType = PathBetweenDebugV2s
}
return $ u & uvScreenLayers .~ [splashMenu u]
--return $ u & uvScreenLayers .~ [splashMenu u]
return $ startNewGameInSlot 0 u
theUpdateStep :: SDL.Window -> Universe -> IO Universe
theUpdateStep win = doSideEffects <=< updateRenderSplit win
updateRenderSplit :: SDL.Window -> Universe -> IO Universe
updateRenderSplit win u = do
updateUniverse u `par` void (doDrawing win u)
--updateUniverse u `par` void (doDrawing win u)
updateUniverse u `par` doDrawing win u
return $! updateUniverse u
playSoundUnlessRewinding :: Universe -> IO (M.Map SoundOrigin Sound)
playSoundUnlessRewinding u = case w ^. timeFlow of
NormalTimeFlow -> playSoundAndUpdate (_soundData $ _preloadData u) (_playingSounds w) (_toPlaySounds w)
NormalTimeFlow -> playSoundAndUpdate (_soundData $ _preloadData u) (_playingSounds w) (newSoundsToPlay u)
RespawnDelay{} -> playSoundAndUpdate (_soundData $ _preloadData u) (_playingSounds w) (newSoundsToPlay u)
_ -> stopAllSounds >> return M.empty
where
w = _uvWorld u
@@ -116,6 +118,7 @@ playSoundUnlessRewinding u = case w ^. timeFlow of
doSideEffects :: Universe -> IO Universe
doSideEffects u = do
newPlayingSounds <- playSoundUnlessRewinding u
playSoundQueue (_soundData $ _preloadData u) (fmap _getSoundID $ u ^. uvSoundQueue)
u' <- _uvIOEffects u u
endTicks <- SDL.ticks
return $
@@ -125,6 +128,7 @@ doSideEffects u = do
& uvWorld . playingSounds .~ newPlayingSounds
& uvWorld . toPlaySounds .~ M.empty
& uvIOEffects .~ return
& uvSoundQueue .~ mempty
doPreload :: IO PreloadData
doPreload = do
@@ -133,13 +137,13 @@ doPreload = do
putStrLn "Start sound preload"
lChunks <- loadSounds
putStrLn "Skip music preload!"
-- lMusic <- loadMusic
-- Mix.playMusic Mix.Forever (lMusic IM.! 0)
-- lMusic <- loadMusic
-- Mix.playMusic Mix.Forever (lMusic IM.! 0)
putStrLn "Return PreloadData"
return
PreloadData
{ _renderData = rData
, _soundData = SoundData{_loadedChunks = lChunks}
--, _musicData = MusicData{_loadedMusic = lMusic}
, _musicData = MusicData{_loadedMusic = undefined}
, _soundData = lChunks
, --, _musicData = MusicData{_loadedMusic = lMusic}
_musicData = mempty
}
BIN
View File
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.
+24
View File
@@ -0,0 +1,24 @@
{
"_debug_booleans": [
"Show_ms_frame",
"Pathing"
],
"_debug_view_clip_bounds": "NoRoomClipBoundaries",
"_gameplay_rotate_to_wall": true,
"_graphics_bloom": true,
"_graphics_cloud_shadows": true,
"_graphics_distortion_resolution": "FullRes",
"_graphics_distortions": true,
"_graphics_downsize_resolution": "EighthRes",
"_graphics_num_shadow_casters": "NumShadowCasters20",
"_graphics_shadow_rendering": "GeoObjShads",
"_graphics_shadow_size": "Typical",
"_graphics_world_resolution": "QuarterRes",
"_volume_master": 1,
"_volume_music": 0,
"_volume_sound": 1,
"_windowPosX": 0,
"_windowPosY": 29,
"_windowX": 800,
"_windowY": 835
}
Binary file not shown.
Binary file not shown.
+26
View File
@@ -0,0 +1,26 @@
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE project PUBLIC "-//audacityproject-1.3.0//DTD//EN" "http://audacity.sourceforge.net/xml/audacityproject-1.3.0.dtd" >
<project xmlns="http://audacity.sourceforge.net/xml/" projname="reload_data" version="1.3.0" audacityversion="2.2.1" sel0="1.0000000000" sel1="1.0000000000" vpos="80" h="0.0000000000" zoom="619.9769053118" rate="44100.0" snapto="on" selectionformat="hh:mm:ss + milliseconds" frequencyformat="Hz" bandwidthformat="octaves">
<tags/>
<wavetrack name="Audio Track" channel="2" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="0" rate="44100" gain="1.0" pan="0.0" colorindex="0"/>
<wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="150" minimized="0" isSelected="1" rate="44100" gain="1.0" pan="0.0" colorindex="0">
<waveclip offset="0.00000000" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="44100">
<waveblock start="0">
<simpleblockfile filename="e0002ad8.au" len="44100" min="-0.626438" max="0.756957" rms="0.050527"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
<wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="1" rate="44100" gain="1.0" pan="0.0" colorindex="0">
<waveclip offset="0.00000000" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="44100">
<waveblock start="0">
<simpleblockfile filename="e0002124.au" len="44100" min="-0.626438" max="0.756957" rms="0.050527"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
</project>
+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE project PUBLIC "-//audacityproject-1.3.0//DTD//EN" "http://audacity.sourceforge.net/xml/audacityproject-1.3.0.dtd" >
<project xmlns="http://audacity.sourceforge.net/xml/" projname="tap_data" version="1.3.0" audacityversion="2.2.1" sel0="0.0000000000" sel1="0.2786394558" vpos="0" h="0.0000000000" zoom="86.1328125000" rate="44100.0" snapto="off" selectionformat="hh:mm:ss + milliseconds" frequencyformat="Hz" bandwidthformat="octaves">
<tags/>
<wavetrack name="Audio Track" channel="0" linked="1" mute="0" solo="0" height="161" minimized="0" isSelected="1" rate="44100" gain="1.0" pan="0.0" colorindex="0">
<waveclip offset="0.00000000" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="12288">
<waveblock start="0">
<simpleblockfile filename="e000077f.au" len="12288" min="-10.632122" max="11.905688" rms="0.574985"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
<wavetrack name="Audio Track" channel="1" linked="0" mute="0" solo="0" height="139" minimized="0" isSelected="1" rate="44100" gain="1.0" pan="0.0" colorindex="0">
<waveclip offset="0.00000000" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="12288">
<waveblock start="0">
<simpleblockfile filename="e0000254.au" len="12288" min="-11.171772" max="11.837081" rms="0.58168"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
</project>
+73
View File
@@ -0,0 +1,73 @@
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE project PUBLIC "-//audacityproject-1.3.0//DTD//EN" "http://audacity.sourceforge.net/xml/audacityproject-1.3.0.dtd" >
<project xmlns="http://audacity.sourceforge.net/xml/" projname="twoStep_data" version="1.3.0" audacityversion="2.2.1" sel0="0.0000000000" sel1="0.7800000000" vpos="0" h="0.2878780178" zoom="1639.5833333333" rate="44100.0" snapto="on" selectionformat="hh:mm:ss + milliseconds" frequencyformat="Hz" bandwidthformat="octaves">
<tags/>
<wavetrack name="twoStep" channel="2" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="1" rate="44100" gain="1.0" pan="0.0" colorindex="0">
<waveclip offset="0.15000000" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="13892">
<waveblock start="0">
<simpleblockfile filename="e00004be.au" len="13892" min="-0.124176" max="0.095367" rms="0.007066"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
<waveclip offset="0.61501134" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="7276">
<waveblock start="0">
<simpleblockfile filename="e00007db.au" len="7276" min="-0.186249" max="0.163513" rms="0.017523"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
<wavetrack name="Audio Track" channel="2" linked="0" mute="0" solo="0" height="150" minimized="0" isSelected="1" rate="44100" gain="1.0" pan="0.0" colorindex="0">
<waveclip offset="0.56501134" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="2205">
<waveblock start="0">
<silentblockfile len="2205"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
<waveclip offset="0.00000000" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="2205">
<waveblock start="0">
<silentblockfile len="2205"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
<waveclip offset="0.05000000" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="2205">
<waveblock start="0">
<silentblockfile len="2205"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
<waveclip offset="0.51501134" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="2205">
<waveblock start="0">
<silentblockfile len="2205"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
<waveclip offset="0.10000000" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="2205">
<waveblock start="0">
<silentblockfile len="2205"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
<waveclip offset="0.46501134" colorindex="0">
<sequence maxsamples="262144" sampleformat="262159" numsamples="2205">
<waveblock start="0">
<silentblockfile len="2205"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
</waveclip>
</wavetrack>
</project>
Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More