Commit Graph
14 Commits
Author SHA1 Message Date
Mercury233 70af2f52e6 add mysnprintf, use std::forward in myswprintf (#2885) 2025-08-11 09:16:01 +08:00
salix5 56b65a1e69 change RNG except shuffle in duel to std::mt19937 (#2827) 2025-06-14 15:26:15 +08:00
salix5 c4212244bd Add audio support option to SoundManager::RefershBGMDir (#2838) 2025-06-12 19:10:14 +08:00
Nanahira bfcb4afcdb add miniaudio (#2727) 2025-05-09 13:34:36 +08:00
salix5 dc5a305301 use <ctime> header (#2668) 2025-02-12 16:26:38 +08:00
salix5 48b01b838c remove wcscpy, wcscat (#2602)
* use wcsncpy

* fix FileSystem::TraversalDir

* avoid wcscat

* remove wcscat

* add BufferIO::CopyWideString

* struct Config: path string changed to wchar_t[256]

* Revert "use wcsncpy"

This reverts commit b05e0c96a3.

* check lastcategory, lastdeck

* fix Game::LoadConfig

max length of filename should be determined by file system

* remove wcscpy

* use BufferIO::CopyWideString

* fix UpdateDeck

* myfilesystem: use std functions

* DataManager: fix GetNumString (#2603)

* DataManager: fix FormatAttribute, FormatRace

* update FormatAttribute, FormatRace

* DataManager: fix FormatType

* update FormatType

* DataManager: fix FormatSetName

* DataManager: fix FormatLinkMarker

* merge

* DataManager: fix GetNumString

* rebuild class ustring16 from edopro version

* add stringw conversion

core::stringw in current version does not have data()

* add CGUITTFont::drawUstring

* use drawUstring

* update DrawShadowText

* fix Game::lpcstring

* fix DuelInfo::vic_string

* add PACK_MAX_SIZE

* add IsExtension (#2604)

* CGUITTFont: use override

* ustring16: only accept basic_string
2024-11-06 08:34:12 +08:00
salix5 080d7781f0 clean config.h (#2568)
* 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>
2024-08-11 05:05:20 +08:00
salix5 14bd1f7f60 remove rand(), random_shuffle() 2021-09-05 04:06:19 +08:00
nekrozar f788c0d4cc fix sound volume 2019-08-04 12:11:03 +09:00
Mercury233 4114ed9298 fix showing wFTSelect (#2191) 2019-05-09 19:22:34 +08:00
Mercury233 ca11c21b5c add surrender confirm (#2144) 2019-05-07 11:17:22 +08:00
purerosefallen 52db9d6b7c fix problems with files without extension 2018-11-04 22:36:16 +08:00
DailyShana 9238d44ea8 add a file system wrapper
modified from ygopro2 branch
2018-11-04 17:02:04 +08:00
Mercury233 5a55adf10e Sound (#2071) 2018-03-31 15:36:34 +08:00