2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

16 行
355 B

  1. #ifndef SDL_KEYBOARD_MOCK_H
  2. #define SDL_KEYBOARD_MOCK_H
  3. #include "../src/packages/common/IZ_common.h"
  4. #include "../src/packages/test/IZ_test.h"
  5. mock(SDL_GetKeyName) const char* SDL_GetKeyName(i32 key) {
  6. mock_return(SDL_GetKeyName) "";
  7. }
  8. mock(SDL_GetKeyFromName) i32 SDL_GetKeyFromName(const char *name) {
  9. mock_return(SDL_GetKeyFromName) 0;
  10. }
  11. #endif