Commit Graph

36 Commits

Author SHA1 Message Date
evanpelle 75fe718f16 Combine Unit & MutableUnit 2025-02-01 12:05:11 -08:00
evanpelle de1dbff570 combine Game & MutableGame 2025-02-01 12:05:11 -08:00
evanpelle 7d15c0c065 combine Player & MutablePlayer interfaces 2025-02-01 12:05:11 -08:00
Evan f0f5bae79f thread_split: convert all tile to tileref 2025-02-01 12:05:11 -08:00
evanpelle b22532d41f use TileRef instead of TerrainTile for astar 2025-02-01 12:05:11 -08:00
evanpelle f0d9477e56 use terrain tile for search 2025-02-01 12:05:11 -08:00
Evan 8616e9bfcb game runs in seperate thread 2025-02-01 12:05:11 -08:00
Evan dab427d614 put methods onto terraintile 2025-02-01 12:05:11 -08:00
Evan 8443095d89 create game runner 2025-02-01 12:05:11 -08:00
evanpelle ff02d9d8b6 have core/ directory use consolex for remote logging 2024-12-18 12:00:00 -08:00
Evan a0a40262a6 render trade ship when stopped, hash units 2024-12-03 19:47:27 -08:00
evanpelle 5a4a62bb86 in progress 2024-12-03 16:44:28 -08:00
evanpelle 4edd66dc1f AStar returns cell instead of path 2024-12-03 14:35:09 -08:00
Evan e7039d3e07 add defense post unit (no execution) 2024-11-30 20:54:42 -08:00
Evan 7a961c68b4 bufix: ports execution still active after port dies 2024-11-29 17:10:28 -08:00
Evan 4899196613 refactor: move worker into worker file 2024-11-29 15:57:39 -08:00
Evan 020d193667 create async path finder, trade ships use async when captured 2024-11-29 15:41:13 -08:00
Evan 3e4f4e42cf created path finding web worker 2024-11-29 11:34:03 -08:00
Evan 98367ac966 spawn fewer tradeships, change destroyer, tradeship graphic 2024-11-25 20:16:08 -08:00
Evan 0b062179ac ports increase in price, NPC attack more frequently, tradeship destroyed if dst port destroyed or captured 2024-11-24 21:03:09 -08:00
Evan a2a6654bf5 fixed bug where each intent was duplicated
destroyers find and capture trade ships
ports generate more trade ships
2024-11-22 20:28:58 -08:00
Evan 3f27f6e72c more efficient port calculation, npcs send fewer boats, fewer trade ships 2024-11-22 14:42:48 -08:00
evanpelle bc3cf09960 npcs build ports 2024-11-21 19:53:02 -08:00
Evan 819b8ef23a fix port ally finding bug, fix transport ship crashing game when target tile not found 2024-11-20 20:22:51 -08:00
Evan 66d201ad8c fix pathfinding bug, returned same cell as src 2024-11-20 19:32:29 -08:00
evanpelle 108fad8096 create territoryBound, have player execution check units for capture
fix bug where PortExecution tries to get random element from empty list and crashes
2024-11-17 19:56:54 -08:00
Evan 8f8de97d9b remove BuildValidator 2024-11-17 10:33:13 -08:00
Evan b5a8339eb3 move unit info to config 2024-11-16 21:09:25 -08:00
Evan 05a3bed093 nukes spawn from missile silos 2024-11-16 13:48:33 -08:00
Evan e26230275b add missile silo 2024-11-16 11:45:28 -08:00
Evan ddc7ddb8b8 only trade with allies 2024-11-15 20:43:15 -08:00
Evan b1e1d7263c Created TradeShips 2024-11-15 20:43:15 -08:00
evanpelle d3d0651659 can capture and destroy ports 2024-11-15 20:43:15 -08:00
evanpelle 1c8489f099 port spawns on coast 2024-11-15 20:43:15 -08:00
evanpelle 09ead3791d add port 2024-11-15 20:43:15 -08:00
Evan 4236a580e3 working on port 2024-11-15 20:43:15 -08:00