Commit Graph

273 Commits

Author SHA1 Message Date
NewHappyRabbit be3fd87727 Unsanitized flags. Flags that included a dash were being sanitized and not rendering ingame 2025-02-18 01:44:46 +02:00
NewHappyRabbit 774a78d143 Added descriptions in build menu 2025-02-16 12:18:50 -08:00
NewHappyRabbit f44fd79568 Player can now disable emojis 2025-02-16 12:18:50 -08:00
Evan f2d50a79b8 capitalize yes/no on traitor display 2025-02-13 15:36:41 -08:00
Evan bba7f6f0e5 bugfix: allow click on events display 2025-02-12 20:36:26 -08:00
Evan 421c6e7841 use tileref instead of MapPos for UnitUpdate 2025-02-12 16:22:02 -08:00
Evan eae53b29cb change flag top margin a bit 2025-02-12 11:59:07 -08:00
Evan ea08856636 fix merge conflict: put / in flag path 2025-02-12 11:48:25 -08:00
Evan 87135d6da2 style flags: make them smaller and put under name 2025-02-12 11:47:15 -08:00
evanpelle 9ee1a94b10 Merge pull request #28 from NewHappyRabbit/SPA
Private lobby urls added. Server now acts as a SPA.
2025-02-12 11:45:54 -08:00
NewHappyRabbit e0aa6b5d9c Ran prettier 2025-02-12 21:30:43 +02:00
Evan 3639997f05 make bot names gray instead of bot emoji 2025-02-12 11:29:49 -08:00
Evan a8c04f11ee bugfix: emoji button to send to all players always active, shorten emoji cooldown 2025-02-12 10:24:32 -08:00
NewHappyRabbit e1a6c5f7bd Merge branch 'main' of https://github.com/openfrontio/OpenFrontIO into SPA 2025-02-12 20:03:26 +02:00
Evan 40966ca3b9 format all files with prettier 2025-02-12 08:28:15 -08:00
Evan c7847e4e44 update atack meta: don't give such large bonus for large attacks 2025-02-11 20:38:26 -08:00
Evan 95a70dd8d3 bugfix: names flash at corner at start of game 2025-02-11 20:02:34 -08:00
Evan 91ca03aff8 style top bar 2025-02-11 16:28:13 -08:00
NewHappyRabbit 1e1942ab1c TODO: Keep working 2025-02-12 02:08:29 +02:00
evanpelle 58c2895826 Merge pull request #19 from NewHappyRabbit/main
Added creative mode. Buildings are free, build instantly and you start with 100k population. Bots now have an emoji in their name
2025-02-11 14:30:34 -08:00
NewHappyRabbit a58c3c7198 Added robot emoji prefix to bot and npc names 2025-02-12 00:29:16 +02:00
Evan 19d0b61869 have events display show outgoing & incoming attacks 2025-02-11 14:09:00 -08:00
NewHappyRabbit 949f68287e Added flags 2025-02-11 23:34:19 +02:00
Evan 78dddaf610 pass attacks from worker thread to main thread 2025-02-11 10:32:32 -08:00
Evan d407d45338 fix control panel string error 2025-02-10 20:00:37 -08:00
Evan b85d0a58ba add back hydrogen bomb 2025-02-10 17:58:02 -08:00
Evan b3e1b44426 use pngs instead of svgs for structure icons. StructureLayer interates through the image so it needs pixels 2025-02-10 16:27:46 -08:00
NewHappyRabbit a0b88f543c Merge https://github.com/openfrontio/OpenFrontIO 2025-02-11 02:06:44 +02:00
NewHappyRabbit 85159b228f Fixed the range sliders for Troops and Attack ratio to not go outside of the input container at 100%.
Removed the custom thumb (ball) element and just styled it using CSS.
2025-02-11 01:46:36 +02:00
evanpelle 2f8862eeeb Merge pull request #14 from PilkeySEK/traitor-yes-no
Make the traitor field in the player info panel display as yes/no instead of true/false
2025-02-10 07:52:29 -08:00
PilkeySEK 39908531f9 Traitor: true/false -> yes/no 2025-02-10 16:45:00 +01:00
PilkeySEK f339a06233 Add a total of 5 emojis 2025-02-10 15:38:58 +01:00
NewHappyRabbit 9b01f2bb9a Converted and replaced all .png icons with .svg 2025-02-10 07:01:33 +02:00
Evan 67b9c869cf don't pause territory drawing on drag 2025-02-09 20:56:12 -08:00
NewHappyRabbit 5b51f09916 Disabled right-click on Player Panel 2025-02-10 06:44:17 +02:00
NewHappyRabbit 54354f7b14 Disabled right-clicks on all in-game UI elements 2025-02-10 06:31:47 +02:00
Evan 921509a23b fix sliders not getting input bug 2025-02-09 13:51:29 -08:00
Evan 963daefdeb allow brackets in names 2025-02-09 11:17:33 -08:00
Evan 1b6172ee4b bugfix: units not getting removed from screen when getting destroyed 2025-02-09 10:35:03 -08:00
Evan 4f4b6adb80 add 5 second player immunity to prevent spawn kills 2025-02-08 19:34:16 -08:00
Evan 1594a45dac have buildings take time to construct 2025-02-08 13:53:58 -08:00
Evan 0487509c03 reimplement defense posts 2025-02-08 09:56:07 -08:00
Evan 6abcddc140 create player panel 2025-02-05 20:35:21 -08:00
Evan 516ea326d8 remove radial directory 2025-02-04 13:01:41 -08:00
Evan b643a6357b implement mirv 2025-02-04 11:53:41 -08:00
Evan bbf72bd14f simply start population calculation 2025-02-03 12:37:04 -08:00
Evan c109d23f9f combine battleship + destroyer => warship. 2025-02-02 14:31:30 -08:00
Evan 4ee37323f9 format codebase with prettier 2025-02-01 12:05:11 -08:00
Evan cd121a5cd4 fix z-index issues 2025-02-01 12:05:11 -08:00
Evan f284603827 make options menu scale better 2025-02-01 12:05:11 -08:00