mse / RSOD (public) (License: CC0 and other licenses) (since 2025-03-01) (hash sha1)
Free software FPS engine
List of commits:
Subject Hash Author Date (UTC)
Cleanup feb8a188b14d20819df87ae9ca4f67dec6be07ff MSE 2024-06-12 03:43:12
Allow setting mono font via init.json ba70f7a9da5ba2fcfe77d09a8d489de19dfb0061 MSE 2024-06-12 03:37:19
Add support for particle damage/impact ed57530ab69e9c32ac19c0c6a36cb6102791b7c6 MSE 2024-06-12 00:25:18
Add agent linear velocity to projectiles 2e254d93065e60a6e76dab321aa64aaad72dede7 MSE 2024-06-11 16:34:15
Add weapon particle support dc972a7f2cc0019d663b3284a1e49c3be313c74f MSE 2024-06-09 20:21:23
Initial commit c4f36c095752bd4e7090caf48320d041fb2328bb MSE 2024-06-09 02:33:29
Commit feb8a188b14d20819df87ae9ca4f67dec6be07ff - Cleanup
Author: MSE
Author date (UTC): 2024-06-12 03:43
Committer name: MSE
Committer date (UTC): 2024-06-12 03:43
Parent(s): ba70f7a9da5ba2fcfe77d09a8d489de19dfb0061
Signer:
Signing key:
Signing status: N
Tree: 12ba7fd8d9e7e98808415de304f97d3d29a8db7b
File Lines added Lines deleted
src/rsod.cpp 1 8
File src/rsod.cpp changed (mode: 100644) (index 22be402..5ca3694)
... ... std::map<std::string,std::string> global_strings;
344 344 int choice_index = 0; int choice_index = 0;
345 345
346 346 // Fonts. // Fonts.
347 std::string font_mono_file = "DmcaSansSerif.ttf";
347 348 fgl::Font font_vn, font_mono; fgl::Font font_vn, font_mono;
348 349
349 350 // UI textures. // UI textures.
 
... ... int bloom_w = 512, bloom_h = 512; // Medium quality.
428 429 // The text to display on the initial loading screen. // The text to display on the initial loading screen.
429 430 std::string init_text = u8"▪ ▪ ▪"; std::string init_text = u8"▪ ▪ ▪";
430 431
431 // The default monospaced font.
432 std::string font_mono_file = "DmcaSansSerif.ttf";
433
434 432 void InitEngine( std::string file_name ); void InitEngine( std::string file_name );
435 433
436 434 void ParseSettings(); void ParseSettings();
 
... ... void InitSettings(){
1361 1359 "reload", "reload",
1362 1360 SDL_GetKeyName( SDL_GetKeyFromScancode( SDL_SCANCODE_R ) ) SDL_GetKeyName( SDL_GetKeyFromScancode( SDL_SCANCODE_R ) )
1363 1361 ); );
1364 kb.set(
1365 "chat",
1366 SDL_GetKeyName( SDL_GetKeyFromScancode( SDL_SCANCODE_T ) )
1367 );
1368 1362 // Only create the flashlight setting if it is enabled by the game config. // Only create the flashlight setting if it is enabled by the game config.
1369 1363 if( player_toggle_light ){ if( player_toggle_light ){
1370 1364 kb.set( kb.set(
 
... ... void Render(){
2571 2565 *k_light = kb ? &kb->get( "light" ) : nullptr, *k_light = kb ? &kb->get( "light" ) : nullptr,
2572 2566 *k_interact = kb ? &kb->get( "interact" ) : nullptr, *k_interact = kb ? &kb->get( "interact" ) : nullptr,
2573 2567 *k_reload = kb ? &kb->get( "reload" ) : nullptr, *k_reload = kb ? &kb->get( "reload" ) : nullptr,
2574 *k_chat = kb ? &kb->get( "chat" ) : nullptr,
2575 2568 *k_hud = kb ? &kb->get( "hud" ) : nullptr; *k_hud = kb ? &kb->get( "hud" ) : nullptr;
2576 2569
2577 2570 // Buttons for actions and menus. // Buttons for actions and menus.
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/mse/RSOD

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/mse/RSOD

Clone this repository using git:
git clone git://git.rocketgit.com/user/mse/RSOD

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main