LuKP17
970595c643
Highscores layout fits lower resolutions
2023-11-04 22:30:05 +01:00
Dominic Szablewski
776837edb0
Remove solved 'ideas for improvements'
2023-11-04 20:42:36 +01:00
Dominic Szablewski
7a36bc06ea
Merge pull request #100 from LuKP17/options-highscores-menu
...
View highscores in options menu
2023-11-04 20:36:44 +01:00
Dominic Szablewski
4a80e0b260
Merge pull request #101 from LuKP17/options-internal-camera-roll
...
Option to lessen internal camera roll
2023-11-04 19:36:54 +01:00
LuKP17
d22448aa66
Option to lessen internal camera roll
2023-11-04 15:40:50 +01:00
LuKP17
eae0a5cc59
View highscores in options menu
2023-11-01 11:45:37 +01:00
Dominic Szablewski
278bf12bfc
Merge pull request #98 from LuKP17/pilots-logo-draw-index
...
Correct pilots logo models drawn in main menu
2023-10-29 17:57:53 +01:00
LuKP17
e0c94d473c
Correct pilots logo models drawn in main menu
2023-10-28 19:31:08 +02:00
Dominic Szablewski
9e33288a37
Point out that analog sticks are not bound by default
2023-09-24 19:08:03 +02:00
Dominic Szablewski
58c84c8a3c
Fix detection for resuce droid on jump start; close #84
2023-09-24 15:21:06 +02:00
Dominic Szablewski
6451b70356
Fix close to ground physics being frame rate dependent: use proper 30fps frame time
2023-09-24 15:20:04 +02:00
Dominic Szablewski
6431599c40
Fix close to ground physics being frame rate dependent; close #83
2023-09-24 14:05:48 +02:00
Dominic Szablewski
718a348109
Fix ebolt effect on AI not being frame rate dependent
2023-09-24 14:04:29 +02:00
Dominic Szablewski
339f130b94
Fix ebolt thrust effect on player being frame rate dependent
2023-09-24 14:02:32 +02:00
Dominic Szablewski
f9f7b15263
Merge pull request #82 from johnflan/master
...
Fix issue with Makefile on MacOS with unsupported uname -o flag
2023-09-17 11:33:00 +02:00
John Flanagan
c509bdf7dc
Fix issue with Makefile on MacOS where uname -o is called causing make to error out
2023-09-16 23:20:27 +01:00
Dominic Szablewski
a9d2548236
Merge pull request #78 from enigma9o7/README-OGL-GLX
...
Mention OpenGL version and GLX option
2023-09-12 20:38:34 +02:00
enigma9o7
a2ff2a60d1
Mention OpenGL version and GLX option
...
Update the main README to mention that sdl uses OGL2.x and Sokol uses OGL3.3 , and how to build for GLX.
2023-09-12 11:20:09 -07:00
Dominic Szablewski
e915913f6c
Merge pull request #73 from jantlo/issue_59_reset_exhaust_plume_states
...
reseting the ship exhaust plumes when going back to main menu.
2023-09-09 13:00:40 +02:00
Juan Lopez
83a0992081
reseting the ship exhaust plumes when going back to main menu.
2023-09-08 23:15:20 +02:00
Dominic Szablewski
a6784cc19f
Merge pull request #72 from gh-fork-dump/cmake-fixups
...
CMake build fixes/improvements
2023-09-07 20:02:25 +02:00
Stephen Gregoratto
aeafcc92c2
Update Readme with new build options.
2023-09-07 18:38:23 +10:00
Stephen Gregoratto
e6238b97fc
CMake build fixes/improvements
...
- Add options for PATH_(ASSETS/USERDATA).
- Introduce the concept of a "dev" build, which sets the assets/userdata
path to the source directory.
- Error early for in-tree builds to avoid clobbering the Makefile.
- Enhance GLVND detection to allow use on FreeBSD.
- Only link Sokol-specific libraries on Linux if building for Unix.
- Fix GLES2 support not being picked up.
2023-09-07 18:22:01 +10:00
Dominic Szablewski
0594285013
Whitespace: change line endings to LF everywhere
2023-09-04 17:34:29 +02:00
Dominic Szablewski
a829166082
typo; remove cd command from wasm build instruction
2023-09-04 17:09:16 +02:00
Dominic Szablewski
650572bdd2
Use float abs to calculate bounding radius
2023-09-04 16:53:01 +02:00
Dominic Szablewski
de13e2af82
Fix sokol build on linux
2023-09-04 16:48:53 +02:00
Dominic Szablewski
b23efa3a52
Fix case of defines
2023-09-04 16:36:58 +02:00
Dominic Szablewski
64b67fc3a2
Move build instructions back to readme
2023-09-04 16:35:45 +02:00
Dominic Szablewski
64a492f992
Add src/libs/ as additional include dir as it is now specified as system headers
2023-09-04 16:30:42 +02:00
Dominic Szablewski
3b97df8f0a
Mention Makefile build; formatting
2023-09-04 16:27:42 +02:00
Dominic Szablewski
8670d6bb54
Merge branch 'cmake'
2023-09-04 15:50:11 +02:00
Dominic Szablewski
701e2d55e6
Fix 8 byte alignment in temp allocator; close #68
2023-09-04 13:58:43 +02:00
Stephen Gregoratto
b7c4c9bff3
Add a CMake build guide
2023-09-04 01:12:09 +10:00
Stephen Gregoratto
65d9494cfb
Add CMakeSettings.json for easier Visual Studio building
2023-09-04 01:12:08 +10:00
Stephen Gregoratto
a9b9e35266
Add vcpkg.json
2023-09-04 01:12:08 +10:00
Stephen Gregoratto
9f046ea0a4
Fixes for -Wstrict-prototype
2023-09-04 01:12:08 +10:00
Stephen Gregoratto
2b3fcaaf0b
Include 3rd-party libs as system headers
...
Now, the compiler will only report errors in our code and not in any of
these headers.
2023-09-04 01:12:05 +10:00
Stephen Gregoratto
53d260d632
fixup
2023-09-04 01:11:21 +10:00
Stephen Gregoratto
98ad9b0679
Build with CMake.
...
Tested building with SDL2 + Sokol on:
- Windows with clang-cl 16
- GLEW/SDL2 built using vcpkg.
- Arch Linux with the `sdl2`/`glew` packages.
- macOS 13.5 with SDL2 via homebrew.
- Emscripten using the Arch Linux `emscripten` package.
- Mingw toolchain with the GLEW/SDL2 packages installed:
- On Arch Linux with the mingw packages.
- On Windows using MSYS2 with the ucrt packages.
2023-09-02 23:15:07 +10:00
Stephen Gregoratto
90b9cffc60
Update sokol headers to fix a build issue on Windows
...
For some reason, the private method `_sapp_win32_init_console` used
`freopens` instead of `freopen_s`. Instead of fixing that, just upgrade
all the Sokol headers instead.
Also, the GLES2 renderer is no longer available for Emscripten, so bump
it up to GLES3.
2023-09-02 22:40:41 +10:00
Stephen Gregoratto
9207839c80
Fix building on Windows
...
- Drop linking opengl32/glew32.libs using `#pragma`s in favour of
specifing the libraries at build time.
- Use check for the `WIN32` macro when including Windows specific
headers in `src/render_gl.c`.
- Undefine the `min`, `max`, `near`, and `far` macros when building on
Windows.
2023-09-02 22:40:41 +10:00
Dominic Szablewski
ecf1e63508
Do some culling based on camera direction
2023-09-01 19:04:27 +02:00
Dominic Szablewski
9e90c4768f
Merge pull request #63 from BeWorld2018/fix
...
Fix memory leak on exit
2023-09-01 14:11:44 +02:00
BeWorld
aa06570a05
Move SDL_DestroyWindow in main()
2023-09-01 14:10:24 +02:00
BeWorld
07d8a37afd
Destroy Window and Renderer
2023-09-01 10:26:56 +02:00
BeWorld
c8bf7c82f7
Add SDL_GameContrllerClose
...
Fix memory leak
2023-08-31 12:57:31 +02:00
Dominic Szablewski
cf68eab8b2
Merge pull request #60 from tjrileywisc/change-app-name
...
Rename sokol app window for consistency
2023-08-31 12:12:26 +02:00
Timothy Riley
61ffe2f410
Rename sokol app window for consistency
2023-08-31 00:07:49 -04:00
Dominic Szablewski
98bd55a342
WASM: add touch controls
2023-08-30 17:40:50 +02:00