1. 16 Aug, 2024 1 commit
  2. 14 Aug, 2024 1 commit
  3. 11 Aug, 2024 2 commits
    • Chen Bill's avatar
      deckManager: add LoadCurrentDeck, SaveDeckBuffer (#2571) · 848348ca
      Chen Bill authored
      * update LoadDeck from int array
      
      * update LoadDeck from std::istringstream
      
      * reorder
      
      * rename to LoadCurrentDeck
      
      * akways clear current_deck in LoadCurrentDeck
      
      * reorder
      
      * change LoadDeck from std::istringstream
      
      * set errorcode for TYPE_TOKEN
      
      * use LoadDeck in export deck
      
      * update LoadSide
      
      * fix CheckDeck
      
      * fix LoadLFListSingle
      
      * minor fix
      
      * add SaveDeckBuffer
      
      * fix LoadSide
      
      * update LoadDeck(Deck&, std::istringstream&
      848348ca
    • Chen Bill's avatar
      clean config.h (#2568) · 080d7781
      Chen Bill authored
      * move header files to game.h
      
      * include mutex when necessary
      
      * include myfilesystem.h when necessary
      
      * include thread when necessary
      
      * include string
      
      * include GL when necessary
      
      * remove #pragma once
      
      * rename guard macro to YGOPRO_CONFIG_H
      
      * fix warning C4456, C4458
      
      * move GL to game.h
      
      * use <cstring> functions
      
      * include <wchar.h>
      080d7781
  4. 09 Aug, 2024 1 commit
  5. 08 Aug, 2024 4 commits
  6. 07 Aug, 2024 1 commit
  7. 02 Aug, 2024 1 commit
  8. 08 Jul, 2024 1 commit
  9. 30 Jun, 2024 1 commit
  10. 29 Jun, 2024 1 commit
  11. 28 Jun, 2024 3 commits
  12. 26 Jun, 2024 2 commits
  13. 18 Jun, 2024 2 commits
  14. 09 Jun, 2024 2 commits
  15. 03 Jun, 2024 12 commits
  16. 02 Jun, 2024 3 commits
  17. 31 May, 2024 2 commits
    • Chen Bill's avatar
      BufferIO: update CopyWStr (#2554) · 8902f818
      Chen Bill authored
      8902f818
    • Chen Bill's avatar
      disconnect when the packet is too large (#2551) · e209e775
      Chen Bill authored
      * use memcpy in DuelClient, NetServer
      
      * NetServer: discard too large packet
      
      * DuelClient: discard too large packet
      
      * replace memcpy with std::memcpy
      
      * disconnect when the packet is too large
      
      * check packet_len
      
      * check len in HandleCTOSPacket()
      
      * check len in HandleSTOCPacketLan()
      
      * remove bool type in HostInfo
      
      * check len in packet handling
      
      * add boundary check to STOC_CHAT packet
      
      * use memcpy in DuelMode::JoinGame
      
      * add DECK_MAX_SIZE, DECK_MIN_SIZE
      
      * fix DuelMode::UpdateDeck()
      
      * fix
      
      * fix Manager::OpenDeckFile()
      
      * update DuelMode init
      
      * update DuelMode::JoinGame
      
      * update DuelMode::GetResponse
      
      * Revert "check len in packet handling"
      
      This reverts commit 2b5c12f3.
      
      * use memcpy in GetPosition
      
      * check struct size by static_assert
      
      * update DuelMode::UpdateDeck
      
      * check if the struct is trivially copyable
      
      * replace unsigned short to uint16_t
      
      * replace unsigned int to uint32_t
      
      * add padding member to STOC_HS_PlayerEnter
      
      * workaround: use STOC_HS_PlayerEnter_size
      e209e775