Commit graph

  • 372b292930
    Merge pull request #484 from Wargus/proj master Joris Dauphin 2023-09-04 13:19:33 +0200
  • 9a12d44e82 Improve ranges::find to support projection. Jarod42 2023-09-03 22:02:54 +0200
  • 7ff1df4999
    Merge pull request #483 from Wargus/reference Joris Dauphin 2023-09-03 22:47:46 +0200
  • 70ce930b1f PopupByIdent return by reference. Jarod42 2023-09-03 20:40:49 +0200
  • 36b2f8813c
    Merge pull request #482 from Wargus/reference Joris Dauphin 2023-09-01 14:11:03 +0200
  • d1eb95fca2 Use reference for SpellTypeByIdent Jarod42 2023-08-30 21:57:31 +0200
  • 566e142c91
    Merge pull request #481 from Wargus/unittypebyident Joris Dauphin 2023-08-30 13:57:40 +0200
  • b3b2a3539a Fix code thanks to gcc. Jarod42 2023-08-30 13:05:49 +0200
  • 4af7f30f75 Fix "$(race)-group" handling. Jarod42 2023-08-30 12:31:48 +0200
  • ec92030a53 Use reference for UnitTypeByIdent. Jarod42 2023-08-30 11:54:19 +0200
  • e05b7d7034
    Merge pull request #480 from Wargus/string_view Joris Dauphin 2023-08-29 21:25:44 +0200
  • d0fc281f0c string_view for CFont *Get(std::string_view ident). Jarod42 2023-08-29 16:09:42 +0200
  • 0ae9e642bc
    Merge pull request #478 from Wargus/string_view Joris Dauphin 2023-08-28 15:12:13 +0200
  • b3cd88a2cb LuaToString returns std::string_view. Jarod42 2023-08-28 01:51:38 +0200
  • 6ab90390c0 Use std::string_view in CclSavedGameInfo. (replace strcpy_s). Jarod42 2023-08-28 10:30:57 +0200
  • fc15675c25 Use std::string_view in CclFilteredListDirectory. Jarod42 2023-08-27 23:45:17 +0200
  • ce6f0f6df5 Use std::string for LibraryFileName (not is_transparent for std::unordered_map). Jarod42 2023-08-27 22:12:59 +0200
  • b5f74a4bf4 Use std::string (need nul-terminated string :/ ) for CHost. Jarod42 2023-08-27 21:37:21 +0200
  • c850ae74e4
    Merge pull request #477 from Wargus/string_view Joris Dauphin 2023-08-27 12:18:03 +0200
  • e09ce005bd More std::string_view: CAnimation::Init(std::string_view s, lua_State *l = nullptr). Jarod42 2023-08-26 14:33:55 +0200
  • a128d02ae5 More std::string_view. (ParseAnimInt) Jarod42 2023-08-26 10:49:32 +0200
  • 3e32664045
    Merge pull request #476 from Wargus/to_number Joris Dauphin 2023-08-25 12:31:46 +0200
  • 0f31aaad3b Handle compiler version with not full C++17 support. Jarod42 2023-08-25 11:24:36 +0200
  • c4c77181d4 Use from_chars ()wrapped into to_number for all string to int conversion. Jarod42 2023-08-22 13:46:39 +0200
  • 7b8dafc986 Use std::clamp to implement clamp. Jarod42 2023-08-20 13:04:13 +0200
  • d81431c1da rename consist into contains. Jarod42 2023-08-20 12:44:49 +0200
  • 05ebbd6898 strnlen only (possibly) used in util.cpp Jarod42 2023-08-20 12:41:09 +0200
  • ffbbc70511 More string_view Jarod42 2023-08-19 19:19:22 +0200
  • 13dbba8d85 Use more std::string_view. Jarod42 2023-08-19 10:49:35 +0200
  • f0ca587d61 new cannot return nullptr(it throws when there is no memory). Jarod42 2023-08-18 19:35:52 +0200
  • 5dd0470ac6 More std::string_view. Jarod42 2023-08-16 19:48:37 +0200
  • c1cbd52839
    Merge pull request #470 from Wargus/string_view Joris Dauphin 2023-08-16 19:01:55 +0200
  • 9022440c36 Use std::string_view in video/font.cpp Jarod42 2023-08-16 16:26:17 +0200
  • 63499b1aba Even more std::string_view. Use transparent comparer (std::less<>) for std::map<std::string, T>. Jarod42 2023-08-16 15:48:13 +0200
  • a47b12e583 Even more std::string_view: - use transparent comparer in map. Jarod42 2023-08-16 11:27:01 +0200
  • 96ba028dfd
    Merge pull request #469 from Wargus/string_view Joris Dauphin 2023-08-16 09:19:22 +0200
  • eebea8bbab cleanup actions: - std::string_view - override Jarod42 2023-08-15 23:41:01 +0200
  • a1dd6e70b5
    Merge pull request #468 from Wargus/string_view Joris Dauphin 2023-08-15 15:05:58 +0200
  • 3c8672c9b0 Use more std::string_view. Jarod42 2023-08-15 13:09:37 +0200
  • fad8d14bbd
    Merge pull request #467 from Wargus/string_view Joris Dauphin 2023-08-15 10:17:29 +0200
  • 9ed29d2f08 Use some std::string_view. Jarod42 2023-08-14 22:57:02 +0200
  • 1d38b6c511
    Merge pull request #466 from Wargus/enum Joris Dauphin 2023-08-14 22:58:44 +0200
  • 949828d646 enum class for MissileClass. Jarod42 2023-08-14 19:13:32 +0200
  • 7a19597bbe Use enum class ClfType. Jarod42 2023-08-14 14:59:12 +0200
  • d8360a3ce5 Use enum class for ECursorOn (renamed from _cursor_on_). Jarod42 2023-08-14 14:50:11 +0200
  • 3858165c4f
    Merge pull request #465 from Wargus/enum Joris Dauphin 2023-08-14 14:16:17 +0200
  • cc11b81ce2 Replace some #define by constexpr Jarod42 2023-08-14 12:41:17 +0200
  • 00178a3fe4 enum class for EKeyState (renamed from _key_state_). Jarod42 2023-08-14 11:47:27 +0200
  • ad64288672 enum class for IfaceState (renamed from _iface_state_) Jarod42 2023-08-14 11:35:33 +0200
  • 1c87b7e58d enum class for ButtonArea(renamed from _button_area_). Jarod42 2023-08-13 20:55:59 +0200
  • 2636ea33d5
    Merge pull request #464 from Wargus/enum Joris Dauphin 2023-08-13 13:50:49 +0200
  • d0bfd0a6ff enum class for ButtonCmd. Jarod42 2023-08-13 12:33:08 +0200
  • 780015cb46 enum class for EditorStateType. Jarod42 2023-08-13 11:34:40 +0200
  • c799d58dbb enum class for `CursorStates. Jarod42 2023-08-13 10:27:56 +0200
  • 468744cc1e Use enum class for ConstructionFileType. Jarod42 2023-08-13 10:20:58 +0200
  • d4b510be34
    Merge pull request #463 from Wargus/enum2 Joris Dauphin 2023-08-13 04:25:57 +0200
  • b434c05ccf Revert "Simplify resize and flip image code." Jarod42 2023-08-13 03:21:33 +0200
  • 931da2385e Remove enum AnimationType (used for dynamic dispatch). Use virtual functions instead. Jarod42 2023-08-11 19:42:38 +0200
  • 5e13ae8e0d
    Merge pull request #461 from Wargus/enum Joris Dauphin 2023-08-11 16:05:48 +0200
  • 5545ef9610 enum class for UnitAction. - Fix conversion to int - Add ToCStr Jarod42 2023-08-11 13:28:00 +0200
  • d164ad3cc6 enum class for EditorActionType. Jarod42 2023-08-11 12:15:47 +0200
  • 8687ee2551 Remove unused enum _mode_buttons_. Jarod42 2023-08-11 12:13:40 +0200
  • f8a99abccb Handle comparison of AiForceAttackingState with int. Jarod42 2023-08-11 12:06:27 +0200
  • 21f4b2cdab enum class for AiForceAttackingState. Jarod42 2023-08-11 11:55:28 +0200
  • 5fe729d0b5 enum class for AiForceRole. Jarod42 2023-08-11 11:42:04 +0200
  • 8e9cdaf128 Replace some output variables as return type. Jarod42 2023-08-07 23:18:44 +0200
  • f48dd097bc Use ranges. Jarod42 2023-08-07 21:37:06 +0200
  • f7fc73f95e Replace some iterator usages by for-range or algorithm. Jarod42 2023-08-07 20:30:36 +0200
  • eeae371511 Use unique_ptr for FileWriter. Jarod42 2023-08-06 23:36:07 +0200
  • af0f4e38fb Replace some iterator usages by for-range or algorithm. Jarod42 2023-08-07 11:36:34 +0200
  • 77e3f63bb8 Replace typedef by using. Jarod42 2023-08-07 01:18:19 +0200
  • c7c66dfcfd
    Merge pull request #454 from Wargus/SDL_fix Joris Dauphin 2023-08-07 12:49:34 +0200
  • 519f10c6fc Fix wall construction whereas builder was dropped **twice** from building(blocking one extra tile). Jarod42 2023-08-06 09:23:56 +0200
  • a9210446eb Simplify resize and flip image code. Jarod42 2023-08-05 23:13:49 +0200
  • 8fc8d82100 Some more fs::path. Jarod42 2023-08-05 00:07:38 +0200
  • 19c341e994
    Merge pull request #451 from Wargus/fs_path_fixes Joris Dauphin 2023-08-05 13:09:15 +0200
  • bdff82c3af Fix github action node warning: -- 8< -- The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06 -- >8 -- Jarod42 2023-08-04 20:18:27 +0200
  • 8addd845ab Use fs::path::u8string() (utf-8) with "display" functions. Jarod42 2023-08-05 00:07:38 +0200
  • 4d65475f1f Fixes bugs introduced with fs::path transition. Jarod42 2023-08-05 09:52:53 +0200
  • 31da98aba2
    Merge pull request #449 from Wargus/filesystem Joris Dauphin 2023-08-04 18:48:53 +0200
  • aac47413a0 Move #include <filesystem> in its own file to be consistent with experimental support... Use fs:: instead of std::filesystem Jarod42 2023-08-04 15:57:36 +0200
  • 994e9265fc Use fs::path for paths instead of std::string or char[MAX_PATH]. Jarod42 2023-08-03 21:58:06 +0200
  • f6be62ce8a Fix for UNICODE. Jarod42 2023-08-03 08:28:30 +0200
  • 6187be22ce
    Build appimages on CentOS7 Tim Felgentreff 2023-08-03 15:11:46 +0200
  • fb2638bc6f
    Merge pull request #446 from Jarod42/nullptr Tim Felgentreff 2023-08-01 15:27:59 +0200
  • 390b143f3d Use nullptr instead of NULL. Jarod42 2023-07-31 23:12:21 +0200
  • 8720f1fbb0
    Merge pull request #435 from shinra-electric/mac-use-application-support Tim Felgentreff 2023-03-14 13:50:10 +0100
  • 9b0c04dee3
    Use Application Support folder for Mac shinra-electric 2023-03-08 22:38:50 +0100
  • 38c3b78bb5
    Use the Application Support folder on Mac shinra-electric 2023-03-08 22:37:16 +0100
  • 064c23c609
    Update README.md Tim Felgentreff 2023-03-01 20:41:27 +0100
  • 4c23bcd825
    Merge pull request #434 from andreas-volz/master Tim Felgentreff 2023-03-01 20:08:53 +0100
  • 036a8395bb fix a undefined behaviour for std::string and nullptr access Andreas Volz 2023-03-01 09:31:03 +0100
  • b2680af967
    Merge pull request #433 from shinra-electric/silence-warning-1 Tim Felgentreff 2023-02-27 14:48:25 +0100
  • c814f57c25
    Use ternary operator instead of | shinra-electric 2023-02-26 09:36:25 +0100
  • c4d32332a4
    Change a logical || to a bitwise | shinra-electric 2023-02-25 09:08:10 +0100
  • 52b6bea530
    XDG_CONFIG_DIR should be XDG_CONFIG_HOME Tim Felgentreff 2023-02-24 23:15:06 +0100
  • 63ccee588b
    XDG_DATA_DIR should be XDG_DATA_HOME Tim Felgentreff 2023-02-24 23:14:35 +0100
  • df1775cbf5
    Keep appimages as artifacts Tim Felgentreff 2023-02-24 22:55:26 +0100
  • cd6c45aa2c
    Merge pull request #427 from Wargus/tim/appimages Tim Felgentreff 2023-02-24 22:33:57 +0100
  • cc9c9ee297
    Update stratagus-game-launcher.h Tim Felgentreff 2023-02-24 22:26:55 +0100