Commit Graph

10 Commits

Author SHA1 Message Date
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
Peter Slattery b280722b1c set NSApp activateIgnoringOtherApps to YES 2025-04-24 16:18:01 -07:00
Peter Slattery f1d6ac0e53 adding execute permissions to build-mac-dev.sh 2024-03-22 18:16:17 -06:00
Peter Slattery 8675d371a4 dedicated build-mac-release and build-mac-dev files in bin 2024-03-22 16:16:48 -06:00
Peter Slattery 7f2a414182 package-mac.sh grants execute permissions to the output executable 2024-03-22 16:15:38 -06:00
PS 832a7b4b80 build.bat works from anywhere 2024-02-10 13:02:06 -08:00
PS 5bfb737720 package.bat works from any directory 2024-02-10 12:55:03 -08:00
Jack Punter b96f1e9dfb Remove scripts to update Itch.io page
- update readme with build instructions
- remove 32-bit and demo builds from package scripts
2023-02-04 15:21:00 +00:00
Jack Punter e2b3bd9f3e Correct build for new structure 2022-11-18 16:43:00 +00:00
Jack Punter 0e47ccd2ce Add 'code/' from commit '1459ef7cbce753b056ea148b29c9dc3f8a721261'
git-subtree-dir: code
git-subtree-mainline: cf6a50363e
git-subtree-split: 1459ef7cbc
2022-11-18 13:37:07 +00:00