Commit Graph

  • 7a06b61f5d Add name->idx hashmap in FontContainer Dav999-v 2023-02-20 23:53:48 +01:00
  • 6cf63359d3 Add button glyph font files Dav999-v 2023-02-19 05:00:30 +01:00
  • 2ac85e6929 Fix editor selection box not showing up Misa 2023-02-19 12:31:58 -08:00
  • 6e6cf1bfc3 Draw text outline on editor hotkeys Misa 2023-02-19 12:12:02 -08:00
  • 64be99d496 Add -addresses command-line argument Misa 2023-02-17 20:41:11 -08:00
  • acca4747f7 Remove x-position from setactivityposition Misa 2023-02-17 20:38:05 -08:00
  • 3d5ba95b96 custom textbox colors AllyTallyandMisa Elizabeth Kai 2022-11-21 15:02:38 -04:00
  • de43005676 Fix screen shake during flip mode not flipping the screen AllyTally 2023-02-14 19:24:37 -04:00
  • 73a80a9b4f Apply suggestions from code review AllyandMisa Elizabeth Kai 2023-02-14 18:30:06 -04:00
  • 1183083355 Allow a maximum of 26 lines, with L suffix AllyTally 2022-11-30 13:56:44 -04:00
  • 299ed90493 static-qualify mount_pre_datazip Misa 2023-02-14 09:44:31 -08:00
  • 4b34602eec Improve ordering of font charset loading Dav999-v 2023-02-02 23:22:24 +01:00
  • 716a241b79 Replace PR_COLORGLYPH_BRI(a) and PR_ALPHA(a) with PR_BRIGHTNESS(a) Dav999-v 2023-01-31 02:22:43 +01:00
  • d1f6c1adf2 Replace "by" for level authors with happy face Dav999-v 2023-01-31 00:41:46 +01:00
  • ed7379c41b Position CJK room name correctly in editor Dav999-v 2023-01-29 05:03:51 +01:00
  • f896a964fa Update readmes for new font system Dav999-v 2023-01-23 23:56:19 +01:00
  • 17d3c756c7 Write max_local to language files during sync Dav999-v 2023-01-23 03:15:17 +01:00
  • 11b372c741 Harden next_wrap against getting stuck on a single character Dav999-v 2023-01-23 01:56:44 +01:00
  • 9747843c18 Add menu for selecting the level font Dav999-v 2023-01-21 19:06:30 +01:00
  • b030ce568f Make main game content use interface font instead of 8x8 font Dav999-v 2023-01-21 03:27:55 +01:00
  • 25feb9dbb5 Make wordwrapping functions take font arguments Dav999-v 2023-01-21 02:31:44 +01:00
  • 0eaceed0a2 Completely remove Graphics::PrintWrap Dav999-v 2023-01-20 21:11:18 +01:00
  • 0e30087f3b Fix indentation style of case Menu::levellist in menurender Dav999-v 2023-01-20 20:50:11 +01:00
  • 7ecff42e0e Completely remove Graphics::Print, make many CJK positioning fixes Dav999-v 2023-01-20 20:24:41 +01:00
  • cc6b00a711 Add setfont scripting command Dav999-v 2023-01-20 04:57:06 +01:00
  • 7db0e73109 Allow levels to select a font via XML, show correct font in levels list Dav999-v 2023-01-20 03:56:17 +01:00
  • 8d5e3b1a8a Improve level metadata display and font handling Dav999-v 2023-01-19 20:15:17 +01:00
  • 653eee505b Clean up Font.h, move structs into Font.cpp Dav999-v 2023-01-18 23:13:35 +01:00
  • d2461c90ce Completely remove Graphics::bigprint Dav999-v 2023-01-18 23:04:47 +01:00
  • ddaabb3efe Completely remove Graphics::bprint Dav999-v 2023-01-17 22:18:39 +01:00
  • d784f7f61a Completely remove Graphics::PrintAlpha and Graphics::bprintalpha Dav999-v 2023-01-17 18:37:35 +01:00
  • 9749858365 Completely remove Graphics::bigbprint, bigrprint and bigbrprint Dav999-v 2023-01-17 05:19:17 +01:00
  • c82e1f2902 Use PR_RIGHT for interim version info in main menu Dav999-v 2023-01-17 04:47:17 +01:00
  • da6be09993 Completely remove Graphics::len Dav999-v 2023-01-17 04:41:12 +01:00
  • a706fb249a Migrate more prints and graphics.len calls to font:: Dav999-v 2023-01-16 21:29:50 +01:00
  • 7c55ea7832 Fix pause screen font on language screen with other language selected Dav999-v 2023-01-15 05:26:15 +01:00
  • df4e351b30 Use languages' fonts for options on language screen Dav999-v 2023-01-15 04:06:31 +01:00
  • 5dad6b38be Add language-specific font configuration Dav999-v 2023-01-15 01:31:02 +01:00
  • dadb7f2623 Complete font::print_wrap flag handling Dav999-v 2023-01-14 05:16:00 +01:00
  • 689d6e3e97 Print activity zone text in correct font, remove Graphics::drawtextbox Dav999-v 2023-01-13 20:32:05 +01:00
  • 48a4e19635 Migrate more prints to font::, determine font for most textboxes Dav999-v 2023-01-13 05:11:39 +01:00
  • 6ca83114bc Start using level-specific font where needed, make CJK tweaks Dav999-v 2023-01-12 05:27:52 +01:00
  • 29a3789dec Add some more preparation for multi-font support and proper unloading Dav999-v 2023-01-11 04:53:44 +01:00
  • 83d645c8e3 Add font containers for global and custom fonts Dav999-v 2023-01-11 02:57:31 +01:00
  • 22dcc29d45 Handle more flags in print and len functions Dav999-v 2023-01-08 01:22:15 +01:00
  • 159c70dade Move wordwrapping functions and len to Font.cpp/font:: namespace Dav999-v 2023-01-06 19:17:50 +01:00
  • 1d8494db8d Add initial version of font::print_wrap Dav999-v 2023-01-06 16:21:42 +01:00
  • 0475539075 Implement first font::print function, fix most fading of colored glyphs Dav999-v 2023-01-06 04:43:21 +01:00
  • 9879fb2809 Draw outlines for colored characters correctly Dav999-v 2023-01-05 04:55:13 +01:00
  • 4675238fa8 Switch font.txt over to font.fontmeta Dav999-v 2023-01-17 04:57:16 +01:00
  • 794f081530 Start rewrite of font system Dav999-v 2023-01-02 05:14:53 +01:00
  • b29f3e2fae Silence various warnings in builds removing content Misa 2023-02-04 00:14:04 -08:00
  • f2089c954f Silence warnings about using long long in C++03 Misa 2023-02-04 00:13:02 -08:00
  • 113fbb0fdb Add build type to -version Misa 2023-02-02 13:08:40 -08:00
  • 6665f4f8f6 Prioritize loading processed script names Misa 2023-01-31 20:04:18 -08:00
  • fbe613ce5c Abort and print error if window/renderer cannot be created Misa 2023-01-28 23:41:44 -08:00
  • 2525017990 Set minimum window size (to 320 x 240) Misa 2023-01-28 23:37:24 -08:00
  • fbc9b3ddd7 Use SDL_Point instead of rolling our own point struct Misa 2023-01-28 23:32:14 -08:00
  • c7098f84e5 Fix alphabetical ordering of includes in preloader.cpp Misa 2023-01-28 23:29:04 -08:00
  • d9859d4a98 Fix screenshake not clearing the gameplay cache AllyTally 2023-01-28 21:34:33 -04:00
  • 19b2a317f1 Move from surfaces to the SDL render system AllyTally 2023-01-07 14:28:07 -04:00
  • 556e3a110a Fix small bug with map being off in custom levels AllyTally 2023-01-26 15:52:29 -04:00
  • 172e3a8985 Add branch name to window title in brackets Misa 2023-01-16 12:59:48 -08:00
  • 19a83853b8 Default width and height settings to 640x480 Misa 2023-01-16 12:45:40 -08:00
  • d2b6fb2d06 Add branch name to interim version information Misa 2023-01-07 19:18:28 -08:00
  • f35618999f Allocate to the size of source surface instead Misa 2023-01-05 12:23:34 -08:00
  • 2e03f2b03d Re-add temporary allocation in BlitSurfaceTransform Misa 2023-01-04 15:33:56 -08:00
  • 91339c77db Refactor BlitSurfaceColoured and BlitSurfaceTinted to not allocate Misa 2023-01-02 18:01:42 -08:00
  • e5d32c653b Rename tempBuffer to menuoffbuffer Misa 2023-01-02 11:19:08 -08:00
  • 0a51141720 Use named constants in Graphics::create_buffers Misa 2023-01-02 11:17:02 -08:00
  • 38c3b4ab41 Move warpfcol, warpbcol, and warprect off of Graphics Misa 2023-01-02 11:15:54 -08:00
  • b0ca322b3f Use SDL_GetRGBA and SDL_MapRGBA to read and draw pixels Misa 2023-01-02 10:44:35 -08:00
  • 8dc088896f Axe Graphics::ct and Graphics::setcolreal Misa 2023-01-01 20:16:08 -08:00
  • 351a022ebd Use SDL_Color for colors instead of colourTransform Misa 2023-01-01 16:36:43 -08:00
  • f24265f0fb Fix up temporary variables being in topmost scope and bad style Misa 2022-12-29 22:23:48 -08:00
  • 5a6bc8bb9b De-duplicate room tile drawing code in editor Misa 2022-12-29 22:19:40 -08:00
  • e889a4a9b1 Make Catalan language files not executable Misa 2022-12-31 20:23:04 -08:00
  • 2f770e9b5a Use setstate(n)/incstate()/setstatedelay(n) in localization changes Dav999-v 2022-12-31 16:01:11 +01:00
  • 2b84384606 Replace all localization SDL_free with VVV_free Dav999-v 2022-12-31 04:37:45 +01:00
  • 7a52dc9586 Update Esperanto and Catalan translations Dav999-v 2022-12-24 04:40:17 +01:00
  • 3937a12a85 Add cutscene test menu Dav999-v 2022-12-24 04:16:56 +01:00
  • 0ed7717dd5 Add Catalan translation by Eduard Ereza Martínez Dav999-v 2022-12-21 23:46:13 +01:00
  • 5eb20aa467 Make some minor changes in the Dutch translation Dav999-v 2022-12-17 15:14:55 +01:00
  • 7aec2c2242 Remove "COPY TILES" strings Dav999-v 2022-12-08 00:41:03 +01:00
  • 6a1ddad8f8 Add cases for intermission replay options, button fillers in editor Dav999-v 2022-12-07 21:03:01 +01:00
  • 968e731178 Adjusted some more roomnames Reese Rivers 2022-12-03 18:33:28 -05:00
  • 1bcb1df5d2 Changed instances of "pasejo" to "pasaĵo" Reese Rivers 2022-12-03 17:11:10 -05:00
  • e441d0d312 Complete the Dutch room name translations Dav999-v 2022-12-03 22:08:13 +01:00
  • 489963fdc6 Add line about string cases to README-translators.txt Dav999-v 2022-12-01 05:21:59 +01:00
  • 795bdf886b Add support for string cases in strings.xml (gendered Rescued/Missing) Dav999-v 2022-12-01 01:27:30 +01:00
  • d147206c54 Split localization README.txt in -translators and -programmers versions Dav999-v 2022-11-30 22:31:47 +01:00
  • baf1e6d57f Update font to latest version Dav999-v 2022-11-30 19:23:04 +01:00
  • 88c8ad5a57 Add per-area untranslated roomname counters Dav999-v 2022-11-27 20:06:08 +01:00
  • 46af7ecdfc Added missing strings for Esperanto Reese Rivers 2022-11-26 12:23:17 -05:00
  • 80b9bcf0dd Add level exploring menu for translators Dav999-v 2022-11-26 03:33:17 +01:00
  • 34cb42a19f Add Ctrl+X for roomname translator mode Dav999-v 2022-12-31 02:18:07 +01:00
  • df76145314 Make some hardcoded room names (and some special ones) translatable Dav999-v 2022-12-31 02:16:24 +01:00
  • b548783df2 preloader.cpp: make loading screen translatable Dav999-v 2022-12-31 02:12:57 +01:00
  • 56f812a7e9 main.cpp: make pause screen translatable Dav999-v 2022-12-31 02:12:33 +01:00
  • 93a3c40c39 UtilityClass.cpp: make time formats and numbers translatable Dav999-v 2022-12-31 02:09:53 +01:00