Commit Graph

38 Commits

Author SHA1 Message Date
Mercury233 b28b64927f add config for image load background thread and multi thread (#2822)
* add gameConf.use_image_load_background_thread

* preformance

* fix config not saving

* add gameConf.use_image_scale_multi_thread

* fix default use_image_load_background_thread
2025-06-19 11:04:12 +08:00
salix5 5ec2549a84 fix signed/unsigned compare (#2809) 2025-05-24 14:55:11 +08:00
Mercury233 e677985c35 update imageScaleNNAA, add OpenMP (#2779)
* update imageScaleNNAA, add OpenMP

* fix

* disable thumb load thread

* use std::snprintf

* don't preload search result

* typo
2025-05-21 09:51:39 +08:00
salix5 b5bf7990e9 replace irr::s32, irr::u32 2025-03-14 19:10:07 +08:00
salix5 95fb099724 replace video to irr::video 2025-03-14 19:10:07 +08:00
salix5 c675547122 replace snprintf, sscanf 2025-02-22 10:37:38 +08:00
salix5 7721bfe017 remove NULL (#2626) 2024-12-04 23:19:51 +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 4c91f19f41 fix EncodeUTF8, DecodeUTF8 (#2540)
* check sizeof(wchar_t)

* EncodeUTF8: use unsigned operand

* DecodeUTF8: use unsigned operand

* EncodeUTF8: check array size

* DecodeUTF8: check array size

* replace sprintf with snprintf

* zero initialize

* remove outdated macro

* remove outdated macro in clzma
2024-05-21 15:32:29 +08:00
Mercury233 1c36764c7c add card big picture (#2307) 2020-07-07 19:02:51 +08:00
Mercury233 805ec687dc use multi-thread in loading thumbnails (#2207) 2020-05-25 09:10:53 +08:00
DailyShana ebcc1aea98 use const char* for file names 2020-01-31 16:40:09 +08:00
Mercury233 87e96921fa add window resize (#2123) 2019-03-26 21:26:35 +08:00
Mercury233 90e14db2de add nearest-neighbor anti-aliasing scaling for card pictures (#2027) 2017-08-29 07:19:41 +00:00
VanillaSalt cbf892cc0a fix 2017-07-01 10:30:51 +09:00
VanillaSalt 475bddc9e9 show chain target 2017-06-19 18:17:08 +09:00
VanillaSalt 862e54635b remove useless texture 2017-06-19 10:32:31 +09:00
edo9300 89df937236 Added support for both mr4 and mr3 field 2017-04-18 19:00:04 +02:00
nekrozar d51773a513 update Field texture (#1957)
* update
* update
2017-04-01 19:14:05 +08:00
DailyShana f384c7f4db show ocg/tcg mark for o/t exclusive cards
when seleting some card pool
2016-10-26 23:20:53 +08:00
Tianchenglipu 224bd0efd8 Update image_manager.cpp 2016-06-19 21:50:46 +08:00
Tianchenglipu 7c6526df4f Update image_manager.cpp 2016-06-14 02:53:39 +08:00
DailyShana b944764575 fix 2016-03-27 21:44:09 +08:00
DailyShana ed757ec58b allow read jpg field textures 2016-03-27 21:34:01 +08:00
Frozen Water c311b21b09 Merge pull request #1661 from DailyShana/field-spell
draw field spell
2016-03-25 21:29:16 +00:00
DailyShana baacbb6ef4 cover2, bg_menu, bg_deck 2016-01-25 11:18:00 +08:00
DailyShana a3a0f8e582 draw field spell 2016-01-25 10:58:43 +08:00
VanillaSalt a7eb57f5a2 update 2014-03-15 11:53:01 +09:00
argon.sun fbc256c362 fix 2012-07-20 20:59:31 +08:00
argon.sun 414bc29926 vs build 2012-04-17 20:02:49 +08:00
argon.sun 4f533571a3 fix 2012-03-27 21:20:51 +08:00
argon.sun e33d4b1bed fix 2012-03-26 21:30:27 +08:00
zh99998 c6516e2aaf auto load thumb when failed to load full card image, and auto load full image when faild to load thumb. 2012-03-25 15:09:45 +08:00
argon.sun 9b0c818178 new scripts 2012-02-27 21:24:42 +08:00
argon.sun 8d2f4a3382 recon 2012-01-16 20:46:49 +08:00
argon.sun 42ea0f6916 network 2012-01-11 21:04:08 +08:00
argon.sun a56e464e04 bug fix 2011-12-07 20:38:13 +08:00
argon.sun a5e9cb40e7 init 2011-11-28 11:56:39 +08:00