4coder/code/platform_win32
Simon Anciaux 911df4ce05 code/bin/4ed_build.cpp: Removed OpenGL.lib. It's added with #pragma comment in win32_opengl.cpp so that we don't need to do special things to keep OpenGL and DirectX both working.
code/platform_win32/win32_4ed.cpp:
- Modification to be able to choose between OpenGL and DirectX. You choose between the two by defining WIN32_DIRECTX macro. If you don't define it it uses OpenGL.
- Note that win32_gl_create_window and other part of the file that depend on OpenGL or DirectX have been moved to win32_opengl.cpp and win32_directx.cpp.
- Fixed os_popup_error using the title as the message and the message as the title.

code/platform_win32/win32_opengl.cpp: Contains previous code that was in win32_4ed.cpp.

code/platform_win32/win32_directx.cpp: Code for creating a DirectX window and context.

code/platform_win32/4ed_directx_render.cpp: Imlementation of the 4coder renderer using DirectX.
2025-07-07 13:02:42 -07:00
..
4ed_directx_render.cpp code/bin/4ed_build.cpp: Removed OpenGL.lib. It's added with #pragma comment in win32_opengl.cpp so that we don't need to do special things to keep OpenGL and DirectX both working. 2025-07-07 13:02:42 -07:00
win32_4ed.cpp code/bin/4ed_build.cpp: Removed OpenGL.lib. It's added with #pragma comment in win32_opengl.cpp so that we don't need to do special things to keep OpenGL and DirectX both working. 2025-07-07 13:02:42 -07:00
win32_4ed_functions.cpp Add 'code/' from commit '1459ef7cbce753b056ea148b29c9dc3f8a721261' 2022-11-18 13:37:07 +00:00
win32_audio.cpp Add 'code/' from commit '1459ef7cbce753b056ea148b29c9dc3f8a721261' 2022-11-18 13:37:07 +00:00
win32_directx.cpp code/bin/4ed_build.cpp: Removed OpenGL.lib. It's added with #pragma comment in win32_opengl.cpp so that we don't need to do special things to keep OpenGL and DirectX both working. 2025-07-07 13:02:42 -07:00
win32_gl.h Add 'code/' from commit '1459ef7cbce753b056ea148b29c9dc3f8a721261' 2022-11-18 13:37:07 +00:00
win32_opengl.cpp code/bin/4ed_build.cpp: Removed OpenGL.lib. It's added with #pragma comment in win32_opengl.cpp so that we don't need to do special things to keep OpenGL and DirectX both working. 2025-07-07 13:02:42 -07:00
win32_utf8.cpp Add 'code/' from commit '1459ef7cbce753b056ea148b29c9dc3f8a721261' 2022-11-18 13:37:07 +00:00
win32_utf8.h Add 'code/' from commit '1459ef7cbce753b056ea148b29c9dc3f8a721261' 2022-11-18 13:37:07 +00:00