Commit Graph

380 Commits

Author SHA1 Message Date
Haibo 0f1ba104dd optimize: code optimization 2019-08-06 13:31:57 +08:00
Haibo 32251365d6 remove vs2012 project files & no longer support vs2012 2019-08-06 13:31:57 +08:00
Haibo fe70a520b1 add: Duration::Parse to format a duration 2019-08-06 13:31:57 +08:00
Haibo 02e418d0e2 fix: project files 2019-08-06 13:31:57 +08:00
Haibo 7608996dda remove: Function class 2019-08-06 13:31:56 +08:00
Haibo e4e6b47d3b add: code comments 2019-08-06 13:31:56 +08:00
Haibo def0d9ede2 remove: easy2d::RuntimeError class 2019-08-06 13:31:56 +08:00
Haibo 380bde7932 remove easy2d::String class & refactory easy2d::Resource class
refactoring: move Random class to utils.h
2019-08-06 13:31:54 +08:00
Haibo 301c99018b change: get HINSTANCE from GetModuleHandle 2018-10-28 20:23:47 +08:00
Nomango 24206e00b6 fix: minor fixes 2018-10-18 23:10:09 +08:00
Nomango e7cc0773e6 update: class Duration 2018-10-18 15:33:14 +08:00
Nomango 05849422a4 fix: minor fixes 2018-10-18 13:38:31 +08:00
Nomango b42c977aab fix: minor fixes 2018-10-18 11:25:20 +08:00
Haibo 183143a8c3 refactoring: remove class Options 2018-10-18 00:17:27 +08:00
Nomango 5c69133a1f refactoring: remove e2dimpl.h 2018-10-17 00:49:49 +08:00
Nomango db5446bb78 fix: minor fixes 2018-10-17 00:16:26 +08:00
Nomango 75440b15a2 change: minor fixes. 2018-10-16 16:53:08 +08:00
Nomango 8b1137c131 change: WARN macros rename to E2D_WARNING & call OutputDebugString to output debug information. 2018-10-16 15:42:15 +08:00
Nomango 4ed453468d change: refactory File class. 2018-10-16 14:57:28 +08:00
Nomango 709f2bfe8d change: rename namespace to easy2d. 2018-10-16 14:13:15 +08:00
Nomango 2db8fc1021 change: make Music extends Ref. 2018-10-16 14:10:06 +08:00
Nomango a924eed280 add: decode media resources with Media Foundation and playback with XAudio2. 2018-10-15 20:16:08 +08:00
Nomango 80d1a87955 add: use Media Foundation to play sound effect 2018-10-11 20:00:21 +08:00
Nomango fdbece1663 add: Graphics::GetDpi 2018-10-06 11:15:32 +08:00
Nomango 665735626e add: Player class 2018-10-06 10:25:29 +08:00
Nomango 1c8de670ac add: Game::Update 2018-10-06 09:45:28 +08:00
Nomango 318103b148 add: Scene::Update 2018-10-03 22:43:21 +08:00
Nomango 422c7cbdc7 add: copyright 2018-10-03 22:02:46 +08:00
Nomango ba99ca38c1 refactoring 2018-10-03 18:04:04 +08:00
Haibo 9039dff8d3 update:modules 2018-09-30 14:54:43 +08:00
Haibo 190a04a24f change: Node::SetAnchor -> Node::SetPivot 2018-09-16 16:26:42 +08:00
Haibo 4d9649eedf add: Transform 2018-09-16 16:07:51 +08:00
Haibo 909a72b189 fix: vs2013 & vs2012 support 2018-09-11 17:54:21 +08:00
Nomango fc2d409fd3 optimize: Window class 2018-09-11 15:47:51 +08:00
Nomango 0b40bbf0bc update: KeyEvent 2018-09-11 15:31:50 +08:00
Nomango 816f3f4dde refactoring: rename folder name 2018-09-11 15:23:28 +08:00
Nomango 93c701751d add: RotationTransition 2018-09-11 15:12:25 +08:00
Nomango a626e488de refactoring: MoveTransition 2018-09-11 00:37:52 +08:00
Nomango 6f489a77fe remove: SystemException 2018-09-10 20:55:20 +08:00
Nomango f26f385854 fix: project error 2018-09-10 20:22:47 +08:00
Nomango 83d0b3f5cf refactoring: Game::EnterScene 2018-09-10 15:28:19 +08:00
Nomango f7dba39243 optimize: Node 2018-09-10 11:32:51 +08:00
Nomango 59ee637c4c optimize: Event 2018-09-09 12:21:15 +08:00
Nomango 6732adccfd remove: ToggleButton 2018-09-07 23:57:32 +08:00
Nomango 775e1075c8 fix: syntax error 2018-09-07 23:47:21 +08:00
Nomango ad5a9ed52f refactoring: Task Class 2018-09-07 18:20:07 +08:00
Nomango f417ccc9ef optimize: Code style 2018-09-07 18:00:56 +08:00
Nomango f26aff5e78 update: Code style & Resource Class & File Class 2018-09-07 17:56:03 +08:00
Nomango 9472aebff2 add: Window::GetScreenSize function 2018-09-07 17:26:21 +08:00
Nomango 2d68b8e2cc 修复变量名问题 2018-09-07 00:33:23 +08:00
Nomango 5f698fb475 Refactoring : GC 机制重做 2018-09-07 00:28:54 +08:00
Nomango 83462faad0 Refactoring : filters 2018-09-06 23:26:32 +08:00
Nomango cf3dfc4cf4 Window::CheckMutex rename to CheckUnique 2018-09-05 17:24:44 +08:00
Nomango 42ac308278 Refactoring : project files 2018-09-05 13:38:30 +08:00
Nomango 65ba8e96d2 Refactoring : UI Components 2018-09-05 13:33:39 +08:00
Nomango 745bd994a8 Refactoring : header files name 2018-09-05 13:17:07 +08:00
Nomango 860e0fe08e 修复局部变量命名问题 2018-09-05 00:09:23 +08:00
Nomango 11e9d1ce9b 移除ActionManager 2018-09-05 00:08:03 +08:00
Nomango 8984817dd8 删除场景栈 2018-09-04 23:20:00 +08:00
Nomango 997aca7e6e 增加Data::Exists方法,判断数据是否存在 2018-09-04 22:57:40 +08:00
Nomango a67eefc0b4 Refactoring : Google C++ style 2018-09-04 22:42:34 +08:00
Nomango 637fe89e37 增加Audio类 2018-09-02 14:30:48 +08:00
Nomango 2e161ff6a8 增加OpenFileDialog和SaveFileDialog方法 2018-09-02 14:03:04 +08:00
Nomango 2c454d4a4c 修复Music播放状态判断问题 2018-09-02 00:02:49 +08:00
Nomango c40ac00ed9 update VoiceCallback 2018-09-01 23:39:16 +08:00
Nomango cc2dff2afd 增加节点的Border属性 2018-09-01 23:00:08 +08:00
Nomango 3a8428d54e Refactoring... 2018-08-28 00:06:10 +08:00
Nomango a370685dd0 代码优化 2018-08-23 16:58:32 +08:00
Nomango 4540520acc Revert "Refactoring: getter & setter coding style"
This reverts commit 0905c91dd0.
2018-08-23 16:37:51 +08:00
Nomango 0905c91dd0 Refactoring: getter & setter coding style 2018-08-23 16:37:44 +08:00
Nomango 8323a245ee 完善Canvas 2018-08-23 12:25:31 +08:00
Nomango e53a7df27a 增加Canvas画布节点 2018-08-23 00:03:26 +08:00
Nomango 00a2b9ebac 明确Resource的定义,不允许从本地文件创建Resource 2018-08-19 20:40:44 +08:00
Nomango a394eb0595 分离节点功能,抽象为接口 2018-08-19 17:46:37 +08:00
Nomango 2897cae260 refactoring... 2018-08-19 15:11:20 +08:00
Nomango 99f9daa627 移除SceneManager 2018-08-15 23:30:23 +08:00
Nomango 83986230a1 refactoring 2018-08-15 00:06:03 +08:00
Nomango 09a3850135 add e2devent.h 2018-08-14 00:41:59 +08:00
Nomango 1c1f349234 修改Transition处理方式 2018-08-14 00:26:20 +08:00
Nomango adcd8ff1f2 重做Scene,继承Node类 2018-08-13 23:47:10 +08:00
Nomango 857f13230f 增加EventHandler类,用于处理消息;移除Node::onUpdate方法 2018-08-13 23:24:08 +08:00
Nomango 61b384767e 消息处理方式更新 2018-08-13 00:10:27 +08:00
Nomango bdbe00e228 代码优化 2018-08-12 20:19:47 +08:00
Nomango 00fb2b89f4 代码优化 2018-08-12 15:38:02 +08:00
Nomango fe52ebf451 代码优化 2018-08-12 14:30:28 +08:00
Nomango 6382adb1b1 resolve #17, 修复按钮消息传递问题 2018-08-12 14:05:12 +08:00
Nomango 91b7458766 update Task & Timer 2018-08-12 13:24:31 +08:00
Nomango 4ef4715ea6 resolve #18, 简化 Player 2018-08-12 12:06:06 +08:00
Haibo c580b70931 see #15, 移除Shape类 2018-08-10 17:10:57 +08:00
Nomango c7115a1162 计时功能优化 2018-08-02 00:27:45 +08:00
Nomango d1ad592df7 移除Config中垂直同步的设置,并优化程序的延时处理 2018-07-29 13:44:53 +08:00
Nomango 62a34b9ba2 Color 2 D2D1_COLOR_F 2018-07-29 02:24:34 +08:00
Nomango 180d2067fa 完善Time功能 2018-07-29 01:43:15 +08:00
Nomango 35ed2427c1 按钮消息处理方式优化 2018-07-28 22:22:58 +08:00
Nomango 614873dfb6 移除Config中的不合理设置 2018-07-28 20:48:25 +08:00
Nomango 840b554190 性能优化 2018-07-28 20:06:27 +08:00
Nomango 4a80f2df88 增加Node::setClipEnabled方法,实现渲染区域裁剪 2018-07-28 18:44:37 +08:00
Nomango c61be531db 修复release下的警告 2018-07-26 21:51:16 +08:00
Nomango 6c921079ac 性能优化 2018-07-26 21:43:47 +08:00
Nomango cc300aeb7c 修正代码细节 2018-07-25 16:44:22 +08:00