1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-27 18:40:35 +00:00
Commit Graph

304 Commits

Author SHA1 Message Date
Zeno Rogue
c2e3ed54f0 cpp files no longer include other cpp files 2018-06-11 01:12:18 +02:00
Zeno Rogue
98246d3066 more cleanup in parameters, restartGame cleanup 2018-06-11 00:58:38 +02:00
Zeno Rogue
b294ec288d gp:: used 'char' which failed on Android where 'char' is unsigned. Fixed. Also improved Xprintf 2018-05-27 01:07:44 +02:00
Zeno Rogue
9fb73c79bb fixes to daily leaderboards 2018-05-27 01:06:12 +02:00
Zeno Rogue
6394fa4649 rewritten hyperpoint initializer in C++11 2018-05-26 01:11:50 +02:00
Zeno Rogue
aafe464bc6 added hooks_initgame, hooks_drawcell allows replacement 2018-05-26 01:11:19 +02:00
Zeno Rogue
5cd3ccabb8 refactored handle_event out of mainloopiter 2018-05-26 01:10:23 +02:00
Zeno Rogue
fc964ec7b2 simplified hyperpoint.cpp a bit 2018-05-20 15:30:43 +02:00
Zeno Rogue
9286134502 prevent_spawn_treasure in daily 2018-05-20 15:16:21 +02:00
Zeno Rogue
530c689c98 RogueViz fixes 2018-05-18 17:34:12 +02:00
Zeno Rogue
7e0a78f7bb some work on daily 2018-05-15 23:26:04 +02:00
Zeno Rogue
9b55240d1e leaderboards rewrite 2018-05-15 23:23:12 +02:00
Zeno Rogue
666ddb007e MAJOR REWRITE of floor patterns 2018-05-07 20:13:56 +02:00
Zeno Rogue
d0dc017ce3 fixed disabling CAP_RUG and CAP_TOUR 2018-05-07 20:09:58 +02:00
Zeno Rogue
1c07230f88 on-demand building of plainshapes 2018-05-04 12:20:50 +02:00
Zeno Rogue
c721851db1 general non-special-floor cleanup; standard and full floors are now perfect in gp 2018-05-04 02:46:44 +02:00
Zeno Rogue
a72dca5bc9 more exports 2018-05-04 02:40:46 +02:00
Zeno Rogue
47f0cc968f one_and_half flag 2018-05-01 19:34:57 +02:00
Zeno Rogue
5a9bc6c014 gSmallElliptic geometry 2018-05-01 19:34:09 +02:00
Zeno Rogue
460cda4d3e export XLATN 2018-05-01 00:22:58 +02:00
Zeno Rogue
67ad5f2f4b preparing for daily 2018-05-01 00:21:18 +02:00
Zeno Rogue
70bfe718ef map no longer disappears suddenly and irreparably if you scroll into the invisible region 2018-04-23 13:20:36 +02:00
Zeno Rogue
017d14e862 fix to last commit 2018-04-23 12:53:49 +02:00
Zeno Rogue
39916901ee improved square model in non-hyperbolic geometries 2018-04-23 12:50:51 +02:00
Zeno Rogue
2e2bb03edd tour:: better explained mode changes 2018-04-22 11:10:19 +02:00
Zeno Rogue
fea7392b01 export added 2018-04-21 17:57:42 +02:00
Zeno Rogue
ad93e77bcc canvas_invisible option 2018-04-21 17:57:30 +02:00
Zeno Rogue
edf4dd42cc fixed relative gmatrix computation in gp and line animation 2018-04-21 14:01:54 +02:00
Zeno Rogue
abbf536466 missing export for the debug commit 2018-04-21 12:17:33 +02:00
Zeno Rogue
5a3114d279 rogueviz:: made it compile with the changes elsewhere 2018-04-21 12:17:22 +02:00
Zeno Rogue
90cc9e1b49 conformal:: resizing the window works now 2018-04-21 12:14:25 +02:00
Zeno Rogue
2eaff9ac46 conformal:: more precise line animation 2018-04-21 12:12:52 +02:00
Zeno Rogue
f1bcd91de5 fisheye model 2018-04-18 20:52:17 +02:00
Zeno Rogue
d9381c7284 Clearing in bounded geometries 2018-04-14 10:24:02 +02:00
Zeno Rogue
e494eb0020 Fractal landscapes fixed in Goldberg heptagonal geometries 2018-04-13 13:19:45 +02:00
Zeno Rogue
210f9e80c7 More detailed land validity reporting 2018-04-13 13:08:41 +02:00
Zeno Rogue
854c1dd3d2 improved the 'full game' in weird CR4 2018-04-11 23:37:28 +02:00
Zeno Rogue
9d91390677 tactic:: removed lasttactic in favor of specialland. No more treasures on Crossroads in equid lands. Fixed warped walls and CR4 in a4. 2018-04-11 17:44:46 +02:00
Zeno Rogue
1f6ee5a408 ... but only increased 2018-04-11 15:49:49 +02:00
Zeno Rogue
848a135135 cleaner sightrange 2018-04-11 13:16:40 +02:00
Zeno Rogue
fa86a88ea3 gp:: removed the unused version of be_in_triangle 2018-04-11 00:55:05 +02:00
Zeno Rogue
ebda963d68 removed no longer productive 'overgenerate', improved the down/up limits of sightrange_bonus 2018-04-10 20:25:56 +02:00
Zeno Rogue
e41bc0b3b9 linepatterns:: works with gp, uses computed constants rather than hardcoded ones, extra horocycle linepattern, Goldberg pattern added 2018-04-10 17:57:33 +02:00
Zeno Rogue
9fd8713cbc gp:: correct long-distances in all Goldberg hyperbolic tilings 2018-04-10 17:06:04 +02:00
Zeno Rogue
90ff8c49dc marked land quality in gp, fixed some bugs 2018-04-10 08:05:35 +02:00
Zeno Rogue
e318a8e04a gp:: texture:: menu added 2018-04-10 05:12:40 +02:00
Zeno Rogue
033c626dfc restartGame, wrong mode, and resetModes now use constants instead of magic char names 2018-04-09 18:05:23 +02:00
Zeno Rogue
830785990c renamed whirl to goldberg 2018-04-09 17:40:12 +02:00
Zeno Rogue
63f50a1136 whirl:: fix ggshmup and calc_relative_matrix (also seems to fix nonbitrunc in general) 2018-04-06 23:20:04 +02:00
Zeno Rogue
90d4f0d613 whirl:: celldist and celldistAlt now work 2018-04-06 22:22:33 +02:00
Zeno Rogue
66a2f41cd6 more exports in hyper.h 2018-04-06 00:31:25 +02:00
Zeno Rogue
cf6bd4ee4a whirl:: more floor patterns working 2018-04-04 13:50:21 +02:00
Zeno Rogue
22a92059b6 whirl 2018-04-03 23:39:18 +02:00
Zeno Rogue
229f717678 split sight/game/generation range; bonuses instead of absolute values 2018-04-03 23:34:47 +02:00
Zeno Rogue
6399ef8180 exporting more in hyper.h 2018-03-30 00:20:50 +02:00
Zeno Rogue
7c84280b73 four new models, Mercator improved 2018-03-26 19:06:47 +02:00
Zeno Rogue
9af2566e5f lower halfplane model added 2018-03-25 15:27:42 +02:00
Zeno Rogue
a10491f3d6 improved the automatic rotation 2018-03-25 15:07:11 +02:00
Zeno Rogue
14c67bef0b cleanup of conformal/history menu 2018-03-25 14:04:40 +02:00
Zeno Rogue
2fb0469c3e fix last commit 2018-03-25 14:03:41 +02:00
Zeno Rogue
864cc38974 Added surfaces of constant negative curvature (surface.cpp) 2018-03-24 17:21:25 +01:00
Zeno Rogue
e24ae3f717 shmup replaced with random special mode in start menu; use current settings in the start menu 2018-03-24 16:00:13 +01:00
Zeno Rogue
e86f3be0b6 more functions exported 2018-03-24 15:18:53 +01:00
Zeno Rogue
39e77cee9f rug exports more to hyper.h; alt makes rotation slower 2018-03-24 15:17:17 +01:00
Zeno Rogue
d3c9bfdd92 improved the quality of 3D models from conformal menu 2018-03-24 15:15:30 +01:00
Zeno Rogue
74cc23f1c2 hemisphere model 2018-03-24 13:26:16 +01:00
Zeno Rogue
ac37b6df99 more elegant cellwalkers 2018-03-24 12:59:01 +01:00
Zeno Rogue
2c09c5ee56 structurized textures.cpp 2018-03-17 21:12:46 +01:00
Zeno Rogue
7ab6cb3c8b disabled game playing if 'renderonce' is on; in Android LR, clicking gives the menu instead of doing something else 2018-03-02 13:05:31 +01:00
Zeno Rogue
e45fb6bb20 added dragon dismounting easier 2018-02-27 23:43:21 +01:00
Zeno Rogue
c035888b67 [cont] rug ODS fixes 2018-02-27 19:34:29 +01:00
Zeno Rogue
97aa318f79 force_sphere_outline, fixed sphere outline in SVG 2018-02-26 13:17:06 +01:00
Zeno Rogue
9a1093fc6c cleanup: help. Also rug help displayed when rug is on 2018-02-26 13:15:33 +01:00
Zeno Rogue
283c6bba39 cleanup: arguments 2018-02-26 13:14:20 +01:00
Zeno Rogue
082bd44c2a fixed zoom while editing texture 2018-02-20 22:12:31 +01:00
Zeno Rogue
babb8fbde4 removed the EUCSCALE parameter for consistency 2018-02-20 11:15:08 +01:00
Zeno Rogue
c8d655184b when loading textures in the texture mode, you can now tune individual triangles 2018-02-13 23:25:44 +01:00
Zeno Rogue
bb5ac04875 more fixes to Emscripten CLI 2018-02-12 13:12:08 +01:00
Zeno Rogue
be06bd31ce Implemented the shmup versions of Ruined City and Jelly Kingdom. 2018-02-12 12:48:31 +01:00
Zeno Rogue
cab8a0a38f Works online now! 2018-02-11 19:08:17 +01:00
Zeno Rogue
d01d772669 more changes to make it work on iOS 2018-02-11 02:19:49 +01:00
Zeno Rogue
90d477d3dc CAP_BITFIELD can be disabled -- this helps with Emscripten 2018-02-10 18:21:46 +01:00
Zeno Rogue
1391a7fe4d more shader cleanup 2018-02-10 18:21:19 +01:00
Zeno Rogue
120797d7ce uniformizing vertex attribute arrays 2018-02-09 01:46:14 +01:00
Zeno Rogue
b693c3ca58 fixed a bug with cleaning quotient spaces 2018-02-08 22:27:48 +01:00
Zeno Rogue
2a59ff7ab2 CAP_TOUR guards added, more exported in hyper.h, general cleanup 2018-02-08 22:27:12 +01:00
Zeno Rogue
8f1c75404d getOrientation in headers/fake 2018-02-03 20:04:47 +01:00
Zeno Rogue
dcc3e11287 renderbuffer should work without OpenGL 2018-02-03 13:50:47 +01:00
Zeno Rogue
b3f047ea6a reworked 3D vision 2018-02-03 13:41:49 +01:00
Zeno Rogue
8ce3e6f703 refactored texture mapping -- can change the texture precision when already active now 2018-02-01 13:45:08 +01:00
Zeno Rogue
c2c9099ce8 exported more rug functions 2018-02-01 13:43:39 +01:00
Zeno Rogue
8e8ece7162 refactored drawing to a texture; HQ shots can now be saved using OpenGL 2018-02-01 13:42:47 +01:00
Zeno Rogue
22d3d2590f some work on the savemem feature 2018-01-26 01:45:49 +01:00
Zeno Rogue
2f9e5186f6 BARLEV may be predefined 2018-01-25 23:52:57 +01:00
Zeno Rogue
8713d34d19 'remove faraway cells from the memory' option 2018-01-25 19:49:19 +01:00
Zeno Rogue
3a52193426 external additions can wrap drawthemap 2018-01-25 17:22:04 +01:00
Zeno Rogue
ed82d5bae9 using arrays for items and kills 2018-01-25 17:20:41 +01:00
Zeno Rogue
65cac5073f missing add from extra commandline options 2018-01-25 17:20:13 +01:00
Zeno Rogue
5bd024dba3 attack animations 2018-01-25 17:19:50 +01:00
Zeno Rogue
7859455bfb added some declarations to hyper.h 2018-01-14 21:21:32 +01:00
Zeno Rogue
3095afc94b cellid / fixed some situations when the same seed did not reproduce the same game / fixed a bug with multi::cpid overflow / golems no longer consider Orbs of Safety safe 2018-01-13 19:23:02 +01:00
Zeno Rogue
51652304ad Crossroads IV in alternate hyperbolic geometries 2018-01-08 23:11:29 +01:00
Zeno Rogue
5bf6d54c7d changed chamfered to bitruncated 2018-01-06 22:34:03 +01:00
Zeno Rogue
f281123266 fixed screens not disappearing when restarting 2018-01-06 22:05:40 +01:00
Zeno Rogue
040470205f implemented new achievements 2018-01-04 22:02:31 +01:00
Zeno Rogue
71897fc7f9 missing commit 2018-01-04 21:24:13 +01:00
Zeno Rogue
495dbba809 renamed 'truncated' to 'chamfered' 2018-01-04 18:39:04 +01:00
Zeno Rogue
3412a50b3d line/circle tools added to the texture editor; grid color changing in texture editor 2018-01-04 12:25:02 +01:00
Zeno Rogue
a8460b1ac7 Theming Ruins. Implemented Orb of Slaying (also cleaning up some kill/stun/Vizier code). 2018-01-03 21:49:14 +01:00
Zeno Rogue
5f1b1a54eb Invinc monsters implemented 2018-01-02 11:15:42 +01:00
Zeno Rogue
9d1fe00d8f Orb of Magnetism. Orb of Phasing. Also fixed Aether in Whirlpool. 2017-12-30 23:47:10 +01:00
Zeno Rogue
154bd54607 fixed/extended the mouse zoom etc. 2017-12-30 17:00:35 +01:00
Zeno Rogue
d3e789bc93 Magnetic and Switch V1 2017-12-30 15:12:15 +01:00
Zeno Rogue
5f5c86e529 new land: Docks 2017-12-29 01:10:47 +01:00
Zeno Rogue
11569c693d big change: more configuration for the torus (and also Klein bottle) 2017-12-28 16:46:10 +01:00
Zeno Rogue
e0ec332602 implemented FOV measure, unified old rug::scale with modeldistance 2017-12-27 18:53:00 +01:00
Zeno Rogue
59b51e8a05 mouseh fix 2017-12-27 14:09:39 +01:00
Zeno Rogue
dbcd71cb45 used enum for geometry classes; moved from hyper.h to init.cpp 2017-12-27 11:57:30 +01:00
Zeno Rogue
ae70662495 moving the screen center 2017-12-25 10:26:50 +01:00
Zeno Rogue
8c7abbc33e list of colors and brush sizes 2017-12-22 22:34:01 +01:00
Zeno Rogue
dd108cde6b symmetric texture editing 2017-12-22 21:57:55 +01:00
Zeno Rogue
4bee0c85a7 undo in texture editor 2017-12-22 20:59:04 +01:00
Zeno Rogue
d5bca73757 added Domination to Snake Nest; set some data 2017-12-21 16:35:19 +01:00
Zeno Rogue
f7b5a1b44f save full texture images 2017-12-21 14:05:07 +01:00
Zeno Rogue
57a5337b9f CAP_TEXTURE can be off; right-size textures loaded without scaling; SPF_FULLSYM 2017-12-21 11:36:07 +01:00
Zeno Rogue
d0a925a8ca translating textures to a more general type 2017-12-19 16:40:24 +01:00
Zeno Rogue
49bd1a0b2b a menu for changing pattern geometries 2017-12-19 14:35:34 +01:00
Zeno Rogue
168d35cb17 drawing textures without OpenGL 2017-12-19 00:39:11 +01:00
Zeno Rogue
e5c22834fe texture editing improved 2017-12-18 23:42:08 +01:00
Zeno Rogue
3e0f751a2c texture editing 2017-12-18 00:24:56 +01:00
Zeno Rogue
bf24550e82 magic adjustment of textures 2017-12-16 09:03:50 +01:00
Zeno Rogue
e2080cd91e more intuitive file dialogs; texture config saving 2017-12-14 12:10:40 +01:00
Zeno Rogue
36fe8dd1d0 better cellcounting 2017-12-14 02:50:52 +01:00
Zeno Rogue
653069094b more work on the patterns 2017-12-09 20:02:56 +01:00
Zeno Rogue
9933f373d2 improvements to patterns; codenumbers also display directions 2017-12-09 08:06:41 +01:00
Zeno Rogue
4fa764c175 filedialog and infix moved from mapeditor.cpp to dialogs.cpp 2017-12-09 04:01:56 +01:00
Zeno Rogue
635d1f911c Refactoring: moved all the remaining pattern code from mapeditor to pattern2 2017-12-09 03:48:30 +01:00
Zeno Rogue
ecf631976f texture mode -- first commit 2017-12-09 02:20:10 +01:00
Zeno Rogue
87b6b8b372 Snakes Nest v1 2017-12-05 19:43:45 +01:00
Zeno Rogue
9b2f9ecc14 Pattern-related functions moved from cells and mapeditor to pattern2s; three-color patterns 2017-12-05 16:19:22 +01:00
Zeno Rogue
3e6baf4e21 improvements to start menu: can be called from main menu; resets all special modes; selecting shmup allows you to configure keys immediately 2017-12-03 19:51:45 +01:00
Zeno Rogue
2cec36efa9 bugfix to exports 2017-12-03 18:44:29 +01:00
Zeno Rogue
8638081319 missing exports 2017-12-03 18:25:31 +01:00
Zeno Rogue
c5324ff2f5 more pattern editing for g46 2017-12-03 12:59:57 +01:00
Zeno Rogue
d6376e1ddf emeraldpattern on a46; fixed/improved darkening when sidedialog not available; pattern dialogs are now sidedialogs 2017-12-03 11:48:02 +01:00
Zeno Rogue
5defb06d81 improved headers / conditional compilation 2017-12-02 00:31:36 +01:00
Zeno Rogue
d8a647d972 brightness behind the sphere configurable; works a bit better with transparency now 2017-11-13 12:23:42 +01:00
Zeno Rogue
d8a279b15d fixed issues with falling animations; fall for a longer time in non-hyperbolic 2017-11-13 11:57:05 +01:00
Zeno Rogue
a19d4d568b refactored mdEqui 2017-11-13 11:26:21 +01:00
Zeno Rogue
19f12e3068 HUD elements, including the compass, now drawn correctly in all pmodels 2017-11-13 11:08:06 +01:00