Skip to content

Commit

Permalink
人生得意须尽欢,莫使金樽空对月
Browse files Browse the repository at this point in the history
typedef->using
  • Loading branch information
scarsty committed Jun 3, 2019
1 parent eaf0790 commit fdc4a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ enum BP_Align
#define AMASK (0xff000000)

//声音类型在其他文件中未使用
typedef SDL_AudioSpec BP_AudioSpec;
using BP_AudioSpec = SDL_AudioSpec;
//这里直接使用SDL的事件结构,如果更换底层需重新实现一套相同的
typedef SDL_Event BP_Event;
using BP_Event = SDL_Event;

class Engine
{
Expand Down

0 comments on commit fdc4a8b

Please sign in to comment.