Commit Graph

  • 671c90f7dc Fix music playing wrong if played after track of different format Misa 2023-03-18 15:33:30 -07:00
  • 9a87d23719 Style: Fixup instances of void arguments Misa 2023-03-18 15:24:14 -07:00
  • 63bc71b796 Always add null terminator when loading files Misa 2023-03-18 15:12:24 -07:00
  • fb15a0b515 Fix the game texture clearing during menu shaking AllyTally 2023-03-18 17:36:07 -03:00
  • acfa085fd1 Remove reference from customlevelclass::load arg Misa 2023-03-16 21:09:41 -07:00
  • 79f5e7a05c Fix loading font .txt files that contain null bytes Dav999-v 2023-03-16 21:45:25 +01:00
  • df577c59ef Fix font .txt files not being null-terminated Dav999-v 2023-03-16 18:55:46 +01:00
  • 4398861d50 Update font.png Dav999-v 2023-03-15 21:47:33 +01:00
  • 975d555a09 Sync language files Dav999-v 2023-03-15 19:30:58 +01:00
  • ae98a857d2 Add new language files Dav999-v 2023-03-15 18:49:11 +01:00
  • 310f3489d2 Remove key casts from hashmap function calls Dav999-v 2023-03-05 21:42:21 +01:00
  • 074d54b42b Update c-hashmap submodule [2023-03-05] Dav999-v 2023-03-05 21:25:08 +01:00
  • 188fc996bd Fix hardestroom not being translated AllyTally 2023-03-05 15:08:33 -04:00
  • d112dee72c Change font::len text argument from std::string to const char* Dav999-v 2023-03-05 00:32:58 +01:00
  • 5e3a4e69ce Overload font::print text argument for both std::string and const char* Dav999-v 2023-03-05 00:21:52 +01:00
  • 264b6474be Change font::print_wrap text argument from std::string to const char* Dav999-v 2023-03-04 23:29:12 +01:00
  • 58d21e956b Fix analogue filter allocating/freeing surfaces every frame Misa 2023-03-04 14:02:47 -08:00
  • 5eecc2a21d Don't draw texture onto itself for scrolling Misa 2023-03-03 16:02:53 -08:00
  • 8c697487fd Remove old Spanish language files Dav999-v 2023-03-04 02:35:14 +01:00
  • 33fa0750be Destroy gameScreen after all other graphics are destroyed Misa 2023-03-03 16:46:15 -08:00
  • faff8bba5f Fix possible dangling pointers in FontContainer.map_name_idx Dav999-v 2023-03-04 01:29:19 +01:00
  • 04743abe91 Destroy towerbg and titlebg textures in destroy_buffers Misa 2023-03-03 15:34:13 -08:00
  • d1e9bdc284 Rename tempTexture to menuoffTexture Misa 2023-03-03 15:25:15 -08:00
  • e31344c68c Remove trailing whitespace in create_buffers Misa 2023-03-03 15:23:55 -08:00
  • 5beaf973ce Strip out old special roomname system AllyTally 2023-02-17 19:52:57 -04:00
  • dd108a035f Animated roomnames, setroomname command AllyTally 2022-12-11 19:05:20 -04:00
  • 27da7fe935 Update BUNDLE_DEPENDENCIES description with removal of UTF-CPP Misa 2023-03-01 22:58:15 -08:00
  • 368b9f1b3d Replace use of PHYSFS UTF-8 functions by UTF8.h Dav999-v 2023-02-23 05:14:33 +01:00
  • a91c85d92e Fix UTF-8 handling in next_wrap Dav999-v 2023-02-23 04:52:56 +01:00
  • b02e4737d4 Remove utfcpp submodule Dav999-v 2023-02-23 04:21:59 +01:00
  • f34aa65faa Replace utfcpp by UTF8.h in Font.cpp Dav999-v 2023-02-23 04:15:27 +01:00
  • 8a011c3061 Replace utfcpp by UTF8.h in Textbox.cpp Dav999-v 2023-02-23 04:14:59 +01:00
  • 736ce3ecbf Replace utfcpp by UTF8.h in Localization.cpp Dav999-v 2023-02-23 04:14:38 +01:00
  • a545384677 Replace utfcpp by UTF8.h in KeyPoll.cpp Dav999-v 2023-02-23 04:13:51 +01:00
  • c5a48776c9 Replace utfcpp by UTF8.h in Editor.cpp Dav999-v 2023-02-23 04:13:15 +01:00
  • 393c5ac4fe Replace utfcpp by UTF8.h in CustomLevels.cpp Dav999-v 2023-02-23 04:11:36 +01:00
  • 2474623b59 Remove #include <utf8/unchecked.h> from Graphics.cpp Dav999-v 2023-02-23 04:09:17 +01:00
  • 3ce4735d50 Add UTF8.c Dav999-v 2023-02-23 03:41:36 +01:00
  • 22f1a18fe7 Update Esperanto translation Fussmatte 2023-02-24 23:52:59 -05:00
  • 32e14755dd Fix centering of translated "Level Complete!" and "Game Complete!" Dav999-v 2023-02-25 03:39:59 +01:00
  • 00279c0e04 Fix minor visual issue in int1yellow_5 Originally the changedir command was used here, making Vitellary look left and then immediately snap back to looking right. Now the changeai command is used instead to make him actually look left, and then look back to the right on his last textbox. Fussmatte 2023-02-24 20:38:44 -05:00
  • ede52ccc48 Add Jules de Sartiges to Credits.h Misa 2023-02-21 12:28:57 -08:00
  • abab6864d7 Add iliana etaoin to contributor list Misa 2023-02-21 12:27:50 -08:00
  • 5d719d3e90 Add magic string to the start of the game global iliana etaoin 2023-02-21 12:09:43 -08:00
  • 2201cfe1e9 Increase max="" value for jukebox song names in language files Dav999-v 2023-02-21 04:28:13 +01:00
  • 086b157152 Allow multiple lines and wordwrapping in activity zone prompts Dav999-v 2023-02-21 03:26:16 +01:00
  • a320ee3b4d Deduplicate font::print for activity zone prompts Dav999-v 2023-02-21 03:05:45 +01:00
  • 28e9df7f47 Move line width addition in next_wrap to be after switch block Dav999-v 2023-02-20 04:58:16 +01:00
  • 2934462410 Update fonts/README.txt for button glyphs Dav999-v 2023-02-21 01:03:18 +01:00
  • d883ff6938 Add support for button glyph fallback fonts Dav999-v 2023-02-20 04:35:19 +01:00
  • 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 AllyTally 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 Ally 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